Devanshu
Devanshu

Reputation: 35

Passing parameter to jenkins job from java code

I have create a parameterized jenkins job. But instead of taking parameters from user I want to pass it from java code. Is there any way to do it?

Upvotes: 0

Views: 740

Answers (1)

Pavel Anikhouski
Pavel Anikhouski

Reputation: 23298

There is a remote access API https://wiki.jenkins.io/display/JENKINS/Remote+access+API You can also check the reference at the bottom right of each page

Upvotes: 1

Related Questions