~aleteoryx/muditaos

8bf4fb955784cdffdbe548bae5919886a6fc8eb0 — Adam Dobrowolski 4 years ago 14b6fa8
[EGD-7932] Added token export for build

we have to have it for assets download
1 files changed, 9 insertions(+), 0 deletions(-)

M Jenkinsfile
M Jenkinsfile => Jenkinsfile +9 -0
@@ 49,6 49,15 @@ 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
                '''
                echo "Check if branch needs rebasing"
                sh '''#!/bin/bash -e
                pushd ${WORKSPACE}