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

Add option "Use Upstream Project revision" similar to that on the legacy perforce plugin

    XMLWordPrintable

Details

    Description

      Please could you consider adding a "Use Upstream Project revision" checkbox to the p4-plugin similar to that available in the legacy "perforce-plugin".

      It is a useful feature when jobs are setup to run after an upstream job with artifacts being copied. In many circumstances like this it is important that the downstream job uses the same file revisions as the upstream job that created the artifacts.

      I think it may be already possible to do this with "Parameterized Trigger Plugin" in the upstream job setting "change" parameter on the downstream job, but then all the downstream jobs have to be listed in the upstream job which is more complex to configure.

      Attachments

        Activity

          philipa Philip Aston added a comment -

          I ran for a week 1.9.6 with no issues.

          I switched back to 1.10.10, and saw the problem again. It's a production config, so I've reverted back to 1.9.6.

          philipa Philip Aston added a comment - I ran for a week 1.9.6 with no issues. I switched back to 1.10.10, and saw the problem again. It's a production config, so I've reverted back to 1.9.6.
          p4karl Karl Wirth added a comment -

          Hi philipa - Thanks. I'll test on WIndows and Linux build slaves and get back to you.

          p4karl Karl Wirth added a comment - Hi philipa - Thanks. I'll test on WIndows and Linux build slaves and get back to you.
          p4karl Karl Wirth added a comment -

          Hi philipa

          Finally got a chance to test this properly and still no luck in reproducing it. Can you please send an email to 'support@perforce.com' for my attention and send the full console logs for the two jobs when th. I'll try and figure out what I'm missing.

          Thanks in advance,

          Karl

          p4karl Karl Wirth added a comment - Hi philipa Finally got a chance to test this properly and still no luck in reproducing it. Can you please send an email to 'support@perforce.com' for my attention and send the full console logs for the two jobs when th. I'll try and figure out what I'm missing. Thanks in advance, Karl
          philipa Philip Aston added a comment -

          Thanks p4karl. I've upgraded the plugin again; I'll send you the logs when I see the next failure.

          philipa Philip Aston added a comment - Thanks p4karl . I've upgraded the plugin again; I'll send you the logs when I see the next failure.
          p4karl Karl Wirth added a comment -

          Hi philipa - Thanks.

          p4karl Karl Wirth added a comment - Hi philipa - Thanks.

          People

            p4paul Paul Allen
            barnish Andrew Barnish
            Votes:
            1 Vote for this issue
            Watchers:
            8 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: