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

Build selector "Downstream build of" should be usable as parameter or source filter

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      In JENKINS-24626, we agreed to create a "Downstream build of" build selector.

      This works in the case that you always want to use the Last successful build which matches the upstream project.

      IMHO, the "Downstream build of" selector should be additional to the other build selectors.
      E.g. In our build environment we (mostly) need the case where we want to select:

      • The Last promoted build
      • From a Job which has is a "Downstream build of" a given configuration
      • Possibly some other "Parameter filters"

      So, I think we actually have three selections which can be combined (independently):

      1. Build status ("Last successful build", "Last saved build", ...)
      2. Build sources (i.e. "Downstream build of")
      3. Build parameters (i.e. "Parameter filters")

      The first two should be configurable as "build parameters" for Copy Artifact Plugin:

      1. Build status via parameter: *Build selector for Copy Artifact"
      2. Build source via parameter: *Source selector for Copy Artifact"

        Attachments

          Issue Links

            Activity

            Hide
            tom_ghyselinck Tom Ghyselinck added a comment - - edited

            This could be an implementation for JENKINS-24890

            Show
            tom_ghyselinck Tom Ghyselinck added a comment - - edited This could be an implementation for JENKINS-24890
            Hide
            tom_ghyselinck Tom Ghyselinck added a comment -

            Automatic assignment seems not to have worked?

            Show
            tom_ghyselinck Tom Ghyselinck added a comment - Automatic assignment seems not to have worked?
            Hide
            tom_ghyselinck Tom Ghyselinck added a comment -

            Hi ikedam,

            Automatic assignment did not seem to work.

            You helped us a lot last time with the initial implementation of the "Downstream build of".

            I don't know if you can help us out again.
            It's a very important issue for us since every update of the Copy Artifact Plugin takes more than one day from our time to rebuild all base Jobs, used by other packaging Jobs.

            Thank you very much in advance!

            Show
            tom_ghyselinck Tom Ghyselinck added a comment - Hi ikedam , Automatic assignment did not seem to work. You helped us a lot last time with the initial implementation of the " Downstream build of ". I don't know if you can help us out again. It's a very important issue for us since every update of the Copy Artifact Plugin takes more than one day from our time to rebuild all base Jobs, used by other packaging Jobs. Thank you very much in advance!
            Hide
            ikedam ikedam added a comment -

            The current design of copyartifact-plugin doesn't support complicated conditions to select builds.
            That's the issue resolved with JENKINS-2489 as you pointed.

            Show
            ikedam ikedam added a comment - The current design of copyartifact-plugin doesn't support complicated conditions to select builds. That's the issue resolved with JENKINS-2489 as you pointed.
            Hide
            tom_ghyselinck Tom Ghyselinck added a comment -

            Hi ikedam,

            Thank you for the update.

            Any idea about ETA?

            Thanks!

            Show
            tom_ghyselinck Tom Ghyselinck added a comment - Hi ikedam , Thank you for the update. Any idea about ETA? Thanks!
            Hide
            ikedam ikedam added a comment -

            Not scheduled at all.
            Anyway, it should take much time as it requires a large change of the design of copyartifact...

            Show
            ikedam ikedam added a comment - Not scheduled at all. Anyway, it should take much time as it requires a large change of the design of copyartifact...
            Hide
            tom_ghyselinck Tom Ghyselinck added a comment -

            Hi ikedam,

            Thank you for the update.

            This would be a exciter improvement for our use case of the CopyArtifact Plugin!

            Thanks in advance!

            Show
            tom_ghyselinck Tom Ghyselinck added a comment - Hi ikedam , Thank you for the update. This would be a exciter improvement for our use case of the CopyArtifact Plugin! Thanks in advance!

              People

              • Assignee:
                ikedam ikedam
                Reporter:
                tom_ghyselinck Tom Ghyselinck
              • Votes:
                1 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated: