+ builders:
+ - description-setter:
+ description: "POD: $NODE_NAME"
+ - conditional-step:
+ condition-kind: regex-match
+ regex: 'compass-.*'
+ label: '{deploy_type}'
+ steps:
+ - shell:
+ !include-raw-escape: ./iec-compass-build.sh
+ - shell:
+ !include-raw-escape: ./iec-compass-deploy.sh
+ - shell:
+ !include-raw-escape: ./iec-fdn-install.sh
+ - shell:
+ !include-raw-escape: ./iec-compass-destroy.sh
+ - conditional-step:
+ condition-kind: regex-match
+ regex: 'fuel-.*'
+ label: '{deploy_type}'
+ steps:
+ - shell:
+ !include-raw-escape: ./iec-fuel-deploy.sh
+
+ publishers:
+ - email:
+ recipients: armband@enea.com
+ - lf-infra-publish
+
+- job-template:
+ name: 'iec-install-{usecase}-{deploy_type}-daily-{stream}'
+ concurrent: true
+ node: '{slave-label}'
+ properties:
+ - throttle:
+ enabled: true
+ max-total: 4
+ max-per-node: 1
+ option: 'project'
+ - build-blocker:
+ use-build-blocker: true
+ blocking-jobs:
+ - '.*-deploy-{deploy_type}-daily-*'
+ - '.*-install-{usecase}-{deploy_type}-daily-*'
+ blocking-level: 'NODE'
+
+ parameters:
+ - lf-infra-parameters:
+ project: '{project}'
+ stream: '{stream}'
+ branch: '{branch}'
+ - '{project}-defaults'
+ - '{usecase}-defaults'
+
+ wrappers:
+ - build-name:
+ name: '$BUILD_NUMBER - Usecase: ${usecase} DeployType: ${deploy_type}'
+
+ scm: *scm
+