Alternative to specifying branch/tag/version in library identifier

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Alternative to specifying branch/tag/version in library identifier

afeller
Up to now, I've followed the documentation of specifying the branch/tag/version to checkout from Git for shared library using identifer: 'thing@version' approach, however I suspect this causes issues when referring to the library using library('thing').pkg.pkg... as it doesn't recognize it.

Is there another way to configure the version to checkout?

--
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 [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/f7f10738-ace9-47a9-a9c0-2a59419869cd%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: Alternative to specifying branch/tag/version in library identifier

Jan Monterrubio
What’s the .pkg.pkg for?

Usually I’ve seen the import as:

@Library('my-shared-library') _


On Fri, Nov 2, 2018 at 09:19 <[hidden email]> wrote:
Up to now, I've followed the documentation of specifying the branch/tag/version to checkout from Git for shared library using identifer: 'thing@version' approach, however I suspect this causes issues when referring to the library using library('thing').pkg.pkg... as it doesn't recognize it.

Is there another way to configure the version to checkout?

--
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 [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/f7f10738-ace9-47a9-a9c0-2a59419869cd%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

--
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 [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/CADgiF9Kyp9zrBShXBmDDfvYRTMz-_%2BaJ1qTCVbWtJBL%2BaCoWLQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.