Skip to content

Grails 7 Migration - Rundeck 6.0 Compatibility#40

Merged
fdevans merged 24 commits intomasterfrom
grails7-upgrade
Apr 7, 2026
Merged

Grails 7 Migration - Rundeck 6.0 Compatibility#40
fdevans merged 24 commits intomasterfrom
grails7-upgrade

Conversation

@fdevans
Copy link
Copy Markdown
Contributor

@fdevans fdevans commented Apr 2, 2026

Overview

Updates this plugin for Grails 7 / Rundeck 6.0 compatibility.

Key Changes

  • Upgraded to Java 17
  • Updated to Grails 7 / Groovy 4 / Spring Boot 3
  • Modernized GitHub Actions workflows (Java 17, updated actions, YAML fixes)
  • Standardized Gradle to 8.14.3
  • Fixed deprecated Gradle 8.x APIs (extension property)
  • Updated version to 2.0.12-grails7 format

Documentation

Migration details and handoff documentation: .github/Grails7-Handoff/

Testing

  • All CI workflows passing on grails7-upgrade branch
  • Plugin builds and tests successfully with Java 17
  • Compatible with Rundeck 6.0 (Grails 7)

Notes

  • Version uses temporary -grails7 suffix (will be removed at release)
  • Maintains backward compatibility with Rundeck 5.x

fdevans added 21 commits January 2, 2026 15:11
- Update groupId to com.github.rundeck-plugins
- Update version to X.Y.Z-grails7-upgrade-test
- Update rundeck-core dependency to 6.0.0-SNAPSHOT
- Enhanced diagnostics and error logging
- Fixed test compatibility issues (JUnit 4 vs 5, Java 17)
- Updated for Spring Boot 3 / Java 17
- OSSRH sunset on June 30, 2025, migrated to Central Portal
- Repository: https://central.sonatype.com/repository/maven-snapshots/
- Uses includeGroup('org.rundeck') to resolve all org.rundeck modules
- Resolves rundeck-core and its transitive dependencies
- Tested successfully in SSHJ plugin CI build
- Reference: https://central.sonatype.org/publish/publish-portal-upload/#consuming--snapshot-releases-for-your-project
…ortal Snapshots

- Add jitpack.yml to specify Java 17 for JitPack builds
- Bump version to 2.0.7-grails7-upgrade-test
- JitPack will now build with:
  - Java 17 (from jitpack.yml)
  - rundeck-core:6.0.0-SNAPSHOT from Central Portal Snapshots
- Tested successfully with sshj-plugin v0.1.23
…OT resolution

- Required for local builds and JitPack
- Resolves org.rundeck dependencies from Central Portal (OSSRH sunset)
- Previous tag v2.0.7-grails7-upgrade-test was missing Central Portal Snapshots repo
- This version includes all required dependencies for JitPack build
Problem: ZIP internal directory was 'openssh-exec-plugin' but should be 'openssh-node-execution'
- Rundeck plugin loader expects directory name to match plugin name
- This was causing plugin loading failures in CI/CD tests

Fix:
- Changed archivesBaseName from 'openssh-exec-plugin' to 'openssh-node-execution'
- Added explicit artifactId to Maven publication for consistency

Impact: Plugin ZIP now has correct internal structure for Rundeck to load
- Force JitPack rebuild with corrected ZIP structure
- Previous versions had incorrect internal directory name
…gins

- Changed groupId: com.github.rundeck-plugins → com.rundeck.plugins
- Added Axion plugin with prefix='' (no 'v' prefix)
- Removed hardcoded version (2.0.9-grails7-upgrade-test)
- Fixed pluginZip to use project.version.toString() for lazy evaluation
- Updated publishing configuration with PackageCloud
- Set pom.packaging='jar' and artifact extension='jar'
- Version now managed dynamically from git tags

See: .temp/PLUGIN_TAGGING_ARCHITECTURE.md and PACKAGECLOUD_MIGRATION_PLAN.md
The gh release create command already uploads the asset, so the
subsequent upload-release-asset action is redundant and fails because
gh CLI doesn't output upload_url like the deprecated create-release
action did.

Removed duplicate upload step - gh release create handles both creation
and asset upload in one command.
- Update actions/checkout@v2 to v4
- Update actions/setup-java@v1 to v4 with zulu distribution
- Fix ::set-output syntax to use GITHUB_OUTPUT

These changes ensure workflows remain functional after Node.js 20 deprecation in September 2026.
Upgrade Gradle wrapper to match rundeck/rundeckpro (8.14.3) for consistency.
This ensures all plugins use the same build tooling version.
Corrected distribution parameter indentation to align with java-version.
This fixes GitHub Actions validation errors.
Copilot AI review requested due to automatic review settings April 2, 2026 22:29

This comment was marked as resolved.

ronaveva
ronaveva previously approved these changes Apr 7, 2026
Copy link
Copy Markdown

@ronaveva ronaveva left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It looks like the jitpack.yml file is not needed, otherwise it seems ok

Copy link
Copy Markdown

@ronaveva ronaveva left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@fdevans fdevans merged commit e4f9d02 into master Apr 7, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants