ium_z487186/Jenkinsfile2
Natalia Szymczyk 1fba1089d0 fixxx
2023-04-21 13:11:48 +02:00

28 lines
515 B
Plaintext

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