From ab32a205cd8bbddac4034776bb254784fd8de57f Mon Sep 17 00:00:00 2001 From: Milan Petrovic <5rovicmilan8@gmail.com> Date: Wed, 11 Jun 2025 14:18:01 +0200 Subject: [PATCH] testing envs --- Jenkinsfile | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/Jenkinsfile b/Jenkinsfile index 7116edf37..0ea738ceb 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -23,6 +23,24 @@ pipeline { } } + stage('Cred'){ + steps { + withCredentials([usernamePassword( + credentialsId: DOCKERHUB_CREDS, + //usernameVariable: '580b959d-d40a-422f-a3d7-cf11b2ec7a4cUsername' + // passwordVariable: '580b959d-d40a-422f-a3d7-cf11b2ec7a4cUsername' + usernameVariable: 'DOCKER_USER', + // passwordVariable: 'DOCKER_PASS' + )]) { + echo "Logging in to Docker Hub..." + sh "echo ${env.DOCKER_USER}" + // echo "Pushing Docker image to ${imageTag}" + // sh "docker push ${imageTag}" + } + + } + } + stage('Build') { steps { script {