jenkinsci / jenkinsci/persistent-parameter-plugin
Question: How to use this with pipelines?
- Dominant language
- Java
- Stars
- 8
- Forks
- 15
- PR merge metrics
- No merged PRs in 30d
Description
How do you use this with pipeline? I can't find any docs nor snippets
```
pipeline {
agent {
label '...'
}
parameters {
gitParameter branchFilter: 'origin/(.*)', name: 'branch', ...
persistentStringParameter(defaultValue: 'default', description: 'gimme info', name: 'someParam')
}
```
It results in:
`org.codehaus.groovy.control.MultipleCompilationErrorsException: startup failed:
WorkflowScript: 7: Invalid parameter type "persistentStringParameter". Valid parameter types: [booleanParam, choice, credentials, file, gitParameter, listGitBranches, text, password, run, string] @ line 7, column 9.`
Contributor guide
Assessment
This issue has not been assessed yet.