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') { stage('docker') {
agent { dockerfile true }
steps { steps {
withEnv(["KAGGLE_USERNAME=${params.KAGGLE_USERNAME}", withEnv(["KAGGLE_USERNAME=${params.KAGGLE_USERNAME}",
"KAGGLE_KEY=${params.KAGGLE_KEY}"]) { "KAGGLE_KEY=${params.KAGGLE_KEY}"]) {
sh 'ls -l' script {
sh 'chmod +x skrypt.sh' def img = docker.build('rokoch/ium:01')
sh './skrypt.sh 0' img.inside('-e KAGGLE_USERNAME=${params.KAGGLE_USERNAME} -e KAGGLE_KEY=${params.KAGGLE_KEY}') {}
}
} }
} }
} }