28 lines
659 B
Groovy
28 lines
659 B
Groovy
pipeline {
|
|
agent any
|
|
parameters {
|
|
buildSelector(
|
|
name: 'BUILD_SELECTOR',
|
|
defaultSelector: lastSuccessful(),
|
|
description: 'A build to take the artifacts from'
|
|
)
|
|
}
|
|
stages {
|
|
stage('Copy artifacts') {
|
|
steps {
|
|
script {
|
|
copyArtifacts(
|
|
projectName: 'z-s487179-create-dataset',
|
|
selector: buildParameter('BUILD_SELECTOR')
|
|
)
|
|
}
|
|
}
|
|
}
|
|
stage('Run sh file') {
|
|
steps {
|
|
sh 'ls -l'
|
|
}
|
|
}
|
|
}
|
|
}
|