zmienne
This commit is contained in:
parent
86d203e255
commit
6fa027137c
11
Jenkinsfile
vendored
11
Jenkinsfile
vendored
@ -1,5 +1,4 @@
|
||||
pipeline {
|
||||
agent { dockerfile true }
|
||||
parameters {
|
||||
string(
|
||||
defaultValue: '0',
|
||||
@ -27,13 +26,11 @@ 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'
|
||||
}
|
||||
sh 'ls -l'
|
||||
sh 'chmod +x skrypt.sh'
|
||||
sh './skrypt.sh 0'
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user