Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/cicada/lib.ts>JobOptions

Write CI/CD pipelines using TypeScript
Go to Latest
interface JobOptions
implements CommonImageOptions
import { type JobOptions } from "https://deno.land/x/cicada@v0.1.49/lib.ts";

The options for a job, including the name, base image, environment variables, secrets, folder cache, and steps.

Properties

optional
dependsOn: Job[]

A list of jobs that must run before the current job can be executed.

optional
onFail: "ignore" | "stop"

What should the pipeline do if the job fails.

  • ignore - ignore the failure and continue the pipeline
  • stop - stop the pipeline