This commit is contained in:
Gregory Hendrickson
2023-06-09 14:43:58 -07:00
parent 3b546123f5
commit 59a784f8eb

8
Jenkinsfile vendored
View File

@@ -1,8 +1,8 @@
pipeline { pipeline {
agent any agent any
environment { environment {
DOCKERHUB_CREDENTIALS=credentials('dockerhub-cred') DOCKERHUB_CREDENTIALS = credentials('dockerhub-cred')
SSH_CREDENTIALS=credentials('SSH-CREDENTIALS') SSH_CREDENTIALS = credentials('SSH-CREDENTIALS')
} }
stages { stages {
@@ -38,15 +38,15 @@ pipeline {
docker rm docker-test-image docker rm docker-test-image
docker run -d --name docker-test-image aisthanestha/docker-test-image:latest docker run -d --name docker-test-image aisthanestha/docker-test-image:latest
''' '''
}
} }
} }
} }
} }
}
post { post {
always { always {
sh 'docker logout' sh 'docker logout'
} }
} }
} }