X-Git-Url: https://gerrit.nordix.org/gitweb?a=blobdiff_plain;f=jjb%2Fengine%2Fengine-verify-jobs%2Fengine-verify-offline-deploy-test.yaml;h=8ed343ab75b98e4e9d16e4e47024b3c2bac5132b;hb=0861dce3d0e0e6e97edd5fb0d2d0264e7b006944;hp=027657aa8a960f6a1ed392dfe7194eb054708c1f;hpb=182857684a71841aac11050ccd8538780c65c499;p=infra%2Fcicd.git diff --git a/jjb/engine/engine-verify-jobs/engine-verify-offline-deploy-test.yaml b/jjb/engine/engine-verify-jobs/engine-verify-offline-deploy-test.yaml index 027657aa..8ed343ab 100644 --- a/jjb/engine/engine-verify-jobs/engine-verify-offline-deploy-test.yaml +++ b/jjb/engine/engine-verify-jobs/engine-verify-offline-deploy-test.yaml @@ -77,11 +77,11 @@ description: 'Name of heat-environment file to use.' - string: name: STACK_NAME - default: "nordix-cicd-verify-engine-offline-{distro}-$BUILD_NUMBER" + default: "nordix-cicd-verify-engine-online-{distro}-$GERRIT_CHANGE_NUMBER" description: 'Name of the created stack' - string: name: KEYPAIR_NAME - default: "keypair-nordix-cicd-verify-offline-engine-{distro}-$BUILD_NUMBER" + default: "keypair-nordix-cicd-verify-offline-engine-{distro}-$GERRIT_CHANGE_NUMBER" description: 'Name of the created keypair' - string: name: USE_PREBUILT_DEPLOYMENT_IMAGE @@ -154,18 +154,20 @@ node-parameters: true kill-phase-on: FAILURE abort-all-job: false - - conditional-step: - condition-kind: and - condition-operands: - - condition-kind: strings-match - condition-string1: $DELETE_STACK - condition-string2: true - - condition-kind: strings-match - condition-string1: $PROVISIONER_TYPE - condition-string2: heat - on-evaluation-failure: dont-run - steps: - - 'engine-delete-stack-macro' + + publishers: + - postbuildscript: + builders: + - role: SLAVE + build-on: + - SUCCESS + - FAILURE + - ABORTED + - NOT_BUILT + - UNSTABLE + build-steps: + - 'engine-wait-pkg-mgr-macro' + - 'engine-delete-stack-macro' - job-template: name: 'engine-verify-offline-{phase}-{distro}-{cloud}-{type}-{stream}'