I currently use a shared library with a call method. I would like to specify an argument to either use the agent any or agent {label 'some-label'}.
I have the call method as such: def call(String buildType, String agentLabel=null) { if ("versionBranch".equals(buildType)) { } -- 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 jenkinsci-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/a304dd3f-b2f8-4550-9240-d3483249e2cc%40googlegroups.com.