Skip to content
This repository was archived by the owner on Jul 18, 2025. It is now read-only.

Commit c2c17e6

Browse files
committed
REMOVED class for password
Signed-off-by: Zuhayr Elahi <[email protected]>
1 parent 2b33692 commit c2c17e6

File tree

1 file changed

+4
-8
lines changed

1 file changed

+4
-8
lines changed

Jenkinsfile.baguette

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,5 @@
11
properties([buildDiscarder(logRotator(numToKeepStr: '20'))])
22

3-
hubCred = [
4-
$class: 'UsernamePasswordMultiBinding',
5-
usernameVariable: 'REGISTRY_USERNAME',
6-
passwordVariable: 'REGISTRY_PASSWORD',
7-
credentialsId: 'orcaeng-hub.docker.com',
8-
]
9-
103
pipeline {
114
agent {
125
label 'ubuntu-1804'
@@ -71,7 +64,10 @@ pipeline {
7164
label 'ubuntu-1604-aufs-edge'
7265
}
7366
steps {
74-
withCredentials([hubCred]) {
67+
withCredentials([
68+
usernamePassword(credentialsId: 'orcaeng-hub.docker.com', usernameVariable: 'REGISTRY_USERNAME', passwordVariable: 'REGISTRY_PASSWORD'),
69+
string(credentialsId: 'fossa-api-key', variable: 'FOSSA_API_KEY')
70+
]) {
7571
dir('src/github.com/docker/app') {
7672
checkout scm
7773
ansiColor('xterm') {

0 commit comments

Comments
 (0)