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

p4-plugin + global pipeline shared library - problems specifying latest default version

      when configuring a global pipeline library "Default version" retrieved from "Modern SCM" -> "Helix Library", I would expect that "#head" should work for the latest "Library Depot Path"

      entries like "master", "#head", "head" either don't validate or evaluate to version "-1" (resulting in "@-1" in p4 operations)

      the only way to get the latest on the path is to specify a huge number inexorably greater than any version in the repo (e.g. "100000000000")

       

          [JENKINS-52524] p4-plugin + global pipeline shared library - problems specifying latest default version

          Daniel Hsueh created issue -

          Daniel Hsueh added a comment -

          I should add, leaving the "Default version" blank results in a failed checkout

          Daniel Hsueh added a comment - I should add, leaving the "Default version" blank results in a failed checkout
          Karl Wirth made changes -
          Labels New: P4_SUPPORT

          Karl Wirth added a comment -

          Hi dchsueh,

          Just been going through the backlog and saw this. Have you tried 'now'? I think that's the default value and should be equivalent to 'head'.

          Karl Wirth added a comment - Hi dchsueh , Just been going through the backlog and saw this. Have you tried 'now'? I think that's the default value and should be equivalent to 'head'.
          Karl Wirth made changes -
          Assignee New: Karl Wirth [ p4karl ]

          Paul Allen added a comment -

          Setting a revision of now should allow you to use the latest revision of the library.

          Paul Allen added a comment - Setting a revision of now should allow you to use the latest revision of the library.
          Paul Allen made changes -
          Resolution New: Fixed [ 1 ]
          Status Original: Open [ 1 ] New: Closed [ 6 ]

            p4karl Karl Wirth
            dchsueh Daniel Hsueh
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: