This commit is contained in:
Jan Nowak 2021-04-10 18:16:12 +02:00
parent 28581651da
commit 604a36888f

5
Jenkinsfile vendored
View File

@ -27,12 +27,11 @@ pipeline {
}
stage('docker') {
agent { dockerfile true }
steps {
withEnv(["KAGGLE_USERNAME=${params.KAGGLE_USERNAME}",
"KAGGLE_KEY=${params.KAGGLE_KEY}"]) {
sh "chmod +x skrypt.sh"
sh "./skrypt.sh ${params.CUTOFF} | tee output.txt"
img = docker.build 'rokoch/ium:01'
img.run('-e KAGGLE_USERNAME=${params.KAGGLE_USERNAME} -e KAGGLE_KEY=${params.KAGGLE_KEY}')
}
}
}