28 lines
539 B
Plaintext
28 lines
539 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 './script2.sh > output.txt'
|
|
}
|
|
}
|
|
stage('ArchiveArtifacts') {
|
|
steps {
|
|
archiveArtifacts 'output.txt'
|
|
}
|
|
}
|
|
}
|
|
} |