Hi Richard,

Yes. project1 is existed in jenkins

Regards,
Suresh


On Mon, Jul 29, 2013 at 10:29 AM, Jeff Vincent [via Jenkins CI] <
ml-node+s361315n4674890...@n4.nabble.com> wrote:

> I actually have issues but with the UI.  I point the copy job url to
> another Jenkins instance.  It brings up a list of jobs.  I select one and
> attempt to copy and it says "not a job" or some similar error.  Other jobs
> work fine.  I wonder if it is a similar issue.
>
>
> On Sun, Jul 28, 2013 at 10:48 PM, Richard Bywater <[hidden 
> email]<http://user/SendEmail.jtp?type=node&node=4674890&i=0>
> > wrote:
>
>> Are you sure that "project1" actually exists and is called exactly what
>> you are providing? (Not sure if case matters etc. but worth checking)
>>
>> Richard.
>>
>>
>> On Mon, Jul 29, 2013 at 4:35 PM, suresh <[hidden 
>> email]<http://user/SendEmail.jtp?type=node&node=4674890&i=1>
>> > wrote:
>>
>>> Hi,
>>>
>>> I am not able to create the copy the job from copy-job command
>>>
>>> Explain:
>>>
>>> I created Jenkins user suresh and password suresh
>>>
>>> Below command i tried but did not work
>>>
>>> >java -jar c:\jenkins.jar -s http://localhost:8181/jenkins copy-job
>>> project1
>>> project2 --username suresh --password suresh
>>>
>>>
>>> Below command also i tried but did not work
>>>
>>> >java -jar c:\jenkins.jar -s http://localhost:8181/jenkins copy-job
>>> --username suresh --password suresh project1 project2
>>>
>>> Output:
>>>
>>> No such job 'project1'
>>>
>>> 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
>>>
>>> Please help on this how to resolve
>>>
>>>
>>>
>>> --
>>> View this message in context:
>>> http://jenkins-ci.361315.n4.nabble.com/Reg-Jenkins-cli-copy-job-tp4674887.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 [hidden 
>>> email]<http://user/SendEmail.jtp?type=node&node=4674890&i=2>
>>> .
>>> 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=4674890&i=3>
>> .
>> For more options, visit https://groups.google.com/groups/opt_out.
>>
>>
>>
>
>
>
> --
> Jeff Vincent
> See my LinkedIn profile at:
> http://www.linkedin.com/in/rjeffreyvincent
>
> --
> 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=4674890&i=4>
> .
> 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/Reg-Jenkins-cli-copy-job-tp4674887p4674890.html
>  To unsubscribe from Reg:Jenkins cli copy job, click 
> here<http://jenkins-ci.361315.n4.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=4674887&code=c3VyZXNoY29uZmlndXJhdGlvbkBnbWFpbC5jb218NDY3NDg4N3wtMTYwNDQ3NDUyOQ==>
> .
> 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/Reg-Jenkins-cli-copy-job-tp4674887p4674891.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 jenkinsci-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to