Hi Kannan,

How  are you.

How to create jenkins users automatically in jenkins server including admin
user also.

Regards,
Suresh

On Thu, Jul 18, 2013 at 10:02 AM, Richard Bywater-2 [via Jenkins CI] <
[email protected]> wrote:

> Not sure whate version of Jenkins you are running so not sure if its
> supported, but I'd personally advise you to switch to using SSH keys to
> authenticate rather that worry about username/password. I found it *much*
> easier to work with.
>
> Richard.
>
>
> On Thursday, July 18, 2013, suresh wrote:
>
>>
>> Hi Kannan,
>>
>> I issued below command but unable to copy job
>>
>> java -jar c:\jenkins.jar -s http://localhost:8181/jenkins copy-job
>> --username suresh --password suresh project5 project6
>>
>>
>>
>> *Output*
>>
>> No such job 'project5'
>> java -jar jenkins-cli.jar copy-job args...
>> Copies a job.
>>  SRC                 : Name of the job to copy
>>  DST                 : Name of the new job to be created.
>>  --username VAL      : User name to authenticate yourself to Jenkins
>>  --password VAL      : Password for authentication. Note that passing a
>>                        password in arguments is insecure.
>>  --password-file VAL : File that contains the password
>>
>> Regards,
>> Suresh
>>
>> On Wed, Jul 17, 2013 at 11:29 PM, Kannan Manickam-2 [via Jenkins CI] <[hidden
>> email] <http://user/SendEmail.jtp?type=node&node=4673462&i=0>> wrote:
>>
>>> Suresh,
>>>
>>> I don't understand why you have "--" prepended to your password string.
>>> I think "suresh" is your password.
>>>
>>>
>>>  On Wed, Jul 17, 2013 at 4:02 AM, suresh <[hidden 
>>> email]<http://user/SendEmail.jtp?type=node&node=4673408&i=0>
>>> > wrote:
>>>
>>>
>>> Hi Kannan,
>>>
>>> I am able to create a job with credentials using below command
>>>
>>> java -jar c:\jenkins.jar -s http://localhost:8181/jenkins create-job
>>> project5 < config.xml --username suresh --password --suresh
>>>
>>>
>>>
>>> I am unable to create a copy job with credentials using below commands
>>>
>>>
>>> java -jar c:\jenkins.jar -s http://localhost:8181/jenkins copy-job
>>> project5 project6 --username suresh --password --suresh
>>>
>>> java -jar c:\jenkins.jar -s http://localhost:8181/jenkins copy-job
>>> --username suresh --password --suresh project5 project6
>>>
>>> Regards,
>>> Suresh
>>>
>>>
>>> On Fri, Jul 12, 2013 at 11:10 PM, skidad [via Jenkins CI] <[hidden
>>> email] <http://user/SendEmail.jtp?type=node&node=4673313&i=0>> wrote:
>>>
>>> This is what I use to copy a job:
>>>
>>>  java -jar c:\jenkins-cli.jar -s http://jenkins copy-job --username
>>> myjenkinsuser --password myjenkinspassword job-name new-job-name
>>>
>>> I think you are missing username and password parameters.
>>>
>>> Derek . . .
>>>
>>> On Thursday, July 11, 2013 9:39:20 PM UTC-7, suresh kamini wrote:
>>>
>>> Hi Kannan,
>>>
>>> Thanks for your reply.
>>>
>>> My requirement is create job automatically by Jenkins CLI for projects
>>>
>>> I was trying but getting error authentication fail.
>>>
>>> Please guide me step by step
>>>
>>>
>>>
>>> Also is it possible to integrate Jenkins job automatic  through Perl or
>>> java API
>>>
>>> Regards,
>>> Suresh
>>>
>>>
>>>
>>>
>>>
>>>
>>> On Fri, Jul 12, 2013 at 7:02 AM, Kannan Manickam-2 [via Jenkins CI] <[hidden
>>> email] <http://user/SendEmail.jtp?type=node&node=4672748&i=0>> wrote:
>>>
>>> Suresh,
>>>
>>> Could you be more specific? Do you want to create jenkins jobs
>>> programatically?
>>>
>>> -
>>> Kannan.
>>>
>>> On Jul 8, 2013, at 4:48 AM, suresh <[hidden 
>>> email]<http://user/SendEmail.jtp?type=node&node=4672739&i=0>>
>>> wrote:
>>>
>>> > Is it possible to integrate with other tools for automatic creation of
>>> > projects?
>>> >
>>> >
>>> >
>>> > --
>>> > View this message in context: http://jenkins-ci.361315.n4.**
>>> nabble.com/Is-it-possible-to-**integrate-with-other-tools-**
>>> for-automatic-creation-of-**projects-tp4672021.html<http://jenkins-ci.361315.n4.nabble.com/Is-it-possible-to-integrate-with-other-tools-for-automatic-creation-of-projects-tp4672021.html>
>>> > Sent from the Jenkins users mailing list archive at Nabble.com.
>>> >
>>>
>>>  If you reply to this email, your message will be added to the
>>> discussion below:
>>>
>>> http://jenkins-ci.361315.n4.nabble.com/Is-it-possible-to-integrate-with-other-tools-for-automatic-creation-of-projects-tp4672021p4673408.html
>>>  To unsubscribe from Is it possible to integrate with other tools for
>>> automatic creation of projects?, click here.
>>> NAML<http://jenkins-ci.361315.n4.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
>>>
>>
>>
>> ------------------------------
>> View this message in context: Re: Is it possible to integrate with other
>> tools for automatic creation of 
>> projects?<http://jenkins-ci.361315.n4.nabble.com/Is-it-possible-to-integrate-with-other-tools-for-automatic-creation-of-projects-tp4672021p4673462.html>
>> Sent from the Jenkins users mailing list 
>> archive<http://jenkins-ci.361315.n4.nabble.com/Jenkins-users-f361316.html>at 
>> Nabble.com.
>>
>> --
>> 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 <a href="javascript:_e({}, &#39;cvml&#39;, &#
>> 39;jenkinsci-users%[email protected]&#39;);"
>> target="_blank">jenkinsci-users+unsubscribe@....
>>
>> For more options, visit https://groups.google.com/groups/opt_out.
>>
>>
>>
>  --
> 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 [hidden email]<http://user/SendEmail.jtp?type=node&node=4673463&i=0>
> .
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
>
>
> ------------------------------
>  If you reply to this email, your message will be added to the discussion
> below:
>
> http://jenkins-ci.361315.n4.nabble.com/Is-it-possible-to-integrate-with-other-tools-for-automatic-creation-of-projects-tp4672021p4673463.html
>  To unsubscribe from Is it possible to integrate with other tools for
> automatic creation of projects?, click 
> here<http://jenkins-ci.361315.n4.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=4672021&code=c3VyZXNoY29uZmlndXJhdGlvbkBnbWFpbC5jb218NDY3MjAyMXwtMTYwNDQ3NDUyOQ==>
> .
> NAML<http://jenkins-ci.361315.n4.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
>




--
View this message in context: 
http://jenkins-ci.361315.n4.nabble.com/Is-it-possible-to-integrate-with-other-tools-for-automatic-creation-of-projects-tp4672021p4673884.html
Sent from the Jenkins users mailing list archive at Nabble.com.

-- 
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].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to