I submitted this pull request which got accepted: https://github.com/jenkins-infra/jenkins.io/pull/1711
and now there are more examples of parameters at: https://jenkins.io/doc/book/pipeline/syntax/#parameters for *text*, *choice*, *password*, *booleanParam*, and *file* parameters. -- Craig On Mon, Jul 23, 2018 at 4:56 PM Craig Rodrigues <[email protected]> wrote: > I stumbled across the same problem. On this page: > > > https://github.com/jenkinsci/pipeline-model-definition-plugin/wiki/Parametrized-pipelines > > it specifies that the valid parameter values are: > > booleanParam, choice, file, text, password, run, or string > > It would be nice if the official docs at > https://jenkins.io/doc/book/pipeline/syntax/ > > could be updated to reflect this. > > I had to hunt around to find this. INFRA-1503 has not been completed yet. > -- > Craig > > > > On Wed, Apr 26, 2017 at 7:14 AM 'Björn Pedersen' via Jenkins Users < > [email protected]> wrote: > >> >> >> Am Mittwoch, 26. April 2017 14:43:39 UTC+2 schrieb Kenneth Johansson: >>> >>> hmm I'm starting to question the usefulness of the pipeline system. Its >>> very hard to understand how to do even very basic stuff. >>> >>> Even something as easy as finding out what type of parameters I can use >>> is hard. >>> >>> The documentation on https://jenkins.io/doc/book/pipeline/syntax/ only >>> mention string and booleanParam. but since I wrote something wrong I got >>> a error message so now I know that I can use. booleanParam, choice, >>> file, text, password, run, string >>> >> >> If look below the example on the source you quote, you'll see: >> *** >> >> A comprehensive list of available parameters is pending the completion of >> INFRA-1503 <https://issues.jenkins-ci.org/browse/INFRA-1053>. >> *** >> >> The declarative syntax for pipeline is really quite young and still work >> in progress. >> >> Björn >> >> -- >> You received this message because you are subscribed to the Google Groups >> "Jenkins Users" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected]. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/jenkinsci-users/7021479a-b6ca-40d7-b3da-8bdf98f1030f%40googlegroups.com >> <https://groups.google.com/d/msgid/jenkinsci-users/7021479a-b6ca-40d7-b3da-8bdf98f1030f%40googlegroups.com?utm_medium=email&utm_source=footer> >> . >> For more options, visit https://groups.google.com/d/optout. >> > -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/CAG%3DrPVcukV9hj0o_T0cwXhv5SiY25ZCmjN4XKbSp9AAfVJcpcA%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
