move withGerritCredentials to global shared library

refs DE-1524

[canvas-builds-refspec=a53cba34a165ef2a5ca242507a43254b5da0256f]

Change-Id: I243d09a3c55d10d734d13e356507b3010a0023f9
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/310946
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
Reviewed-by: Andrea Cirulli <andrea.cirulli@instructure.com>
Build-Review: Andrea Cirulli <andrea.cirulli@instructure.com>
QA-Review: Aaron Ogata <aogata@instructure.com>
Product-Review: Aaron Ogata <aogata@instructure.com>
This commit is contained in:
Aaron Ogata 2023-02-13 07:36:50 -08:00
parent f3fd38d6f3
commit 653c264955
2 changed files with 2 additions and 2 deletions

View File

@ -48,7 +48,7 @@ pipeline {
timeout(time: 30) {
script {
credentials.withMasterBouncerCredentials {
credentials.withGerritCredentials {
withGerritCredentials {
sh 'build/new-jenkins/linters/run-master-bouncer-all.py'
}
}

View File

@ -105,7 +105,7 @@ pipeline {
stage('Create Gerrit') {
steps {
script {
credentials.withGerritCredentials {
withGerritCredentials {
sh 'build/new-jenkins/push-rspec-parallel-log.sh'
}
}