33 lines
598 B
Plaintext
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'
|
|
}
|
|
}
|
|
}
|
|
} |