diff options
| author | Arseney300 <Arseney300@gmail.com> | 2026-02-20 23:01:21 +0700 |
|---|---|---|
| committer | Arseney300 <Arseney300@gmail.com> | 2026-02-20 23:01:21 +0700 |
| commit | 96e6bed785911d317fa206578b08eba1baa06ad3 (patch) | |
| tree | 2a16733381d2744b0cc18fc6b1f4d29248d32ee3 /CLAUDE.md | |
| parent | fc6afe6c6181fcee7741a4a15edf2a6d55185b7d (diff) | |
Add pipeline durability fix and stuck build cleanup script
Mount jenkins/init.groovy.d/ into the container to auto-clean corrupted
flow executions on startup (JENKINS-50407). Document both the prevention
(Performance-optimized durability setting) and recovery (groovy cleanup
script) in the setup guide.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Diffstat (limited to 'CLAUDE.md')
| -rw-r--r-- | CLAUDE.md | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -58,6 +58,8 @@ Bastion is a self-hosted server system on Debian that runs multiple services in - Accessible at `https://jenkins.swave.lol` and `https://swave.lol/jenkins` - Ports: 8080 (web UI), 50000 (agent communication) - Volume: `/var/jenkins_home` +- Pipeline durability: set to "Performance-optimized" to prevent flow execution corruption +- Startup script: `jenkins/init.groovy.d/clear-stuck-builds.groovy` auto-cleans stuck builds on restart ### Nginx (reverse proxy) - Dir: `nginx/` @@ -89,6 +91,7 @@ Each stack has its own Docker network. Nginx joins all of them to reverse proxy: - `doc/Jenkinsfile.kernel-example` — example kernel build pipeline using kernel-builder image - `doc/jenkins-cpp-build.md` — guide for building C++ apps in Jenkins with Docker agent - `jenkins/kernel-builder/Dockerfile` — custom Docker image for building the Linux kernel +- `jenkins/init.groovy.d/clear-stuck-builds.groovy` — startup script to clean stuck pipeline executions - `ghost/.env.example` — template for Ghost env vars - `.gitignore` — excludes `.env` files (secrets) |
