[workflow plugin] Run existing non-CPS and system groovy scripts

72 views
Skip to first unread message

Finn Hughes

unread,
Mar 12, 2015, 7:48:41 AM3/12/15
to jenkin...@googlegroups.com
Hi,

I've had some success with the workflow plugin and each release seems to help significantly :)

I can't see how to call my existing non-CPS groovy scripts, especially the system ones, from my workflow. I can sort of work round the problem by running a job that runs the script but that's very messy.

Anyone know how to do this?

Finn

Daniel Beck

unread,
Mar 12, 2015, 1:12:59 PM3/12/15
to jenkin...@googlegroups.com
How is this a dev list question?
> --
> You received this message because you are subscribed to the Google Groups "Jenkins Developers" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-de...@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-dev/fa48e64c-c7a7-43c6-861a-eb393b61fbc6%40googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.

Finn Hughes

unread,
Mar 12, 2015, 2:43:47 PM3/12/15
to jenkin...@googlegroups.com
Hi Daniel,

From what I can see this is not supported, I hope I'm wrong but if you
could give me a pointer I'll be able to continue trying to track it down.

If there is some guidelines over what sort of questions should be asked
on this list I'll give it a read for future reference but this seems
similar to lots of other questions I've seen asked about the workflow
plugin?

Sorry if I'm creating noise on the list, I'm fairly new to the jenkins
community so still feeling my way around.

Thanks,
Finn

Daniel Beck

unread,
Mar 12, 2015, 3:02:23 PM3/12/15
to jenkin...@googlegroups.com

On 12.03.2015, at 19:43, Finn Hughes <finn.h...@gmail.com> wrote:

> If there is some guidelines over what sort of questions should be asked on this list I'll give it a read for future reference but this seems similar to lots of other questions I've seen asked about the workflow plugin?

As http://jenkins-ci.org/content/mailing-lists indicates, this is the list for Jenkins core and plugin developers (i.e. those who create or extend Jenkins and its plugins).

Your question is about use of the Workflow plugin (and the Groovy plugin I suppose?), so the jenkinsci-users list is more appropriate. That's also where all the other [workflow plugin] questions you mention are.

If OTOH your question actually was about how you could extend Workflow plugin itself to support your use case, you'd be in the right place.

Finn Hughes

unread,
Mar 12, 2015, 4:44:02 PM3/12/15
to jenkin...@googlegroups.com
Ah, thanks for taking the time, clearly I got myself confused about the
two groups, I'll send my question to the correct list.

Best regards,
Finn
Reply all
Reply to author
Forward
0 new messages