Commit graph

12 commits

Author SHA1 Message Date
152d638b3f Add complete workspace cleanup before checkout
- Now clears entire workspace except .git directory before checkout
- Ensures absolutely clean state for every build
- Uses safe find command with error suppression
- Guarantees no leftover files from previous builds can interfere
2025-08-14 00:49:33 -05:00
6696ec9ca1 Move cleanup stage to run immediately after checkout
- Cleanup now runs right after checkout, before validation
- Removes conditional 'when' clause so cleanup runs on all branches
- This ensures validation only processes clean original files
- Much more efficient - no more validating hundreds of processed files
2025-08-14 00:46:59 -05:00
9c73a60f89 Fix Jenkins shell compatibility for POSIX sh
- Replace bash [[ ]] with POSIX [ ] syntax
- Use parameter expansion  for prefix checking
- Eliminates "[[: not found" errors in Jenkins logs
- Maintains same functionality with better shell compatibility
2025-08-14 00:45:51 -05:00
f693450455 Add workspace cleanup stage to Jenkins pipeline
- Added 'Clean Workspace' stage to remove all processed_*.lsl files before preprocessing
- Fixed documentation generation to only process original source files
- This will clean up the hundreds of recursive processed files from Jenkins workspace
- Pipeline now starts with a clean slate on each build
2025-08-14 00:42:28 -05:00
6a06a4199c Fix Jenkins preprocessor recursive processing
- Only process original source files, not already-processed ones
- Add .gitignore to exclude processed files and build artifacts
- Prevents exponential explosion of processed_processed_processed... files
2025-08-14 00:40:29 -05:00
4857f4f436 fix shell compatibility and clean up jenkins pipeline 2025-08-12 06:50:33 -05:00
b85cd4cba0 fix jenkins conditional stages using GIT_BRANCH environment variable 2025-08-12 06:46:24 -05:00
c7bb6dae6d add branch debugging to jenkins pipeline 2025-08-12 06:41:45 -05:00
46d4c66dbc fix jenkins branch detection for conditional stages 2025-08-12 06:36:48 -05:00
11a4888566 Make Discord webhook optional to avoid credential errors
- Comment out NOTIFICATION_WEBHOOK credential until configured
- Pipeline should now run without credential errors
- Notifications can be added later when webhook is set up
2025-08-10 09:25:46 -05:00
cae6d16699 Fix Jenkins pipeline workspace paths and cleanWs error
- Remove cleanWs from post section to avoid context errors
- Fix all workspace paths to use current directory (.)
- Pipeline should now run properly on Jenkins agent
2025-08-10 09:24:01 -05:00
0ababdce92 Add Jenkins CI/CD pipeline for LSL automation
- Automatic LSL syntax validation on commits
- Release package generation for main branch
- Documentation updates
- Discord/Slack notifications (optional)
- Secure builds using dedicated agent
2025-08-10 09:21:30 -05:00