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