fix(ci): archive artifacts in pkg folder
This allows jenkins.copyArts() to work with meta-jobs. Required for: https://github.com/status-im/desktop-qa-automation/pull/270 Signed-off-by: Jakub Sokołowski <jakub@status.im>
This commit is contained in:
parent
94953bb925
commit
d2439cdf15
|
@ -18,6 +18,8 @@ pipeline {
|
||||||
daysToKeepStr: '30',
|
daysToKeepStr: '30',
|
||||||
artifactNumToKeepStr: '10',
|
artifactNumToKeepStr: '10',
|
||||||
))
|
))
|
||||||
|
/* Allows combined build to copy */
|
||||||
|
copyArtifactPermission('/status-desktop/*')
|
||||||
}
|
}
|
||||||
|
|
||||||
parameters {
|
parameters {
|
||||||
|
@ -74,14 +76,16 @@ pipeline {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
post {
|
post {
|
||||||
always { script { dir('pkg') {
|
always { script {
|
||||||
/* Generate sha256 checksums for all artifacts. */
|
dir('pkg') {
|
||||||
sha = "./${utils.pkgFilename(ext: 'sha256')}"
|
/* Generate sha256 checksums for all artifacts. */
|
||||||
sh "sha256sum * | tee ../${sha}"
|
sha = "./${utils.pkgFilename(ext: 'sha256')}"
|
||||||
archiveArtifacts('*')
|
sh "sha256sum * | tee ./${sha}"
|
||||||
urls['SHA'] = s3.uploadArtifact(sha)
|
urls['SHA'] = s3.uploadArtifact(sha)
|
||||||
jenkins.setBuildDesc(urls)
|
jenkins.setBuildDesc(urls)
|
||||||
} } }
|
}
|
||||||
|
archiveArtifacts('pkg/*')
|
||||||
|
} }
|
||||||
failure { script {
|
failure { script {
|
||||||
withCredentials([
|
withCredentials([
|
||||||
string(
|
string(
|
||||||
|
|
Loading…
Reference in New Issue