Is it possible to specify branch for Pipeline Library in such a way that it
would allow override default @Library version with either Git tag or branch?
So far I have tried different wildcard combinations,
refs/*/${library.Global.version}, but none of them works.
Instead if I stop using wildcards and specify expression with only
environment variable, refs/${library.Global.version}, it works. However it
then forces me to specify library version with either tags or heads prefix,
ex. @Library('Global@heads/version/1.0,') or @Library('Global@tags/1.0.0').
Is a way to end up with shorter notation like @Library('Global@version/1.0')
or @Library('[email protected]')?
Regards,
Lukasz.
--
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 [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/jenkinsci-users/19955706-819c-427b-a35d-65e892a08e63%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.