Multiple Run-Deck Jobs execution from Hudson/Jenkins ?

830 views
Skip to first unread message

Venkat

unread,
Jun 28, 2011, 1:31:43 PM6/28/11
to rundeck-discuss
Hello RD users,
Wondering if we can run multiple Run Deck jobs from Hudson.
- In a given Hudson build, I want to run 2 RunDeck Jobs.

Thanks,
Venkat.

Vincent Behar

unread,
Jun 29, 2011, 5:44:44 AM6/29/11
to rundeck...@googlegroups.com
Hi,

everything is possible ;-)
What do you have in mind ? What is your use-case ?
Wouldn't it be easier to run a single "wrapper" rundeck job with
multiple steps using job-references ?

Vincent

Le 28/06/2011 19:31, Venkat a �crit :

Luiz Casey

unread,
Sep 7, 2012, 12:49:30 PM9/7/12
to rundeck...@googlegroups.com, vin...@behar.name
We current use the "MultiJob Phase" in Jenkins to run parallel/concurrent rundeck jobs. Each of the sub jobs are separate rundeck jobs.  Below is an example on how to do it.

  1. Main job
    1. MultiJob Phase 1
      1. Job A
        1. Phase 1
          1. rundeck job a
          2. rundeck job b
      2. Job B
        1. Phase 1
          1. rundeck job c
          2. rundeck job d
    2. MultiJob Phase2
      1. rundeck job e
      2. rundeck job f
    3. Rundeck job g
    4. Test


Best,
-Luiz

On Thursday, August 30, 2012 7:00:31 PM UTC-4, Jeremy Weber wrote:

Hello , Ive just come across the same same need.  Sorry to resurrect a semi-dead thread.

Setup is as follows...

1.  Big Build in Hudson 
2.  Deployment of appserver resources - ears/wars and what not,  by 4 different run deck jobs to disparate appservers ( jboss, tc, ws, wl ) etc.
3.  Rundeck jobs call back to hudson to start tests.

I think i specifically need the ability to call multiple rundeck jobs in hudson, so I can then get rundeck to call back to hudson to run test suites on each server.  Any thoughts on how to implement or another way to accomplish?


On Wednesday, June 29, 2011 5:44:44 AM UTC-4, Vincent Behar wrote:
Hi,

everything is possible ;-)
What do you have in mind ? What is your use-case ?
Wouldn't it be easier to run a single "wrapper" rundeck job with
multiple steps using job-references ?

Vincent

Le 28/06/2011 19:31, Venkat a �crit :

Kevin Dyer

unread,
Jul 20, 2014, 7:43:32 PM7/20/14
to rundeck...@googlegroups.com, vin...@behar.name
One big reason to allow for multiple post build rundeck steps is when you have different rundeck options/filters for the subjobs. I don't know enough about jenkins plugins to understand why the limit of one 'post build' action.

Kevin Dyer

unread,
Jul 20, 2014, 7:45:53 PM7/20/14
to rundeck...@googlegroups.com
One reason is the options/filters when required by the various rundeck "sub" jobs. It can get a little messy

On Saturday, 8 September 2012 04:49:30 UTC+12, Luiz Casey wrote:

Alex Honor

unread,
Jul 21, 2014, 12:38:01 PM7/21/14
to rundeck...@googlegroups.com, vin...@behar.name
Hi Kevin,

The jenkins-rundeck plugin is Notifier type which is called only once  per jenkins job. There has been recent discussion about making a Build or Publish plugin which can be invoked more than once per Jenkins job.

Thanks 


--
You received this message because you are subscribed to the Google Groups "rundeck-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rundeck-discu...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--

Alex Honor

[SimplifyOps, Inc | a...@simplifyops.com ]

Be sure to comment and vote on Rundeck Feature Development!

Emil Varona

unread,
Sep 13, 2014, 9:17:08 PM9/13/14
to rundeck...@googlegroups.com
Hi Alex Honor, thank you for explaining the distinction.  I have a similar requirement.  I created a rundeck job that can stop/start/restart a service on a VM.  Different VMs have different services so I'd like to create a single Jenkins job that can recursively call my all-purpose RD job on different services.  Is that possible with the Notifier plug-in or do I need to create multiple Jenkins jobs?  Any timeframe for the Build/Publish plug-in?  TIA.
Reply all
Reply to author
Forward
0 new messages