zmienne
This commit is contained in:
parent
4260c20ebd
commit
992d34843a
8
Jenkinsfile
vendored
8
Jenkinsfile
vendored
@ -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}') {}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user