This commit is contained in:
Jan Nowak 2021-04-10 20:53:06 +02:00
parent 4260c20ebd
commit 992d34843a

8
Jenkinsfile vendored
View File

@ -27,13 +27,13 @@ pipeline {
}
stage('docker') {
agent { dockerfile true }
steps {
withEnv(["KAGGLE_USERNAME=${params.KAGGLE_USERNAME}",
"KAGGLE_KEY=${params.KAGGLE_KEY}"]) {
sh 'ls -l'
sh 'chmod +x skrypt.sh'
sh './skrypt.sh 0'
script {
def img = docker.build('rokoch/ium:01')
img.inside('-e KAGGLE_USERNAME=${params.KAGGLE_USERNAME} -e KAGGLE_KEY=${params.KAGGLE_KEY}') {}
}
}
}
}