When executing scripts or commands the system environment variables aren't being being created. I think they should be created based on setting the plugin version to 1.2 but I have also tried setting mergeEnvironment to true without any luck.
After importing my test plugin I am setting local-node-executor to the local node attributes.
local-node-executor=test-script-plugin-powershell
Running a job that is a command or inline script will only show the RD_* environment variables and none of the system ones. I am not sure what I am doing wrong.
TEST-SCRIPT-PLUGIN
| plugin.yaml
|
\---contents
script.ps1
plugin.yaml
--------
# yaml plugin metadata
name: test-script-plugin
version: 1.0
rundeckPluginVersion: 1.2
author: author name
date: 2022-02-20
url: website URL
providers:
- name: test-script-plugin-powershell
service: NodeExecutor
plugin-type: script
script-interpreter: powershell.exe -NoLogo -NonInteractive -NoProfile -File
script-file: script.ps1
#script-args: [script file args]
mergeEnvironment: true
script.ps1
--------
Get-ChildItem Env: