Creating Threads in Jenkins Pipeline

2017-10-12 Thread Nitish Kumar
Hi, Is there anyway by which I can run multiple threads in Jenkins Pipeline without using parallel construct? Thanks -- 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 em

Append my custom name:value pair to Jenkins JSON output

2015-11-12 Thread Nitish Kumar
Hi, I know that doing GET *http://10.60.104.199:8081/job/job-name/25/api/json* will give me Jenkins's job status in form of JSON. I need to append a custom name:value pair to this JSON array. I am writing postbuild step in java. Can anyone help me? Thanks Nitish -- You received this message

Disable Jenkins Job via HTTP GET or HTTP POST

2015-04-25 Thread Nitish Kumar
Hi, I want to disable a Jenkins job in remote machine. I know that we can disable via *jenkins-cli.jar*. Can we disable a Jenkins job via GET or POST ? If yes, then what is the syntax of the URL? Thanks Nitish -- You received this message because you are subscribed to the Google Groups "J

Give permission to user via Java Code

2015-04-14 Thread Nitish Kumar
Hi, Currently my java plugin for jenkins is creating and configuring jobs as anonymous user. I have created another user with name "USER1". If I want to access jenkins with USER1 via java code, how should I do this. Currently, what I can create is Jenkins instance, Jenkins j=Jenkins.getInstance(