Merge "Correct verify job branch selection"
authorEric Ball <eball@linuxfoundation.org>
Mon, 18 Mar 2019 19:23:28 +0000 (19:23 +0000)
committerGerrit Code Review <gerrit@akraino.org>
Mon, 18 Mar 2019 19:23:28 +0000 (19:23 +0000)
jjb/akraino-templates/akraino-jjb-templates.yaml
jjb/eliot/eliot.yaml
jjb/shell/verify.sh [moved from jjb/shell/eliot-verify.sh with 95% similarity]

index 33035f1..4a6f391 100644 (file)
       - lf-infra-parameters:
           project: '{project}'
           stream: '{stream}'
-          refspec: '{refspec}'
           branch: '{branch}'
           lftools-version: '{lftools-version}'
 
       - lf-infra-gerrit-scm:
           jenkins-ssh-credential: '{jenkins-ssh-credential}'
           git-url: '{git-url}/{project}.git'
-          refspec: '{refspec}'
+          refspec: 'refs/heads/{branch}'
           branch: '{branch}'
           submodule-recursive: '{submodule-recursive}'
           submodule-timeout: '{submodule-timeout}'
                 exclude-no-code-change: 'false'
             - change-merged-event
             - draft-published-event
-            - comment-added-contains-event:
-                comment-contains-value: remerge$
             - comment-added-contains-event:
                 comment-contains-value: 'recheck'
             - comment-added-contains-event:
                   pattern: 'docs/**'
           readable-message: true
 
-
-
     builders:
       - shell: !include-raw-escape:
-          - ../shell/eliot-verify.sh
+          - ../shell/verify.sh
 
     publishers:
       - lf-infra-publish
index c762473..632fe8b 100644 (file)
@@ -3,9 +3,9 @@
     name: eliot-project
     project-name: eliot
     project: eliot
-    stream: master
-    refspec: '$GERRIT_REFSPEC'
-    branch: '$GERRIT_BRANCH'
+    stream:
+      - master:
+          branch: master
     build-node: centos7-builder-2c-1g
     jobs:
       - akraino-project-stream-verify
similarity index 95%
rename from jjb/shell/eliot-verify.sh
rename to jjb/shell/verify.sh
index 1c80a16..eff7d25 100644 (file)
@@ -17,6 +17,6 @@
 set -o errexit
 set -o pipefail
 
-echo "Running eliot verification..."
+echo "Running verify.sh..."
 
 /bin/bash $WORKSPACE/verify.sh