ium_434788/Jenkinsfile_dataset_stats
2021-05-13 12:30:59 +02:00

34 lines
828 B
Plaintext

pipeline {
agent {
docker { image 'snowycocoon/ium_434788:2' }
}
stages {
stage('Test') {
steps {
sh 'cat /etc/issue'
}
}
stage('Copy Archive') {
steps {
script {
step ([$class: 'CopyArtifact',
projectName: 's434788-create-dataset',
selector: buildParameter('BUILD_SELECTOR'),
filter: "*.csv",
target: 'test']);
}
}
}
stage('sh: Shell Script') {
steps {
sh 'chmod +x Zadanie_03_dataset_stats.sh'
sh './Zadanie_03_dataset_stats.sh'
}
}
stage('save_the_final_file') {
steps {
archiveArtifacts 'final.txt'
}
}
}
}