copy artifact

This commit is contained in:
s444417 2022-03-24 21:55:44 +01:00
parent ca9777dc7c
commit 37f48d2e97

View File

@ -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'
}
}
}
}