diff --git a/Jenkinsfile b/Jenkinsfile index 5de8e0f..50d0028 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -8,10 +8,10 @@ pipeline { stage('build and tag image') { steps { container('base') { - sh '''wget -O s2i.tar.gz https://github.com/openshift/source-to-image/releases/download/v1.1.13/source-to-image-v1.1.13-b54d75d3-linux-amd64.tar.gz - rm -f s2i - tar -xvf s2i.tar.gz - cp ./s2i /usr/local/bin''' + sh '''cd .. && + wget -O s2i.tar.gz https://github.com/openshift/source-to-image/releases/download/v1.1.13/source-to-image-v1.1.13-b54d75d3-linux-amd64.tar.gz \ + && tar -xvf s2i.tar.gz \ + && cp ./s2i /usr/local/bin''' sh './test.sh' }