Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Script-based plugin setting for merging parent environment variables #1666

Closed
ahonor opened this issue Feb 8, 2016 · 1 comment
Closed
Assignees
Milestone

Comments

@ahonor
Copy link
Contributor

ahonor commented Feb 8, 2016

The script-based plugin (especially on windows) should have a setting indicating the environment variables from the parent process (aka the rundeck server process) can be inherited by the plugin script.

Currently, it provides execution context as env vars:

final Map<String, Map<String, String>> dataContext,

@ahonor ahonor added this to the 2.6.3 milestone Feb 9, 2016
@gschueler gschueler self-assigned this Feb 11, 2016
@gschueler
Copy link
Member

  • adding provider setting mergeEnvironment
  • adding new rundeckPluginVersion value "1.1", defaulting this value to true
name: example script-based node step plugin
version: 1.0
rundeckPluginVersion: 1.1
providers:
  - name: example-node-step
    service: WorkflowNodeStep
    title: Example Script Node Step
    description: Does nothing
    mergeEnvironment: true

The default value is false if rundeckPluginVersion: 1.0, and true if rundeckPluginVersion: 1.1 or later.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants