Skip to content

Add blankIfUnexpanded with true value by default#22

Open
avelasquezr wants to merge 1 commit intorundeck-plugins:masterfrom
avelasquezr:issue/17
Open

Add blankIfUnexpanded with true value by default#22
avelasquezr wants to merge 1 commit intorundeck-plugins:masterfrom
avelasquezr:issue/17

Conversation

@avelasquezr
Copy link

Describe Bug:

Jobs using nixy that were worked on 4.8 stopped working properly on 4.14.x and 4.15.x

My Rundeck detail

Rundeck version: [ 4.8.0 , 4.14 ]

install type: [ deb, war ]

OS Name/version: [ ubuntu 20, ubuntu 22, macOs, windows]

DB Type/version: [ Mariadb, H2 ]

To Reproduce  

Steps to reproduce the behavior:

1- Install rundeck 4.8 and upload the yaml that I leave here.

2- Run that job and you will see that the output is ok

3- Install rundeck 4.14 and do the same

4- You will see that the jobs failed

image

Expected behavior  

We expected that the Nixy plugin works fine on both versions.

Solution

The field blankIfUnexpanded is added as true by default.

image

@fdevans fdevans requested a review from Copilot October 3, 2025 16:34
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

Fixes compatibility issues with the Nixy plugin between Rundeck versions 4.8 and 4.14+ by adding the blankIfUnexpanded: true property to script configuration fields to prevent job failures when unexpanded variables are present.

  • Adds blankIfUnexpanded: true to script configuration properties
  • Ensures backward compatibility for jobs using the Nixy plugin
  • Maintains expected behavior across Rundeck version upgrades

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

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.

1 participant