Skip to content

Commit 4bdf44b

Browse files
authored
remove withappci credential (#4293)
1 parent 06163e6 commit 4bdf44b

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

jobs/build/build-microshift-bootc/Jenkinsfile

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -104,13 +104,11 @@ node() {
104104
string(credentialsId: 's3-art-srv-enterprise-cloudflare-endpoint', variable: 'CLOUDFLARE_ENDPOINT'),
105105
]) {
106106
echo "Will run ${cmd}"
107-
buildlib.withAppCiAsArtPublish() {
108-
if (params.IGNORE_LOCKS) {
107+
if (params.IGNORE_LOCKS) {
108+
commonlib.shell(script: cmd.join(' '))
109+
} else {
110+
lock("build-microshift-bootc-lock-${params.BUILD_VERSION}") {
109111
commonlib.shell(script: cmd.join(' '))
110-
} else {
111-
lock("build-microshift-bootc-lock-${params.BUILD_VERSION}") {
112-
commonlib.shell(script: cmd.join(' '))
113-
}
114112
}
115113
}
116114
}

0 commit comments

Comments
 (0)