Reuse existing Jenkins credential and trust isolated build checkout
myfileagent-python-ci/pipeline/head This commit looks good
Final project review (fixture) / review (push) Successful in 49s

This commit is contained in:
Codex
2026-11-25 20:07:44 +00:00
parent bed90200d2
commit 5dc81e0b57
4 changed files with 34 additions and 3 deletions
+3 -2
View File
@@ -22,8 +22,9 @@ Jenkins setup (requires an authenticated administrator):
2. Pipeline from SCM: Git, existing public repository URL, branch
*/feature/final-ci-demo, Script Path Jenkinsfile.final-project.
3. Keep the existing myfileagent-python-ci required check unchanged.
4. Create a Secret text credential final-project-gitea-read containing an
appropriately scoped Gitea read token. Do not store it in Git or chat.
4. Reuse existing Jenkins credential gitea-jenkins-ci. Its installed
PersonalAccessTokenImpl implements StringCredentials and supports the
string binding used here; no credential value was read during setup.
5. Run once to load parameters; then Build with Parameters using the exact
successful run SHA/ID/attempt. If branch HEAD has advanced, select the
corresponding new successful run (pipeline refuses a checkout mismatch).