I'm not sure if this matters, but did you define that parameter in the pipeline job?
On Mon, Jan 9, 2017 at 3:02 AM, Mark Allison <[email protected]> wrote: > I have GitLab Community Edition 8.15.2 successfully trigger pipeline > projects in Jenkins 2.32.1 using a webhook (but without any parameters). I > want the gitlab push to trigger a build with parameters but the parameter > value is null when it comes through to Jenkins so the build fails. > > The gitlab webhook looks like: > > http://jenkins.server:8080/project/project-a/buildWithParameters?MYPARAM=foo > > > In my pipeline project I echo the parameter value out with > > echo "MYPARAM: ${MYPARAM}" > > > and it's not set to anything. Any ideas on where I've gone wrong? > > -- > 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/058c423d-150e-4f17-99ca-aa0dfc2c5d50%40googlegroups.com. > 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/CAA5t8VrNt_5cOJXSd%2BdFMEQ4QuKWNeLDW%2BNCBgb3PX5W9cPq4Q%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
