fix bug
Some checks reported errors
s444417-training/pipeline/head Something is wrong with the build of this commit

This commit is contained in:
s444417 2022-04-25 20:00:03 +02:00
parent 75a9e9c98c
commit 235996b9c1
2 changed files with 2 additions and 9 deletions

9
Jenkinsfile vendored
View File

@ -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

View File

@ -1,5 +1,5 @@
pipeline { pipeline {
agent none agent any
stages { stages {
stage("start docker") { stage("start docker") {
agent { agent {