Update 'Jenkinsfile_create_dataset'

This commit is contained in:
Patryk Gałka 2023-04-19 10:51:42 +02:00
parent 7f70cfdafa
commit 6e9cfac70c

View File

@ -1,9 +1,5 @@
pipeline {
agent {
dockerfile {
filename 'create.dockerfile'
}
}
agent any
//Definijuemy parametry, które będzie można podać podczas wywoływania zadania
parameters{
@ -52,6 +48,19 @@ pipeline {
}
}
}
stage('Docker') {
agent {
dockerfile {
filename 'create.dockerfile'
args '-v $HOME:/script'
}
}
steps {
echo 'python version in docker'
sh 'python version'
archiveArtifacts 'file.txt'
}
}
stage('Goodbye!') {
steps {
echo 'Goodbye!'