You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
leroyjenkinsplugin edited this page Jul 29, 2014
·
27 revisions
Introduction
Installation
Setup Controller
Install Leroy plugin
Go into nodes and choose a node that you want to act as your controller. The controller is the staging area where the deployment occurs. Choose [X] Leroy controller and enter a path you want to install leroy. Choose the platform of your node and click update. This will automatically update / install the latest release of leroy to the target folder you specified.
Add agents for each host in your first environment
Add environments and place agents in each environment appropriately.
Assign / create roles for each host in each environment.
Check Leroy project into SCM
Create the following folders: commands, workflows, properties, resources
Create file: commands/test.sh or command/test.bat inside put: echo this works!
Under "Source Code Management" enter the location where you committed your files to your SCM. Save the job and reload the configurations page.
You should see workflow test and environments listed in "Leroy Target Configurations", choose the workflow and environment you just created, click save.
Ensure that agents are running on each of the hosts in your environment. zip bundles for each agent are created on the node in LEROY_HOME/ for each agent you've created. SSH install will copy these files for you but does not start the agent, nor ensure it runs on boot. You'll have to do this on your own for now.