Update 'Jenkinsfile_create_dataset'

This commit is contained in:
Patryk Gałka 2023-04-19 10:38:44 +02:00
parent ee245e8925
commit 3c4344414d

View File

@ -1,5 +1,7 @@
pipeline {
agent any
agent dockerfile {
filename 'create.dockerfile'
}
//Definijuemy parametry, które będzie można podać podczas wywoływania zadania
parameters{
@ -48,28 +50,13 @@ pipeline {
}
}
}
stage('Docker') {
agent {
dockerfile {
filename 'create.dockerfile'
args '-v $HOME:/script'
}
}
steps {
echo 'building docker'
archiveArtifacts 'file.txt'
}
}
stage('Goodbye!') {
steps {
echo 'Goodbye!'
//Zarchiwizuj wynik
//archiveArtifacts 'output.txt'
archiveArtifacts 'dataset.csv'
archiveArtifacts 'file.txt'
}
}