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

CopyArtifact Plugin: Add support for ENV-variables/Parameters when choosing BuildNr.

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      Feature request:

      It would be great if the BuildNr chooser would also accept not only positive Int's - but also Environment variables that was expanded before (which for instance could be passed from various ParameterActions) invoking the builder.

      This way we could pass variables containing certain BuildNr to downstream jobs. And the downstream jobs would know exact which build to fetch artifacts from. This would make it easier to automate parallel jobs, that are not manually triggered and/or consists of multiple downstream jobs.

      Br
      Gustaf - Sony Ericsson

        Attachments

          Activity

          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in hudson
          User: : mindless
          Path:
          trunk/hudson/plugins/copyartifact/pom.xml
          trunk/hudson/plugins/copyartifact/src/main/java/hudson/plugins/copyartifact/BuildSelector.java
          trunk/hudson/plugins/copyartifact/src/main/java/hudson/plugins/copyartifact/BuildSelectorParameter.java
          trunk/hudson/plugins/copyartifact/src/main/java/hudson/plugins/copyartifact/CopyArtifact.java
          trunk/hudson/plugins/copyartifact/src/main/java/hudson/plugins/copyartifact/ParameterizedBuildSelector.java
          trunk/hudson/plugins/copyartifact/src/main/java/hudson/plugins/copyartifact/SavedBuildSelector.java
          trunk/hudson/plugins/copyartifact/src/main/java/hudson/plugins/copyartifact/SimpleBuildSelectorDescriptor.java
          trunk/hudson/plugins/copyartifact/src/main/java/hudson/plugins/copyartifact/SpecificBuildSelector.java
          trunk/hudson/plugins/copyartifact/src/main/java/hudson/plugins/copyartifact/StatusBuildSelector.java
          trunk/hudson/plugins/copyartifact/src/main/resources/hudson/plugins/copyartifact/Messages.properties
          trunk/hudson/plugins/copyartifact/src/main/resources/hudson/plugins/copyartifact/SpecificBuildSelector/config.jelly
          trunk/hudson/plugins/copyartifact/src/test/java/hudson/plugins/copyartifact/BuildSelectorParameterTest.java
          trunk/hudson/plugins/copyartifact/src/test/java/hudson/plugins/copyartifact/CopyArtifactTest.java
          http://jenkins-ci.org/commit/33033
          Log:
          [copyartifact] [FIXED JENKINS-6972] support build parameter in "specific build" selector.
          also update field validation to just show warning (not error) if project name field
          uses a build parameter (cannot validate this value).

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in hudson User: : mindless Path: trunk/hudson/plugins/copyartifact/pom.xml trunk/hudson/plugins/copyartifact/src/main/java/hudson/plugins/copyartifact/BuildSelector.java trunk/hudson/plugins/copyartifact/src/main/java/hudson/plugins/copyartifact/BuildSelectorParameter.java trunk/hudson/plugins/copyartifact/src/main/java/hudson/plugins/copyartifact/CopyArtifact.java trunk/hudson/plugins/copyartifact/src/main/java/hudson/plugins/copyartifact/ParameterizedBuildSelector.java trunk/hudson/plugins/copyartifact/src/main/java/hudson/plugins/copyartifact/SavedBuildSelector.java trunk/hudson/plugins/copyartifact/src/main/java/hudson/plugins/copyartifact/SimpleBuildSelectorDescriptor.java trunk/hudson/plugins/copyartifact/src/main/java/hudson/plugins/copyartifact/SpecificBuildSelector.java trunk/hudson/plugins/copyartifact/src/main/java/hudson/plugins/copyartifact/StatusBuildSelector.java trunk/hudson/plugins/copyartifact/src/main/resources/hudson/plugins/copyartifact/Messages.properties trunk/hudson/plugins/copyartifact/src/main/resources/hudson/plugins/copyartifact/SpecificBuildSelector/config.jelly trunk/hudson/plugins/copyartifact/src/test/java/hudson/plugins/copyartifact/BuildSelectorParameterTest.java trunk/hudson/plugins/copyartifact/src/test/java/hudson/plugins/copyartifact/CopyArtifactTest.java http://jenkins-ci.org/commit/33033 Log: [copyartifact] [FIXED JENKINS-6972] support build parameter in "specific build" selector. also update field validation to just show warning (not error) if project name field uses a build parameter (cannot validate this value).

            People

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

              Dates

              • Created:
                Updated:
                Resolved: