Disable offline jobs for failing deploy scenarios
[infra/cicd.git] / jjb / cloud-infra / kubernetes-jobs / kubernetes-verify-deploy-test.yaml
index 0262fee534b421031997f070a3e9b6f1e4cc2ac3..223597f02bcfed8a473a88aab0752b0f2a7d09f1 100644 (file)
               kill-phase-on: FAILURE
               abort-all-job: false
               property-file: $WORKSPACE/change.properties
+              enable-condition:
+                !include-raw: '../scripts/k8s-job-enable-condition.gvy'
       - multijob:
           name: "{environment-type} testing on {type} instances"
           condition: SUCCESSFUL
               kill-phase-on: FAILURE
               abort-all-job: false
               property-file: $WORKSPACE/change.properties
+              enable-condition:
+                !include-raw: '../scripts/k8s-job-enable-condition.gvy'
 
     publishers:
       - postbuildscript: