Reuse existing Jenkins credential and trust isolated build checkout
This commit is contained in:
@@ -23,7 +23,7 @@ mkdir -p out
|
||||
}
|
||||
stage('Retrieve exact Actions bundle') {
|
||||
steps {
|
||||
withCredentials([string(credentialsId: 'final-project-gitea-read', variable: 'GITEA_TOKEN')]) {
|
||||
withCredentials([string(credentialsId: 'gitea-jenkins-ci', variable: 'GITEA_TOKEN')]) {
|
||||
sh '''set +x
|
||||
set -eu
|
||||
python3 ci/final_project.py fetch --sha "$SOURCE_SHA" --run-id "$ACTIONS_RUN_ID" --attempt "$ACTIONS_ATTEMPT" --mode "$MODE" --output out/review-bundle.zip > out/actions-run.json
|
||||
|
||||
Reference in New Issue
Block a user