Pārlūkot izejas kodu

Merge pull request #411 from thaJeztah/19.03_backport_fix_dco_branch

[19.03 backport] Jenkinsfile: set repo and branch for DCO check as well
Tibor Vass 5 gadi atpakaļ
vecāks
revīzija
645f559352
1 mainītis faili ar 3 papildinājumiem un 1 dzēšanām
  1. 3 1
      Jenkinsfile

+ 3 - 1
Jenkinsfile

@@ -47,7 +47,9 @@ pipeline {
                 sh '''
                 docker run --rm \
                   -v "$WORKSPACE:/workspace" \
-                  alpine sh -c 'apk add --no-cache -q git bash && cd /workspace && hack/validate/dco'
+                  -e VALIDATE_REPO=${GIT_URL} \
+                  -e VALIDATE_BRANCH=${CHANGE_TARGET} \
+                  alpine sh -c 'apk add --no-cache -q bash git openssh-client && cd /workspace && hack/validate/dco'
                 '''
             }
         }