fix bug
Some checks reported errors
s444417-training/pipeline/head Something is wrong with the build of this commit
Some checks reported errors
s444417-training/pipeline/head Something is wrong with the build of this commit
This commit is contained in:
parent
75a9e9c98c
commit
235996b9c1
9
Jenkinsfile
vendored
9
Jenkinsfile
vendored
@ -1,5 +1,4 @@
|
|||||||
pipeline {
|
pipeline {
|
||||||
agent none
|
|
||||||
parameters{
|
parameters{
|
||||||
string(
|
string(
|
||||||
defaultValue: 'mikolaj2',
|
defaultValue: 'mikolaj2',
|
||||||
@ -17,14 +16,8 @@ pipeline {
|
|||||||
name: 'KAGGLE_KEY'
|
name: 'KAGGLE_KEY'
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
agent { dockerfile true }
|
||||||
stages {
|
stages {
|
||||||
stage("start docker") {
|
|
||||||
agent {
|
|
||||||
docker.image('mikolajk/ium:latest').inside {
|
|
||||||
sh './startscript1.sh'
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
stage("Check out from version control") {
|
stage("Check out from version control") {
|
||||||
steps {
|
steps {
|
||||||
checkout scm
|
checkout scm
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
pipeline {
|
pipeline {
|
||||||
agent none
|
agent any
|
||||||
stages {
|
stages {
|
||||||
stage("start docker") {
|
stage("start docker") {
|
||||||
agent {
|
agent {
|
||||||
|
Loading…
Reference in New Issue
Block a user