27 lines
577 B
Groovy
27 lines
577 B
Groovy
pipeline {
|
|
agent any
|
|
|
|
stages {
|
|
stage('Copy Archive') {
|
|
steps {
|
|
script {
|
|
step ([$class: 'CopyArtifact',
|
|
projectName: 's434788-create-dataset',
|
|
filter: "*.csv",
|
|
target: 'test']);
|
|
}
|
|
}
|
|
}
|
|
stage('sh: Shell Script') {
|
|
steps {
|
|
sh 'chmod +x zad8/zad8.sh'
|
|
sh 'zad8/zad8.sh'
|
|
}
|
|
}
|
|
stage('save_the_final_file') {
|
|
steps {
|
|
archiveArtifacts 'final.txt'
|
|
}
|
|
}
|
|
}
|
|
} |