2023-03-26 20:48:33 +02:00
|
|
|
node {
|
2023-03-26 20:53:05 +02:00
|
|
|
|
|
|
|
stage('checkout: Check out from version control') {
|
|
|
|
checkout([$class: 'GitSCM', branches: [[name: '*/master']], extensions: [], userRemoteConfigs: [[credentialsId: 's487197', url: 'https://git.wmi.amu.edu.pl/s487197/ium_487197']]])
|
|
|
|
}
|
2023-04-04 14:59:43 +02:00
|
|
|
stage(Docker build){
|
|
|
|
docker.image('s487197/ium:1').inside {
|
2023-03-26 20:48:33 +02:00
|
|
|
stage('copyArtifact') {
|
|
|
|
copyArtifacts fingerprintArtifacts: true, projectName: 's487197-create-dataset', selector: lastSuccessful()
|
|
|
|
}
|
|
|
|
stage('Shell Script') {
|
|
|
|
sh 'chmod u+x ./stats.sh'
|
|
|
|
sh './stats.sh'
|
|
|
|
}
|
2023-04-04 14:59:43 +02:00
|
|
|
|
|
|
|
}
|
2023-03-26 20:48:33 +02:00
|
|
|
stage('archiveArtifacts') {
|
|
|
|
archiveArtifacts artifacts: 'stats.txt'
|
|
|
|
}
|
|
|
|
}
|