Skip to content

Commit 04af03a

Browse files
ericsmallingclaude
andcommitted
jenkins: let JENKINS_ADMIN_PASSWORD actually be overridden
docker-compose.yml hardcoded `JENKINS_ADMIN_PASSWORD: admin`, which silently defeated overrides even though jenkins/casc/jenkins.yaml is already wired up to read ${JENKINS_ADMIN_PASSWORD:-admin} and the top-level README documents that users can override the admin password via this var. Switch the compose value to `${JENKINS_ADMIN_PASSWORD:-admin}` so it interpolates from the host shell at compose-time. Default stays `admin`, matching the README and JCasC behavior; setting the var in the host env now actually takes effect. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
1 parent cfb31c8 commit 04af03a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

jenkins/docker-compose.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ services:
3939
COSIGN_PASSWORD: ${COSIGN_PASSWORD:-}
4040
JENKINS_HOME: /tmp/cgjenkins-home
4141
CASC_JENKINS_CONFIG: /tmp/cgjenkins-home/casc
42-
JENKINS_ADMIN_PASSWORD: admin
42+
JENKINS_ADMIN_PASSWORD: ${JENKINS_ADMIN_PASSWORD:-admin}
4343
# The docker CLI's config dir. Each pipeline's Auth stage runs
4444
# `chainctl auth configure-docker` which writes a fresh, short-lived
4545
# token here; subsequent agent docker steps reuse it.

0 commit comments

Comments
 (0)