copy artifact

This commit is contained in:
s444417 2022-03-24 21:54:06 +01:00
parent 500e8cd2b0
commit ca9777dc7c

View File

@ -17,19 +17,16 @@
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"
steps { sh " ./startscript2.sh"
sh "chmod u+x ./startscript2.sh" archiveArtifacts 'num_lines.txt'
sh " ./startscript2.sh"
archiveArtifacts 'num_lines.txt'
}
} }
} }
} }