<filePaths>
<com.sonyericsson.hudson.plugins.gerrit.trigger.hudsontrigger.data.FilePath>
<compareType>ANT</compareType>
- <pattern>packer/vars/['centos', 'ubuntu1604'].json</pattern>
+ <pattern>packer/vars/**.json</pattern>
</com.sonyericsson.hudson.plugins.gerrit.trigger.hudsontrigger.data.FilePath>
<com.sonyericsson.hudson.plugins.gerrit.trigger.hudsontrigger.data.FilePath>
<compareType>ANT</compareType>
- <pattern>packer/templates/['java-builder', 'mininet'].json</pattern>
+ <pattern>packer/templates/**.json</pattern>
</com.sonyericsson.hudson.plugins.gerrit.trigger.hudsontrigger.data.FilePath>
<com.sonyericsson.hudson.plugins.gerrit.trigger.hudsontrigger.data.FilePath>
<compareType>ANT</compareType>
- <pattern>packer/provision/['java-builder', 'mininet'].sh</pattern>
+ <pattern>packer/provision/**.sh</pattern>
</com.sonyericsson.hudson.plugins.gerrit.trigger.hudsontrigger.data.FilePath>
<com.sonyericsson.hudson.plugins.gerrit.trigger.hudsontrigger.data.FilePath>
<compareType>ANT</compareType>
- file-id: jjbini-sandbox
target: '$HOME/.config/jenkins_jobs/jenkins_jobs.ini'
+- lf_packer_verify_file_paths: &lf_packer_verify_file_paths
+ name: lf-packer-verify-file-paths
+ file-paths:
+ # Common files for all projects
+ - compare-type: ANT
+ pattern: 'packer/vars/**.json'
+ - compare-type: ANT
+ pattern: 'packer/templates/**.json'
+ - compare-type: ANT
+ pattern: 'packer/provision/**.sh'
+ - compare-type: ANT
+ pattern: 'packer/provision/lib/**'
+
- lf_packer_file_paths: &lf_packer_file_paths
name: lf-packer-file-paths
file-paths:
branches:
- branch-compare-type: ANT
branch-pattern: '**/{branch}'
- <<: *lf_packer_file_paths
+ <<: *lf_packer_verify_file_paths
- job-template:
name: '{project-name}-packer-verify'