copy artifact
This commit is contained in:
parent
976ce3dc4f
commit
2f7285d541
13
Jenkinsfile2
13
Jenkinsfile2
@ -4,10 +4,13 @@
|
|||||||
buildSelector(
|
buildSelector(
|
||||||
defaultSelector: lastSuccessful(),
|
defaultSelector: lastSuccessful(),
|
||||||
name: 's444417-create-dataset',
|
name: 's444417-create-dataset',
|
||||||
description: 'Which build to use for copying artifacts'
|
description: 'Build selector for Copy artifact'
|
||||||
)
|
)
|
||||||
|
|
||||||
}
|
}
|
||||||
|
environment {
|
||||||
|
KAGGLE_USERNAME="$params.KAGGLE_USERNAME"
|
||||||
|
}
|
||||||
stages {
|
stages {
|
||||||
stage("Check out from version control") {
|
stage("Check out from version control") {
|
||||||
steps {
|
steps {
|
||||||
@ -15,6 +18,14 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
stage("Shell Script") {
|
stage("Shell Script") {
|
||||||
|
steps {
|
||||||
|
options {
|
||||||
|
copyArtifacts
|
||||||
|
fingerprintArtifacts: true,
|
||||||
|
name: 's444417-create-dataset',
|
||||||
|
selector: buildParameter('BUILD_SELECTOR')
|
||||||
|
}
|
||||||
|
}
|
||||||
steps {
|
steps {
|
||||||
sh "chmod u+x ./startscript2.sh"
|
sh "chmod u+x ./startscript2.sh"
|
||||||
sh " ./startscript2.sh"
|
sh " ./startscript2.sh"
|
||||||
|
Loading…
Reference in New Issue
Block a user