We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
2.263.1
2.3
https://github.com/jenkinsci/templating-engine-plugin/blob/main/src/main/groovy/org/boozallen/plugins/jte/init/primitives/TemplatePrimitiveNamespace.groovy#L49
should be: return args.size() > 0 ? value.call(*args) : value.call()
return args.size() > 0 ? value.call(*args) : value.call()
namespace call incorrectly internally passes the 'args' array as the only argument.
No response
make library step:
def call(def opts = [:]){ println opts.getClass() }
make a template with a fully namespaced call like jte.libraries.lib.step1
jte.libraries.lib.step1
jte.libraries.lib.step1(['arg1':'string'])
note that inside the step, ops is an array that contains the passed has
The text was updated successfully, but these errors were encountered:
cokieffebah
Successfully merging a pull request may close this issue.
Jenkins Version
2.263.1
JTE Version
2.3
Bug Description
https://github.com/jenkinsci/templating-engine-plugin/blob/main/src/main/groovy/org/boozallen/plugins/jte/init/primitives/TemplatePrimitiveNamespace.groovy#L49
should be:
return args.size() > 0 ? value.call(*args) : value.call()
namespace call incorrectly internally passes the 'args' array as the only argument.
Relevant log output
No response
Steps to Reproduce
make library step:
make a template with a fully namespaced call like
jte.libraries.lib.step1
note that inside the step, ops is an array that contains the passed has
The text was updated successfully, but these errors were encountered: