Reuse workflow code across workflow jobs

31 views
Skip to first unread message

Martin d'Anjou

unread,
Nov 13, 2015, 9:38:50 AM11/13/15
to Jenkins Users
Is there a way groovy workflow scripts from the "Workflow script from SCM" could import classes from their own cloned path, or be able to do something similar to the Gradle "apply from: 'other.gradle'"?

I read about the Workflow Global Library, but that seems like an additional Git repository to me.

Brian Ray

unread,
Nov 13, 2015, 12:19:09 PM11/13/15
to Jenkins Users
Avoided the global library myself for similar reasons. There is an issue in the Jenkins Jira that covers broadly what you are looking for, I think.
Reply all
Reply to author
Forward
0 new messages