Skip to main content
Module

x/cicada/mod.ts>JobOptions

Write CI/CD pipelines using TypeScript
Latest
interface JobOptions
implements CommonImageOptions
import { type JobOptions } from "https://deno.land/x/cicada@v0.1.50/mod.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