diff --git a/secure-delivery/Jenkinsfile.release.draft b/secure-delivery/Jenkinsfile.release.draft index 130f9b6..e788921 100644 --- a/secure-delivery/Jenkinsfile.release.draft +++ b/secure-delivery/Jenkinsfile.release.draft @@ -5,6 +5,7 @@ pipeline { stages { stage('Checkout reviewed source') { steps { + deleteDir() checkout scm sh '''set -eu # Only source already present in protected main can be released. diff --git a/secure-delivery/WORK_LOG.md b/secure-delivery/WORK_LOG.md index 280f7e9..8786a1d 100644 --- a/secure-delivery/WORK_LOG.md +++ b/secure-delivery/WORK_LOG.md @@ -68,3 +68,8 @@ - Jenkinsfile.release.draft is untested and not enabled. It requires reviewed source on protected main, package publication rights, target registry authentication, scan and deployment validation before operational use. - Prepared Jenkinsfile.registry-read-setup to configure root Docker registry authentication using a separate read-only Jenkins credential over pinned SSH. Draft only; not run. Root Docker configuration will hold authentication material and must be protected and removed after assessment. + +## Registry reader and release guard +- Jenkins assignment8-validation #5 authenticated the Droplet root Docker client with assignment8-registry-read; login succeeded. Docker warned that its root configuration stores credentials without encryption; restrict access and remove after assessment. Actual image pull has not yet been proven. Evidence: https://ci.myfileagent.tech/job/assignment8-validation/5/console . +- Draft release pipeline parsed and Jenkins build #6 stopped at the protected-main ancestry guard for the unmerged feature commit; image publication and deployment stages were skipped. Evidence: https://ci.myfileagent.tech/job/assignment8-validation/6/console . Added a workspace clean before checkout to prevent old reports being archived in future runs; that revision remains untested. +- Build #6 used a reused workspace and its post step archived pre-existing reports; those artifacts are stale and must not be presented as build #6 scan evidence. The draft now deletes the workspace before checkout to prevent recurrence; that correction is not yet verified.