28 lines
515 B
Plaintext
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'
|
|
}
|
|
}
|
|
}
|
|
} |