ium_z487186/Jenkinsfile2
2023-04-21 13:03:23 +02:00

28 lines
543 B
Plaintext

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