Restrict Files Release Automation Job Runs Against 45/54345/1
authorTrevor Bramwell <tbramwell@linuxfoundation.org>
Thu, 22 Mar 2018 21:07:50 +0000 (14:07 -0700)
committerTrevor Bramwell <tbramwell@linuxfoundation.org>
Thu, 22 Mar 2018 21:07:50 +0000 (14:07 -0700)
The merge job should only run when changes to the release yaml files are
made.

Change-Id: I12d37e465c664b48d4f07223f377a4ff7494ead7
Signed-off-by: Trevor Bramwell <tbramwell@linuxfoundation.org>
jjb/releng/releng-release-jobs.yml

index b581b16..e31320b 100644 (file)
@@ -90,7 +90,7 @@
       - gerrit-trigger-change-merged:
           project: '{project}'
           branch: 'master'
-          files: 'releases/**'
+          files: 'releases/{stream}/*'
 
     builders:
       - create-virtualenv