Reputation: 33
I am trying to trigger a job in Jenkins using a webhook in GitLab. But the job that I want to start is parameterized.
I made a little research looking for some plugins to make it easy like Gitlab hook plugin, but it doesn't work.
In some pages I found clues like buildWithParameters?variable=value but after testing this, the variable still blank.
Help would be appreciated
Upvotes: 0
Views: 2595
Reputation: 2966
For me it didn't work when I used /buidWithParameters, but when I changed to /build it did. See also https://stackoverflow.com/a/38037070/947784
Upvotes: 1
Reputation: 33
After some tries, we discovered that our Gitlab environment had some issues of queueing process. Restarting the Gitlab was enough and the job started without problems.
Upvotes: 0