zmienne
This commit is contained in:
parent
28581651da
commit
604a36888f
5
Jenkinsfile
vendored
5
Jenkinsfile
vendored
@ -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}')
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user