move docker agent
This commit is contained in:
parent
4fee7153f9
commit
7d97bfe2be
12
Jenkinsfile
vendored
12
Jenkinsfile
vendored
@ -17,19 +17,17 @@ pipeline {
|
|||||||
name: 'KAGGLE_KEY'
|
name: 'KAGGLE_KEY'
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
agent {
|
||||||
|
docker.image.inside('mikolajk/ium:latest') {
|
||||||
|
sh './startscript1.sh'
|
||||||
|
}
|
||||||
|
}
|
||||||
stages {
|
stages {
|
||||||
stage("Check out from version control") {
|
stage("Check out from version control") {
|
||||||
steps {
|
steps {
|
||||||
checkout scm
|
checkout scm
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
stage("start docker") {
|
|
||||||
agent {
|
|
||||||
docker.image.inside('mikolajk/ium:latest') {
|
|
||||||
sh './startscript1.sh'
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
stage("Shell Scripts") {
|
stage("Shell Scripts") {
|
||||||
steps {
|
steps {
|
||||||
// sh "KAGGLE_USERNAME=${params.KAGGLE_USERNAME} KAGGLE_KEY=${params.KAGGLE_KEY} CUTOFF=${CUTOFF} ./startscript1.sh"
|
// sh "KAGGLE_USERNAME=${params.KAGGLE_USERNAME} KAGGLE_KEY=${params.KAGGLE_KEY} CUTOFF=${CUTOFF} ./startscript1.sh"
|
||||||
|
Loading…
Reference in New Issue
Block a user