2021-03-25 15:39:29 +01:00
|
|
|
pipeline {
|
|
|
|
agent any
|
|
|
|
|
|
|
|
stages {
|
|
|
|
stage('Copy Archive') {
|
|
|
|
steps {
|
|
|
|
script {
|
|
|
|
step ([$class: 'CopyArtifact',
|
|
|
|
projectName: 's434788-create-dataset',
|
2021-03-28 22:34:20 +02:00
|
|
|
selector: buildParameter('BUILD_SELECTOR'),
|
2021-03-25 15:39:29 +01:00
|
|
|
filter: "*.csv",
|
|
|
|
target: 'test']);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2021-03-26 17:26:23 +01:00
|
|
|
stage('sh: Shell Script') {
|
|
|
|
steps {
|
2021-03-26 17:32:20 +01:00
|
|
|
sh 'chmod +x zad8/zad8.sh'
|
|
|
|
sh 'zad8/zad8.sh'
|
2021-03-26 17:26:23 +01:00
|
|
|
}
|
|
|
|
}
|
2021-03-26 17:44:17 +01:00
|
|
|
stage('save_the_final_file') {
|
2021-03-25 15:39:29 +01:00
|
|
|
steps {
|
2021-03-26 17:37:31 +01:00
|
|
|
archiveArtifacts 'final.txt'
|
2021-03-25 15:39:29 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|