Build step only on specific branch (OD-2296)
Nikolai Filchenko opened 10 months ago

Is is possible to run some build steps only on specific branch or based on parameters/properties? For example, build contains following steps:

  1. Checkout
  2. Build docker image as OCI layout
  3. Run scanner on built image
  4. Push image to registry

I'd like to have step 4 executed only on master branch without copy-pasting whole build configuration.

issue 1/1
Type
Question
Priority
Normal
Assignee
Labels
No labels
Issue Votes (0)
Watchers (3)
Reference
OD-2296
Please wait...
Connection lost or session expired, reload to recover
Page is in error, reload to recover