Hi All,

        I have copied jenkins job from windows to linux(cloud instance) 
with jenkins-cli.
java -jar jenkins-cli.jar -s http://local-server get-job jobname >config.xml
java -jar jenkins-cli.jar -s http://remote-server create-job jobname 
<config.xml

        But problem is that copied job from windows is not executable on 
linux,so 
I have changed in config file(BatchFile to Shell) i.e
/*config.xml*/

<builders>
    <hudson.tasks.Shell>
      <command>echo hello</command>
    </hudson.tasks.Shell>
  </builders>
Also it is not working.

Thanks & Regards,
Nitin

-- 
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/d/optout.

Reply via email to