copy artifact
This commit is contained in:
parent
ca9777dc7c
commit
37f48d2e97
30
Jenkinsfile2
30
Jenkinsfile2
@ -8,25 +8,23 @@
|
|||||||
)
|
)
|
||||||
|
|
||||||
}
|
}
|
||||||
environment {
|
|
||||||
KAGGLE_USERNAME="$params.KAGGLE_USERNAME"
|
|
||||||
}
|
|
||||||
stages {
|
stages {
|
||||||
stage("Check out from version control") {
|
stage("Check out from version control") {
|
||||||
steps {
|
steps {
|
||||||
checkout scm
|
checkout scm
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
stage("Shell Script") {
|
stage("Shell Script") {
|
||||||
steps {
|
steps {
|
||||||
copyArtifacts(
|
copyArtifacts(
|
||||||
fingerprintArtifacts: true,
|
fingerprintArtifacts: true,
|
||||||
projectName: 's444417-create-dataset',
|
projectName: 's444417-create-dataset',
|
||||||
selector: buildParameter('BUILD_SELECTOR')
|
selector: buildParameter('BUILD_SELECTOR')
|
||||||
)
|
)
|
||||||
sh "chmod u+x ./startscript2.sh"
|
sh "chmod u+x ./startscript2.sh"
|
||||||
sh " ./startscript2.sh"
|
sh " ./startscript2.sh"
|
||||||
archiveArtifacts 'num_lines.txt'
|
archiveArtifacts 'num_lines.txt'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user