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

Is there a way to use inputs #665

Open
aphsa opened this issue Nov 17, 2022 · 1 comment
Open

Is there a way to use inputs #665

aphsa opened this issue Nov 17, 2022 · 1 comment
Labels
enhancement New feature or request

Comments

@aphsa
Copy link

aphsa commented Nov 17, 2022

What feature do you want to see added?

I tried to send the inputs as Parameters they don't work.

docker run --rm -v /home/aphsa/code/jenkins/testjenkinsfile/Jenkinsfile4:/workspace/Jenkinsfile jenkins/jenkinsfile-runner -a "Username=Alpha" -a "Password=beta"
[Pipeline] stage
[Pipeline] { (Prompt for input)
[Pipeline] script
[Pipeline] {
2022-11-17 16:29:55.977+0000 [id=50]    WARNING hudson.model.ParametersAction#filter: Skipped parameter `Username` as it is undefined on `job`. Set `-Dhudson.model.ParametersAction.keepUndefinedParameters=true` to allow undefined parameters to be injected as environment variables or `-Dhudson.model.ParametersAction.safeParameters=[comma-separated list]` to whitelist specific parameter names, even though it represents a security breach or `-Dhudson.model.ParametersAction.keepUndefinedParameters=false` to no longer show this message.
2022-11-17 16:29:55.977+0000 [id=50]    WARNING hudson.model.ParametersAction#filter: Skipped parameter `Password` as it is undefined on `job`. Set `-Dhudson.model.ParametersAction.keepUndefinedParameters=true` to allow undefined parameters to be injected as environment variables or `-Dhudson.model.ParametersAction.safeParameters=[comma-separated list]` to whitelist specific parameter names, even though it represents a security breach or `-Dhudson.model.ParametersAction.keepUndefinedParameters=false` to no longer show this message.
[Pipeline] input
Input requested

Upstream changes

No response

@aphsa aphsa added the enhancement New feature or request label Nov 17, 2022
@oleg-nenashev
Copy link
Member

No way at the moment, no ETA but all contributions are always welcome. It is possible to implement it, I believe

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants