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