Using a pipeline library with a version specified by a label will sync latest

XMLWordPrintable

    • Type: Bug
    • Resolution: Unresolved
    • Priority: Minor
    • Component/s: p4-plugin
    • None
    • Environment:
      P4 Plugin 1.13.3

      When using a shared library with a version specified by a label, it seems the plugin ignores the label and always pulls latest.

      For example:

       

      @Library('myLibrary@someLabel')
      

      where "myLibrary" is added in Jenkins as a global library with the Modern SCM retrieval method, a default version "now" and "Allow default version to be overridden" set to true; the pipeline will pull the latest version of the stream instead of the one specified in "someLabel".

       

            Assignee:
            Unassigned
            Reporter:
            Akos
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: