1

I'm trying to pass parameters through github hook to Jenkins with the help of Github plugin(in Jenkins). The Jenkins job has several custom params - and I want github to trigger that job and setting those params.

In Github repository/settings/hooks there is the following URL hook: http://JENKINS-URL/github-webhook/.

Is there a way to set these Jenkins job params from Github hook? (I cant install new plugins in Jenkins.. right now only Github plugin is installed)

nadavgam
  • 2,014
  • 5
  • 20
  • 48

1 Answers1

0

If you can curl your Jenkins instance from your GitHub Action script, you can add multiple parameters to that curl command.

There is an appleboy/jenkins-action, but it does not take any parameters.

VonC
  • 1,262,500
  • 529
  • 4,410
  • 5,250