From c922c69e6e221d7673d7b6db27eab40c4bc26c08 Mon Sep 17 00:00:00 2001 From: Daniel Gyulai Date: Sun, 1 Nov 2020 15:04:27 +0100 Subject: [PATCH] Added Credentials for Jenkins pipeline --- Jenkinsfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Jenkinsfile b/Jenkinsfile index f069c75..5b9604d 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -13,7 +13,8 @@ spec: node(POD_LABEL) { stage('Build') { - git 'https://gyulai.cloud/git/bme/covidok-backend.git' + git url: 'https://gyulai.cloud/git/bme/covidok-backend.git', + credentialsId: '1b1c30a0-590d-41d4-b775-bdb90e837bc8' container('kaniko') { stage('Build and publish dev Docker image') { sh '/kaniko/executor -f covidok-backend/CoviDok/Dockerfile -c `pwd` --destination=docker.local/bme/covidok'