Update 'Jenkinsfile_create_dataset'
This commit is contained in:
parent
7f70cfdafa
commit
6e9cfac70c
@ -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!'
|
||||
|
Loading…
Reference in New Issue
Block a user