2022-03-27 22:26:48 +02:00
|
|
|
pipeline {
|
|
|
|
agent any
|
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 {
|
|
|
|
archiveArtifacts 'data.csv.shuf.uptd'
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|