Fix: Allow deploy job for unmerged changes 86/72786/2 v0.90.4
authorVratko Polak <vrpolak@cisco.com>
Wed, 3 Apr 2024 17:03:27 +0000 (19:03 +0200)
committerVratko Polak <vrpolak@cisco.com>
Wed, 3 Apr 2024 17:03:27 +0000 (19:03 +0200)
This will allow the deploy job to be used
as part of verification process before merge.

Issue: RELENG-5184
Change-Id: Ie7e06f7301e4f90ff8eb0b1c3dae6eb94d57dbb4
Signed-off-by: Vratko Polak <vrpolak@cisco.com>
jjb/lf-ci-jobs.yaml

index ac5d424..c15af0a 100644 (file)
     scm:
       - lf-infra-gerrit-scm:
           git-url: "{git-url}"
-          refspec: "refs/heads/{branch}"
+          refspec: "$GERRIT_REFSPEC"
           branch: "{branch}"
           submodule-recursive: true
           submodule-timeout: "{submodule-timeout}"
           submodule-disable: "{submodule-disable}"
-          choosing-strategy: default
+          choosing-strategy: gerrit
           jenkins-ssh-credential: "{jenkins-ssh-credential}"
 
     triggers: