jenkins-job-builder/tests/builders/fixtures/multibuild.yaml
Fathi Boudra 586baf80db multijob: add support for "ALWAYS" continuation condition
ALWAYS is a valid continuation condition in Multijob plugin

Change-Id: I2e2e488b5172b0a182e2fc1d59313d007da61462
Signed-off-by: Fathi Boudra <fathi.boudra@linaro.org>
2016-04-10 13:56:31 +03:00

34 lines
968 B
YAML

builders:
- multijob:
name: PhaseOne
condition: SUCCESSFUL
projects:
- name: PhaseOneJobA
current-parameters: true
node-label-name: "vm_name"
node-label: "agent-${BUILD_NUMBER}"
git-revision: true
abort-all-job: true
- name: PhaseOneJobB
current-parameters: true
property-file: build.props
- multijob:
name: PhaseTwo
condition: UNSTABLE
projects:
- name: PhaseTwoJobA
current-parameters: true
predefined-parameters: foo=bar
- name: PhaseTwoJobB
current-parameters: false
kill-phase-on: UNSTABLE
enable-condition: "${BUILDNUMBER} % 2 == 1"
restrict-matrix-project: 'JVM_VARIANT == "server"'
- multijob:
name: PhaseThree
condition: ALWAYS
projects:
- name: PhaseThreeJobA
current-parameters: true
kill-phase-on: FAILURE