ium_z487186/Jenkinsfile2
Natalia Szymczyk de37b2b416 ls
2023-04-21 16:11:09 +02:00

33 lines
598 B
Plaintext

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