From 05c9550185c2aef2f66c535d5e51b53f048c061a Mon Sep 17 00:00:00 2001 From: "Achim H." Date: Wed, 6 May 2026 14:45:45 +0200 Subject: [PATCH] changed Dockerfile double to single quotes --- Jenkinsfile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index b059e3d..8c942ac 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -75,7 +75,7 @@ pipeline { } } } - + stage('Set Build Name') { steps { script { @@ -92,7 +92,7 @@ pipeline { withCredentials([usernamePassword(credentialsId: 'gitea-registry-token', usernameVariable: 'GITEA_USER', passwordVariable: 'GITEA_TOKEN')]) { - sh """ + sh ''' # Erstellt die Docker-Konfiguration für Kaniko # Das $(echo ...) Kommando kombiniert User und Token für den Login echo "{\\"auths\\":{\\"130.61.26.230:30080\\":{\\"auth\\":\\"\$(echo -n \${GITEA_USER}:\${GITEA_TOKEN} | base64)\\"}}}" > /kaniko/.docker/config.json @@ -103,7 +103,7 @@ pipeline { --dockerfile `pwd`/Dockerfile \ --destination 130.61.26.230:30080/dev-master/secdevops-csharp-app:latest \ --destination 130.61.26.230:30080/dev-master/secdevops-csharp-app:${BUILD_NUMBER} - """ + ''' } } }