2021-03-25 15:39:29 +01:00
|
|
|
pipeline {
|
2021-04-08 19:09:49 +02:00
|
|
|
agent {
|
2021-05-15 15:33:42 +02:00
|
|
|
docker { image 'snowycocoon/ium_434788:3' }
|
2021-04-08 19:09:49 +02:00
|
|
|
}
|
2021-03-25 15:39:29 +01:00
|
|
|
stages {
|
2021-04-08 19:09:49 +02:00
|
|
|
stage('Test') {
|
|
|
|
steps {
|
|
|
|
sh 'cat /etc/issue'
|
|
|
|
}
|
|
|
|
}
|
2021-03-25 15:39:29 +01:00
|
|
|
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-05-13 12:23:15 +02:00
|
|
|
sh 'chmod +x Zadanie_03_dataset_stats.sh'
|
2021-05-13 12:30:59 +02:00
|
|
|
sh './Zadanie_03_dataset_stats.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
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|