diff --git a/.github/workflows/plugin_update.yml b/.github/workflows/plugin_update.yml index 63b80c8d..ce71d839 100644 --- a/.github/workflows/plugin_update.yml +++ b/.github/workflows/plugin_update.yml @@ -74,3 +74,12 @@ jobs: # Create pull request using gh command gh pr create --title "chore(jenkins): Updates Jenkins plugins" --body "This pull request updates the Jenkins plugins listed in \`plugins.txt\`." --base "$BASE_BRANCH" --head "$BRANCH_NAME" fi + + - name: Capture Jenkins logs on failure + if: failure() + run: | + echo "=== Container status ===" + docker ps -a + echo "=== Jenkins controller logs ===" + CTRL=$(docker ps -a --format "{{.Names}}" | grep -m1 controller || true) + [ -n "$CTRL" ] && docker logs "$CTRL" 2>&1 | tail -200 || echo "No controller container found" diff --git a/.github/workflows/release-drafter.yml b/.github/workflows/release-drafter.yml index 8f2afe74..85b78221 100644 --- a/.github/workflows/release-drafter.yml +++ b/.github/workflows/release-drafter.yml @@ -1,17 +1,7 @@ name: Release Drafter on: - push: - # branches to consider in the event; optional, defaults to all - branches: - - main - # pull_request event is required only for autolabeler - pull_request: - # Only following types are handled by the action, but one can default to all as well - types: [opened, reopened, synchronize] - # pull_request_target event is required for autolabeler to support PRs from forks - # pull_request_target: - # types: [opened, reopened, synchronize] + workflow_dispatch: permissions: contents: read diff --git a/dockerfiles/jenkins.yaml b/dockerfiles/jenkins.yaml index d73eef81..c5b68928 100644 --- a/dockerfiles/jenkins.yaml +++ b/dockerfiles/jenkins.yaml @@ -13,8 +13,7 @@ jenkins: password: "admin" authorizationStrategy: loggedInUsersCanDoAnything crumbIssuer: - standard: - excludeClientIPFromCrumb: false + standard: {} nodes: - permanent: labelString: "docker jenkins agent"