Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-70657

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Minor Minor
    • p4-plugin
    • None
    • 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".

       

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

              Created:
              Updated: