Reuse existing Jenkins credential and trust isolated build checkout
This commit is contained in:
+3
-2
@@ -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).
|
||||
|
||||
Reference in New Issue
Block a user