ium_z487186/Jenkinsfile2
Natalia Szymczyk 01f03013e9 script2
2023-04-20 23:25:19 +02:00

26 lines
514 B
Plaintext

pipeline {
agent any
stages {
stage('Checkout') {
steps {
checkout scm
}
}
stage('CopyArtifacts'){
steps {
copyArtifacts fingerprintArtifacts: true, projectName: 'z-s487186-create-dataset', selector: lastSuccessful()
}
}
stage('Script') {
steps {
sh './script2.sh > output.txt'
}
}
stage('ArchiveArtifacts') {
steps {
archiveArtifacts 'output.txt'
}
}
}
}