I am newbie to Jenkins. I want to implement the below api, is their a way in jenkins_api_client gem to achieve this?
I already tried the below code in rails console and looks like it triggers different api
"vcim.db.host"=>"10.146.8.165",
"vcim.db.username"=>"postgres",
"vcim.db.password"=>"postgres",
"vcim.username"=>"test",
"vcim.password"=>"Newpword1#",
"test.producttype"=>"vcim-backend",
"api.key"=>"a34bbe23-13e1-4a48-b296-e018df04bd48*6iO^A0Z4zn6wtMxRYG2n5SosKRDL2OeutJ4Gaz%7w!rl$H$zsO4VI!h8J%zvt@bv!8@6&b0aeTjnT9kSQJ39!5x&56ccWGovEVM",
"vcim.amqp"=>"10.146.8.167",
"vcim.amqp.queue"=>"vCIMGlobal",
"vcim.testbed.spec"=>"vcim-1.testbed"}
@client.job.build("ListVMs.vPCCustomer", opts)
O/P:
POST /job/ListVMs.vPCCustomer/buildWithParameters
=> "302"