Scope Jenkins archive access to the sibling release job

This commit is contained in:
2026-11-26 17:45:29 -06:00
parent 6b333b6e93
commit 48beab4671
2 changed files with 3 additions and 2 deletions

2
Jenkinsfile vendored
View File

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

View File

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