Skip to content

Commit d5114bc

Browse files
authored
Remove use of Docker Hub (#3926)
1 parent d420afd commit d5114bc

File tree

1 file changed

+1
-8
lines changed

1 file changed

+1
-8
lines changed

Jenkinsfile

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright (c) 2017, 2022, Oracle and/or its affiliates.
1+
// Copyright (c) 2017, 2023, Oracle and/or its affiliates.
22
// Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl.
33
//
44
import groovy.json.JsonSlurper
@@ -131,8 +131,6 @@ pipeline {
131131
environment {
132132
github_url = "${env.GIT_URL}"
133133
github_creds = 'ecnj_github'
134-
dockerhub_username_creds = 'docker-username'
135-
dockerhub_password_creds = 'docker-password'
136134
ocr_username_creds = 'OCR username'
137135
ocr_password_creds = 'OCR Password'
138136
ocir_registry_creds = 'ocir-server'
@@ -384,12 +382,7 @@ pipeline {
384382
}
385383

386384
stage('Build WebLogic Kubernetes Operator') {
387-
environment {
388-
DOCKERHUB_USERNAME = credentials("${dockerhub_username_creds}")
389-
DOCKERHUB_PASSWORD = credentials("${dockerhub_password_creds}")
390-
}
391385
steps {
392-
sh 'echo ${DOCKERHUB_PASSWORD} | docker login -u ${DOCKERHUB_USERNAME} --password-stdin'
393386
sh "mvn -DtrimStackTrace=false clean install"
394387
}
395388
}

0 commit comments

Comments
 (0)