342
342
parallelism: {parallelism}
347
name: 'autopilot-autolanding'
348
# Make this paramatised perhaps
350
- 'autopilot-autoland'
351
- 'trigger-autopilot-autoland'
355
name: 'autopilot-autoland'
356
node: 'jenkins-slave-2'
357
# This token is the string that was setup for the launchpad bot.
361
name: 'landing_candidate'
362
description: 'The launchpad branch to process'
364
name: 'candidate_revision'
365
description: 'The revision of the branch'
367
name: 'merge_proposal'
368
description: 'The merge proposal to process'
370
- trigger-deb-builders:
371
landing_candidate: {landing_candidate}
372
target_branch: 'lp:autopilot'
373
hooks: 'H05set_package_version H10strip_native_depends'
375
- 'trigger-generic-land-mp'
377
- 'trigger-generic-land-mp-failed'
380
name: 'trigger-generic-land-mp'
386
predefined-parameters: |
389
ci_branch=$landing_candidate
390
ci_merge_proposal=$merge_proposal
391
ci_revision=$candidate_revision
393
build-step-failure-threshold: 'never'
394
unstable-threshold: 'never'
395
failure-threshold: 'never'
398
name: 'trigger-generic-land-mp-failed'
400
- trigger-parameterized-builds:
403
condition: 'UNSTABLE_OR_WORSE'
404
predefined-parameters: |
407
ci_branch=$landing_candidate
408
ci_merge_proposal=$merge_proposal
409
ci_revision=$candidate_revision
412
name: 'trigger-autopilot-autoland'
413
node: 'jenkins-slave-2'
415
- timed: 'H/5 * * * *'
418
BRANCH_NAME=lp:autopilot
419
TARGET_JOB=autopilot-autoland
421
launchpadTrigger --lock-name=$JOB_NAME --job=$TARGET_JOB --branch=$BRANCH_NAME --autoland
424
name: 'generic-land-mp'
425
node: 'jenkins-slave-2'
429
description: 'The result of the CI build'
432
description: 'The jenkins URL of the build'
435
description: 'The launchpad branch that was processed'
437
name: 'ci_merge_proposal'
438
description: 'The launchpad merge proposal that was processed'
441
description: 'The revision of the processed branch'
444
autoland --test-result="$ci_result" --build-job-url="$ci_build" --merge-proposal="$ci_merge_proposal" --revision="$ci_revision"