r reuse node
Some checks failed
s444417-training/pipeline/head There was a failure building this commit

This commit is contained in:
s444417 2022-05-03 17:51:01 +02:00
parent 1f753b3044
commit 44f327d147
2 changed files with 5 additions and 3 deletions

7
Jenkinsfile vendored
View File

@ -1,6 +1,9 @@
pipeline { pipeline {
agent { agent {
docker { image 'mikolajk/ium:latest' } docker {
image 'mikolajk/ium:latest'
reuseNode true
}
} }
parameters{ parameters{
string( string(
@ -31,7 +34,7 @@ pipeline {
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"
// sh 'ls -la' sh 'ls -la'
// sh './startscript1.sh' // sh './startscript1.sh'
archiveArtifacts 'Participants_Data_HPP/**/*.*' archiveArtifacts 'Participants_Data_HPP/**/*.*'
} }

View File

@ -1,7 +1,6 @@
pipeline { pipeline {
agent { agent {
dockerfile true dockerfile true
reuseNode true
} }
stages { stages {
stage('Copy') { stage('Copy') {