This commit is contained in:
Milan Petrovic 2025-06-11 14:22:25 +02:00
parent 6d9a9f86cf
commit da1ed63bde

7
Jenkinsfile vendored
View file

@ -27,16 +27,11 @@ pipeline {
steps { steps {
withCredentials([usernamePassword( withCredentials([usernamePassword(
credentialsId: "580b959d-d40a-422f-a3d7-cf11b2ec7a4c", credentialsId: "580b959d-d40a-422f-a3d7-cf11b2ec7a4c",
//credentialsId: DOCKERHUB_CREDS,
//usernameVariable: '580b959d-d40a-422f-a3d7-cf11b2ec7a4cUsername'
// passwordVariable: '580b959d-d40a-422f-a3d7-cf11b2ec7a4cUsername'
usernameVariable: 'DOCKER_USER', usernameVariable: 'DOCKER_USER',
// passwordVariable: 'DOCKER_PASS' passwordVariable: 'DOCKER_PASS',
)]) { )]) {
echo "Logging in to Docker Hub..." echo "Logging in to Docker Hub..."
sh "echo ${env.DOCKER_USER}" sh "echo ${env.DOCKER_USER}"
// echo "Pushing Docker image to ${imageTag}"
// sh "docker push ${imageTag}"
} }
} }