Scope Jenkins archive access to the sibling release job
This commit is contained in:
2
Jenkinsfile
vendored
2
Jenkinsfile
vendored
@@ -4,7 +4,7 @@ pipeline {
|
|||||||
skipDefaultCheckout()
|
skipDefaultCheckout()
|
||||||
disableConcurrentBuilds()
|
disableConcurrentBuilds()
|
||||||
buildDiscarder(logRotator(numToKeepStr: '15', artifactNumToKeepStr: '6'))
|
buildDiscarder(logRotator(numToKeepStr: '15', artifactNumToKeepStr: '6'))
|
||||||
copyArtifactPermission('Adaptive-Resource-Monitor/Publish-Release')
|
copyArtifactPermission('Publish-Release')
|
||||||
timeout(time: 35, unit: 'MINUTES')
|
timeout(time: 35, unit: 'MINUTES')
|
||||||
}
|
}
|
||||||
triggers { pollSCM('H/5 * * * *') }
|
triggers { pollSCM('H/5 * * * *') }
|
||||||
|
|||||||
@@ -3,6 +3,7 @@ pipeline {
|
|||||||
options {
|
options {
|
||||||
skipDefaultCheckout()
|
skipDefaultCheckout()
|
||||||
disableConcurrentBuilds()
|
disableConcurrentBuilds()
|
||||||
|
disableRestartFromStage()
|
||||||
buildDiscarder(logRotator(numToKeepStr: '20'))
|
buildDiscarder(logRotator(numToKeepStr: '20'))
|
||||||
timeout(time: 30, unit: 'MINUTES')
|
timeout(time: 30, unit: 'MINUTES')
|
||||||
}
|
}
|
||||||
@@ -41,7 +42,7 @@ pipeline {
|
|||||||
steps {
|
steps {
|
||||||
deleteDir()
|
deleteDir()
|
||||||
checkout scm
|
checkout scm
|
||||||
copyArtifacts projectName: '/Adaptive-Resource-Monitor/Build-and-Archive',
|
copyArtifacts projectName: 'Build-and-Archive',
|
||||||
selector: specific("${env.ARM_PIN_BUILD}"), filter: 'release/candidate/*',
|
selector: specific("${env.ARM_PIN_BUILD}"), filter: 'release/candidate/*',
|
||||||
target: 'release/pinned', flatten: true, fingerprintArtifacts: true
|
target: 'release/pinned', flatten: true, fingerprintArtifacts: true
|
||||||
bat 'py -3.12 -m venv .ci\\python'
|
bat 'py -3.12 -m venv .ci\\python'
|
||||||
|
|||||||
Reference in New Issue
Block a user