Release 1.2.0 - Modernize dependencies, add examples, and automate releases#22
Merged
Release 1.2.0 - Modernize dependencies, add examples, and automate releases#22
Conversation
…leases This release modernizes the plugin-bootstrap tool with updated dependencies, bug fixes, comprehensive examples, and automated CI/CD workflows. ## Dependency Updates - Update Groovy from 2.5.14 to 3.0.21 (aligns with current Rundeck) - Update Spock from 1.3 to 2.3-groovy-3.0 - Update picocli from 4.0.0-alpha-2 to 4.7.5 (stable) - Update commons-text from 1.4 to 1.11.0 - Update Gradle from 7.2 to 7.6.4 - Update shadow plugin from 7.1.0 to 7.1.2 - Update axion-release from 1.13.4 to 1.18.2 - Update Rundeck version in templates to 5.7.0-20250101 ## Bug Fixes - Fix duplicate import in notification PluginSpec template - Fix input validation to preserve numbers in plugin names - Improve error handling with proper exit codes and stderr output - Add optional debug mode for troubleshooting ## Features - Add comprehensive examples folder with 14 complete, buildable plugins - 8 Java plugin examples - 5 Script plugin examples - 1 UI plugin example - Add generate-examples.sh script for easy regeneration - Migrate from Travis CI to GitHub Actions - Add automated release workflow for tagged commits - Add workflow documentation ## Documentation - Comprehensive README rewrite with better structure - Add CHANGELOG.md for version history - Add examples/README.md documenting all examples - Add .github/workflows/README.md for maintainers - Add release process documentation Co-authored-by: Cursor <cursoragent@cursor.com>
Addresses all 22 CoPilot comments from PR review: **Critical Fixes:** - Fix Java package names with hyphens in build.gradle (orchestrator, option, logfilter) - Update dependency versions in templates (Rundeck 5.7.0, Groovy 3.0.21, Spock 2.2) - Remove duplicate imports in orchestrator Plugin.java - Fix security issue: Remove `env | grep RD_CONFIG` from script templates (exposes secrets) - Fix security issue: Don't log full API response in notification plugin (contains API keys) - Make StandardOptionValue inner class static in option plugin **Minor Fixes:** - Fix typos: "YOu" → "You" (2 files) - Fix typos: "Coping" → "Copying" (2 files) - Fix typo: "dependecies" → "dependencies" (comments) - Add security warnings about remote Gradle script execution (6 files) All examples regenerated with fixed templates. Co-authored-by: Cursor <cursoragent@cursor.com>
PR #19 tried to pin to gradle-5.6 branch, but analysis shows: - gradle-5.6 branch: Last updated April 2021 (unmaintained) - master branch: Last updated October 2025 (actively maintained) Master branch has modern features: - Reproducible builds for security - Modern Gradle syntax - Active maintenance Decision: Keep master with security warning comments (already added) This supersedes PR #19 which should be closed as outdated. Co-authored-by: Cursor <cursoragent@cursor.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
This release modernizes the plugin-bootstrap tool with updated dependencies, bug fixes, comprehensive examples, and automated CI/CD workflows.
Dependency Updates
Bug Fixes
import spock.lang.Specificationin notification PluginSpec template-Ddebug)New Features
./generate-examples.sh) to easily recreate all examplesDocumentation
CHANGELOG.mdfor version historyexamples/README.mddocumenting all example plugins.github/workflows/README.mdfor workflow documentationRemoved
Test Plan
./gradlew build./gradlew testImpact
For Users:
For Maintainers:
Files Changed
Breaking Changes
None. Generated plugins remain compatible with Rundeck 3.x, 4.x, and 5.x.
Release Notes
See CHANGELOG.md for detailed release notes.
After merge: Create release by tagging:
git tag -a v1.2.0 -m "Release version 1.2.0" && git push origin v1.2.0Made with Cursor