Release creds are only required for promoting the repo, which uses diff ACL
as compared to normal user.
Therefore dont use the release creds for the verify jobs and the
scm sections in both the job templates.
Issue: RELENG-2129
Change-Id: Ibb36d11ba57c5e59a63c414b0b338846eefd8983
Signed-off-by: Anil Belur <abelur@linuxfoundation.org>
branch: "$GERRIT_BRANCH"
stream: "$GERRIT_BRANCH"
branch: "$GERRIT_BRANCH"
stream: "$GERRIT_BRANCH"
- wrappers:
- - lf-infra-wrappers:
- build-timeout: "{build-timeout}"
- jenkins-ssh-credential: "{jenkins-ssh-release-credential}"
-
publishers:
- lf-infra-publish
publishers:
- lf-infra-publish
# yamllint disable-line rule:key-duplicates
<<: *lf_release_verify
# yamllint disable-line rule:key-duplicates
<<: *lf_release_verify
+ wrappers:
+ - lf-infra-wrappers:
+ build-timeout: "{build-timeout}"
+ jenkins-ssh-credential: "{jenkins-ssh-credential}"
+
scm:
- lf-infra-gerrit-scm:
git-url: "{git-url}"
scm:
- lf-infra-gerrit-scm:
git-url: "{git-url}"
submodule-recursive: false
submodule-timeout: 10
choosing-strategy: gerrit
submodule-recursive: false
submodule-timeout: 10
choosing-strategy: gerrit
- jenkins-ssh-credential: "{jenkins-ssh-release-credential}"
+ jenkins-ssh-credential: "{jenkins-ssh-credential}"
# yamllint disable-line rule:key-duplicates
<<: *lf_release_merge
# yamllint disable-line rule:key-duplicates
<<: *lf_release_merge
+ wrappers:
+ - lf-infra-wrappers:
+ build-timeout: "{build-timeout}"
+ jenkins-ssh-credential: "{jenkins-ssh-release-credential}"
+
scm:
- lf-infra-gerrit-scm:
scm:
- lf-infra-gerrit-scm:
- jenkins-ssh-credential: "{jenkins-ssh-release-credential}"
+ jenkins-ssh-credential: "{jenkins-ssh-credential}"
git-url: "{git-url}"
refspec: "$GERRIT_REFSPEC"
branch: "$GERRIT_BRANCH"
git-url: "{git-url}"
refspec: "$GERRIT_REFSPEC"
branch: "$GERRIT_BRANCH"
--- /dev/null
+---
+fixes:
+ - |
+ Release creds are only required for promoting the repo, which uses diff ACL
+ as compared to normal user. Therefore dont use the release creds for the
+ verify jobs and the scm sections in both the job templates.