Groovy Script to create Ansible Docker and run Ansible script on it.

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Groovy Script to create Ansible Docker and run Ansible script on it.

shajay12
Hi Everyone, I was trying to write a GROOVY SCRIPT to create a ANSIBLE DOCKER container and run ansible scripts to transfer WAR files from some location to TOMCAT server.  Please let me know some resource, where i can search such script or get an idea about it.  Thanks in Advance.  Regards, Ajsh

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].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/1541658173539-0.post%40n4.nabble.com.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: Groovy Script to create Ansible Docker and run Ansible script on it.

Ajay Sharma
Hi Slava,

Thanks for the reply. For bash file, which Jenkins PLUGINS should do i need to install ?

As the bash script has to fetch WAR File from a remote NEXUS repo and then put the WAR file on remote TOMCAT server. 

Regards, 
Ajsh 

On Thursday, November 8, 2018 at 5:50:41 PM UTC+5:30, Slava Dubrovskiy wrote:

Hi Ajsh ,

IMHO much easy use bash for this.


08.11.2018 08:22, shajay12 пишет:
Hi Everyone, I was trying to write a GROOVY SCRIPT to create a ANSIBLE DOCKER container and run ansible scripts to transfer WAR files from some location to TOMCAT server.  Please let me know some resource, where i can search such script or get an idea about it.  Thanks in Advance.  Regards, Ajsh

-- 
WBD,
Viacheslav Dubrovskyi

--
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].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/f1bea859-fb57-4667-b5f2-2bb91c3446e7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.