Set autorelease choosing strategy to default 25/61225/1
authorThanh Ha <thanh.ha@linuxfoundation.org>
Sat, 5 Aug 2017 18:00:56 +0000 (14:00 -0400)
committerThanh Ha <thanh.ha@linuxfoundation.org>
Sat, 5 Aug 2017 18:01:01 +0000 (14:01 -0400)
This job is not a Gerrit triggered job so choosing strategy gerrit is
incorrect and causes Jenkins to checkout the wrong branch. In case of
autorelease Carbon builds #416 - #419 it was checking out the master
branch.

Change-Id: I7a5874b461172313397db7c73948800842f9c65c
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
jjb/autorelease/autorelease-templates.yaml

index a91f2fd6c7a922c7d862c46fbd5fdd783a801a75..ee3bb89c275110aaea145ba77d8a8d6294b3941e 100644 (file)
@@ -50,7 +50,7 @@
           refspec: '$GERRIT_REFSPEC'
           branches:
             - '$GERRIT_BRANCH'
-          choosing-strategy: 'gerrit'
+          choosing-strategy: default
           skip-tag: true
           submodule:
             recursive: true