Skip to content

Commit 2618864

Browse files
committed
Remove use of Docker Hub
1 parent a6e72c5 commit 2618864

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
def kind_k8s_map = [
@@ -65,8 +65,6 @@ pipeline {
6565
environment {
6666
github_url = "${env.GIT_URL}"
6767
github_creds = 'ecnj_github'
68-
dockerhub_username_creds = 'docker-username'
69-
dockerhub_password_creds = 'docker-password'
7068
ocr_username_creds = 'OCR username'
7169
ocr_password_creds = 'OCR Password'
7270
ocir_registry_creds = 'ocir-server'
@@ -290,12 +288,7 @@ pipeline {
290288
}
291289

292290
stage('Build WebLogic Kubernetes Operator') {
293-
environment {
294-
DOCKERHUB_USERNAME = credentials("${dockerhub_username_creds}")
295-
DOCKERHUB_PASSWORD = credentials("${dockerhub_password_creds}")
296-
}
297291
steps {
298-
sh 'echo ${DOCKERHUB_PASSWORD} | docker login -u ${DOCKERHUB_USERNAME} --password-stdin'
299292
sh "mvn -DtrimStackTrace=false clean install"
300293
}
301294
}

0 commit comments

Comments
 (0)