2022-03-27 22:26:48 +02:00
|
|
|
pipeline {
|
2022-04-03 21:11:22 +02:00
|
|
|
agent {
|
|
|
|
docker { image 'korneliag/ium478815:1.0' }
|
|
|
|
}
|
2022-03-27 22:38:43 +02:00
|
|
|
|
2022-03-27 22:26:48 +02:00
|
|
|
stages {
|
2022-03-27 22:43:11 +02:00
|
|
|
stage('First') {
|
|
|
|
steps {
|
|
|
|
checkout([$class: 'GitSCM', branches: [[name: '*/master']], extensions: [], userRemoteConfigs: [[url: 'https://git.wmi.amu.edu.pl/s478815/ium_478815.git']]])
|
|
|
|
}
|
|
|
|
}
|
2022-03-27 22:32:11 +02:00
|
|
|
stage('CopyArtifacts') {
|
2022-03-27 22:26:48 +02:00
|
|
|
steps {
|
2022-03-27 22:43:11 +02:00
|
|
|
copyArtifacts fingerprintArtifacts: true, projectName: 's478815-create-dataset', selector: lastSuccessful()
|
2022-03-27 22:35:25 +02:00
|
|
|
sh "chmod +x -R ${env.WORKSPACE}"
|
|
|
|
sh './skrypt_stats.sh'
|
2022-03-27 22:32:11 +02:00
|
|
|
}
|
2022-03-27 22:26:48 +02:00
|
|
|
}
|
|
|
|
stage('Archive') {
|
|
|
|
steps {
|
2022-03-27 22:56:53 +02:00
|
|
|
archiveArtifacts 'output.txt'
|
2022-03-27 22:26:48 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|