infra: Fix the gerrit project name and preserve env for sudo 81/20781/1
authorFatih Degirmenci <fatih.degirmenci@ericsson.com>
Fri, 9 Sep 2016 14:42:26 +0000 (16:42 +0200)
committerFatih Degirmenci <fatih.degirmenci@ericsson.com>
Fri, 9 Sep 2016 14:42:26 +0000 (16:42 +0200)
Change-Id: I9b86f285ac0a3e3f8ea95550f7490ced8d3ca2a3
Signed-off-by: Fatih Degirmenci <fatih.degirmenci@ericsson.com>
jjb/infra/openstack-bifrost-verify-jobs.yml

index 9ae969e..8afe47c 100644 (file)
@@ -80,7 +80,7 @@
                     comment-contains-value: 'recheck'
             projects:
               - project-compare-type: 'PLAIN'
-                project-pattern: '{project}'
+                project-pattern: 'openstack/bifrost'
                 branches:
                   - branch-compare-type: 'ANT'
                     branch-pattern: '**/master'
         - shell: |
             #!/bin/bash
 
-            sudo $WORKSPACE/jjb/infra/openstack-bifrost-verify.sh
+            sudo -E $WORKSPACE/jjb/infra/openstack-bifrost-verify.sh