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

Feature for copying from the upstream build that causes a build

    XMLWordPrintable

    Details

    • Type: New Feature
    • Status: Closed (View Workflow)
    • Priority: Minor
    • Resolution: Fixed
    • Component/s: copyartifact-plugin
    • Labels:
      None
    • Environment:
      Copy Artifacts Plugin 1.14
    • Similar Issues:

      Description

      Example: Build "Component1 #123" invokes a build of "FullSoftware". In "FullSoftware" I would love to see a feature to copy data from the artifacts of "Component1 #123".

      At present I use a text parameter called "prev_BUILD_NUMBER" that is set by "Component1" to ${BUILD_NUMBER} and used by "FullSoftware" with the "specific build" option.

        Attachments

          Activity

          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in jenkins
          User: alanharder
          Path:
          src/main/java/hudson/plugins/copyartifact/BuildSelector.java
          src/main/java/hudson/plugins/copyartifact/CopyArtifact.java
          src/main/java/hudson/plugins/copyartifact/ParameterizedBuildSelector.java
          src/main/java/hudson/plugins/copyartifact/PermalinkBuildSelector.java
          src/main/java/hudson/plugins/copyartifact/SpecificBuildSelector.java
          src/main/java/hudson/plugins/copyartifact/TriggeredBuildSelector.java
          src/main/resources/hudson/plugins/copyartifact/Messages.properties
          src/test/java/hudson/plugins/copyartifact/CopyArtifactTest.java
          http://jenkins-ci.org/commit/copyartifact-plugin/a8a0840699c17c9fd80025d22062868008577994
          Log:
          [FIXED JENKINS-8999] Add TriggeredBuildSelector

          Compare: https://github.com/jenkinsci/copyartifact-plugin/compare/60d69e0...a8a0840

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: alanharder Path: src/main/java/hudson/plugins/copyartifact/BuildSelector.java src/main/java/hudson/plugins/copyartifact/CopyArtifact.java src/main/java/hudson/plugins/copyartifact/ParameterizedBuildSelector.java src/main/java/hudson/plugins/copyartifact/PermalinkBuildSelector.java src/main/java/hudson/plugins/copyartifact/SpecificBuildSelector.java src/main/java/hudson/plugins/copyartifact/TriggeredBuildSelector.java src/main/resources/hudson/plugins/copyartifact/Messages.properties src/test/java/hudson/plugins/copyartifact/CopyArtifactTest.java http://jenkins-ci.org/commit/copyartifact-plugin/a8a0840699c17c9fd80025d22062868008577994 Log: [FIXED JENKINS-8999] Add TriggeredBuildSelector Compare: https://github.com/jenkinsci/copyartifact-plugin/compare/60d69e0...a8a0840
          Hide
          ssplett ssplett added a comment -

          Perfect! It really works perfect. I've just tested it with an endless loop that copied artifacts from the master to one slave to another slave... Without any parameters to submit between the jobs!
          Thanks a lot. It really helps me working with Jenkins.

          Show
          ssplett ssplett added a comment - Perfect! It really works perfect. I've just tested it with an endless loop that copied artifacts from the master to one slave to another slave... Without any parameters to submit between the jobs! Thanks a lot. It really helps me working with Jenkins.

            People

            • Assignee:
              mindless Alan Harder
              Reporter:
              ssplett ssplett
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: