added docker to jenkinsfiles

This commit is contained in:
Maciej Tyczynski 2023-04-19 23:24:36 +02:00
parent cd440e4668
commit a6c97ca1d5
2 changed files with 15 additions and 2 deletions

12
Jenkinsfile vendored
View File

@ -6,6 +6,11 @@ pipeline {
git branch: 'master', url: 'https://git.wmi.amu.edu.pl/s487176/ium_487176'
}
}
stage('Docker'){
agent {
dockerfile true
}
}
stage('Run script') {
steps {
sh 'sh getdata.sh'
@ -16,5 +21,8 @@ pipeline {
}
}
}
}
}
}
}

View File

@ -12,6 +12,11 @@ pipeline {
git branch: 'master', url: 'https://git.wmi.amu.edu.pl/s487176/ium_487176'
}
}
stage('Docker'){
agent {
dockerfile true
}
}
stage('Copy Artifacts') {
steps {
copyArtifacts(