jenkinsci / jenkinsci/persistent-parameter-plugin

Question: How to use this with pipelines?

Open
#8 7 comments 1 reaction 0 assignees View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.