From 134c949f58f2676c31a90f8b202fe2c8eb0ac753 Mon Sep 17 00:00:00 2001 From: Adam Dobrowolski Date: Wed, 10 Nov 2021 16:17:48 +0100 Subject: [PATCH] [EGD-7932] Added token export for build we have to have it for assets download --- Jenkinsfile | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Jenkinsfile b/Jenkinsfile index 42c6c74579fad0136c611b8720a6ac00c159118b..5794e270d3d9b749c3203c2176de2900fc4342ca 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -49,6 +49,11 @@ pipeline { GITHUB_HEAD_REF="${pullRequest.headRef}" } steps { + withCredentials([string(credentialsId: 'f412733a-851c-4f87-ad24-7da2139a98ca', variable: 'TOKEN')]) { + sh ''' #!/bin/bash -e + git config --add --global user.apitoken ${TOKEN} + ''' + } echo "install additional python dependencies" sh '''#!/bin/bash -e python3 -m pip install ghapi