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