r reuse node
Some checks failed
s444417-training/pipeline/head There was a failure building this commit
Some checks failed
s444417-training/pipeline/head There was a failure building this commit
This commit is contained in:
parent
1f753b3044
commit
44f327d147
7
Jenkinsfile
vendored
7
Jenkinsfile
vendored
@ -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/**/*.*'
|
||||||
}
|
}
|
||||||
|
@ -1,7 +1,6 @@
|
|||||||
pipeline {
|
pipeline {
|
||||||
agent {
|
agent {
|
||||||
dockerfile true
|
dockerfile true
|
||||||
reuseNode true
|
|
||||||
}
|
}
|
||||||
stages {
|
stages {
|
||||||
stage('Copy') {
|
stage('Copy') {
|
||||||
|
Loading…
Reference in New Issue
Block a user