pattern: 'packer\/templates\/{templates}\.json'
- compare-type: REG_EXP
pattern: 'packer\/vars\/{platforms}\.json'
+ - compare-type: REG_EXP
+ pattern: 'packer\/common-packer\/provision\/{templates}\.yaml'
+ - compare-type: REG_EXP
+ pattern: 'packer\/common-packer\/provision\/local-{templates}\.yaml'
+ - compare-type: REG_EXP
+ pattern: 'packer\/common-packer\/templates\/{templates}\.json'
+ - compare-type: REG_EXP
+ pattern: 'packer\/common-packer\/vars\/{platforms}\.json'
- job-template:
name: "{project-name}-packer-merge-{platforms}-{templates}"
- 'packer\/provision\/local-{templates}\.yaml'
- 'packer\/templates\/{templates}\.json'
- 'packer\/vars\/{platforms}\.json'
+ - 'packer\/common-packer\/provision\/{templates}\.yaml'
+ - 'packer\/common-packer\/provision\/local-{templates}\.yaml'
+ - 'packer\/common-packer\/templates\/{templates}\.json'
+ - 'packer\/common-packer\/vars\/{platforms}\.json'
+
white-list-target-branches:
- "{branch}"
pattern: 'packer\/templates\/{templates}\.json'
- compare-type: REG_EXP
pattern: 'packer\/vars\/{platforms}\.json'
+ - compare-type: REG_EXP
+ pattern: 'packer\/common-packer\/provision\/{templates}\.yaml'
+ - compare-type: REG_EXP
+ pattern: 'packer\/common-packer\/provision\/local-{templates}\.yaml'
+ - compare-type: REG_EXP
+ pattern: 'packer\/common-packer\/templates\/{templates}\.json'
+ - compare-type: REG_EXP
+ pattern: 'packer\/common-packer\/vars\/{platforms}\.json'
- job-template:
name: "{project-name}-packer-verify-build-{platforms}-{templates}"
- 'packer\/provision\/local-{templates}\.yaml'
- 'packer\/templates\/{templates}\.json'
- 'packer\/vars\/{platforms}\.json'
+ - 'packer\/common-packer\/vars\/{platforms}\.json'
+ - 'packer\/common-packer\/provision\/{templates}\.yaml'
+ - 'packer\/common-packer\/provision\/local-{templates}\.yaml'
+ - 'packer\/common-packer\/templates\/{templates}\.json'
#################
# Packer Verify #