Skip to content

Commit 1f5ee98

Browse files
author
Manuel Perez Belmonte
committed
issue solved in jenkinsfile
1 parent d8fcc99 commit 1f5ee98

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

Jenkinsfile

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,6 @@ node('docker') {
1919
archiveArtifacts artifacts: 'target/*.jar'
2020

2121
stage "Build image - Package"
22-
# echo ("Building Components")
23-
# def postgresimage = docker.build("elastest/ece-postgres", "./postgres")
24-
2522
echo ("Building ECE Image")
2623
def myimage = docker.build 'elastest/ece'
2724

@@ -30,11 +27,6 @@ node('docker') {
3027

3128
stage "Publish"
3229
echo ("Publishing")
33-
# withCredentials([[$class: 'UsernamePasswordMultiBinding', credentialsId: 'elastestci-dockerhub',
34-
# usernameVariable: 'USERNAME', passwordVariable: 'PASSWORD']]) {
35-
# sh 'docker login -u "$USERNAME" -p "$PASSWORD"'
36-
# postgresimage.push()
37-
# }
3830

3931
withCredentials([[$class: 'UsernamePasswordMultiBinding', credentialsId: 'elastestci-dockerhub',
4032
usernameVariable: 'USERNAME', passwordVariable: 'PASSWORD']]) {

0 commit comments

Comments
 (0)