>
>
> I tried it and it is asking for mode? I am not sure what is the mode I
> should provide for creating new job. I tried passing  mode=create and it
> did not work.
>

Can you share the command line which you've tried please ?


>
>> However, what do you mean by "for creating jobs based on a specific
>> build" ?
>>
>
> I mean the new job should "execute shell" to package local packages. I
> guess that I can achieve with the buildWithParameters and by passing the
> command. If  you have any example could you please let me know.
>

You can find an example of a build trigger with parameters from command
line here
<https://wiki.jenkins.io/display/jenkins/remote+access+api#RemoteaccessAPI-Submittingjobs>
.

-- 
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 email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/CAPO77c3LsNafmHUy0eMrSN9aKTaMeOoZ7bXK6FMc1MFRY_%2BzFQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to