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