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

Matrix project support for "Parameters from properties file"

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      "Parameters from properties file" refers properties files generated in the workspace.

      With matrix projects (muti-configuration projects), workspaces of parent builds and those of child builds are differ.
      Especially if builds are distributed builds, workspaces are on different computers.
      The current implementation of "Parameters from properties file" refers only parent builds, it is difficult to apply matrix projects.

      This issue improved "Parameters from properties file" as following:

      • Display an option "refer files in child builds" if it is a matrix project.
        • It may be always applied for matrix projects, but implement like this for backward compatibility.
      • "Combination filter" field to filter child builds.
      • "Only for Exact Runs" field to apply only for child builds triggered by that parent build.

      And this is improvement of the pull request https://github.com/jenkinsci/parameterized-trigger-plugin/pull/57 .

        Attachments

          Activity

          Show
          ikedam ikedam added a comment - Pull request: https://github.com/jenkinsci/parameterized-trigger-plugin/pull/60
          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in jenkins
          User: ikedam
          Path:
          src/main/java/hudson/plugins/parameterizedtrigger/FileBuildParameters.java
          src/main/resources/hudson/plugins/parameterizedtrigger/FileBuildParameters/config.jelly
          http://jenkins-ci.org/commit/parameterized-trigger-plugin/737b06a372a40824084fbf753d4a29336af57afc
          Log:
          [FIXED JENKINS-21013] Matrix project support for "Parameters from properties file".

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: ikedam Path: src/main/java/hudson/plugins/parameterizedtrigger/FileBuildParameters.java src/main/resources/hudson/plugins/parameterizedtrigger/FileBuildParameters/config.jelly http://jenkins-ci.org/commit/parameterized-trigger-plugin/737b06a372a40824084fbf753d4a29336af57afc Log: [FIXED JENKINS-21013] Matrix project support for "Parameters from properties file".
          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in jenkins
          User: ikedam
          Path:
          src/test/java/hudson/plugins/parameterizedtrigger/test/FileBuildTriggerConfigTest.java
          http://jenkins-ci.org/commit/parameterized-trigger-plugin/bf0d4e23cbb5d34466c04d5175228987f44becff
          Log:
          JENKINS-21013 Added tests for FileBuildParameters with MatrixProject.

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: ikedam Path: src/test/java/hudson/plugins/parameterizedtrigger/test/FileBuildTriggerConfigTest.java http://jenkins-ci.org/commit/parameterized-trigger-plugin/bf0d4e23cbb5d34466c04d5175228987f44becff Log: JENKINS-21013 Added tests for FileBuildParameters with MatrixProject.
          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in jenkins
          User: ikedam
          Path:
          src/main/resources/hudson/plugins/parameterizedtrigger/FileBuildParameters/config.jelly
          src/main/resources/hudson/plugins/parameterizedtrigger/FileBuildParameters/help-combinationFilter.html
          src/main/resources/hudson/plugins/parameterizedtrigger/FileBuildParameters/help-onlyExactRuns.html
          src/main/resources/hudson/plugins/parameterizedtrigger/FileBuildParameters/help-useMatrixChild.html
          http://jenkins-ci.org/commit/parameterized-trigger-plugin/645485f8ddff890bfff6f99e66ba97f814f38725
          Log:
          JENKINS-21013 Add helps for FileBuildParameters with MatrixProjects.

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: ikedam Path: src/main/resources/hudson/plugins/parameterizedtrigger/FileBuildParameters/config.jelly src/main/resources/hudson/plugins/parameterizedtrigger/FileBuildParameters/help-combinationFilter.html src/main/resources/hudson/plugins/parameterizedtrigger/FileBuildParameters/help-onlyExactRuns.html src/main/resources/hudson/plugins/parameterizedtrigger/FileBuildParameters/help-useMatrixChild.html http://jenkins-ci.org/commit/parameterized-trigger-plugin/645485f8ddff890bfff6f99e66ba97f814f38725 Log: JENKINS-21013 Add helps for FileBuildParameters with MatrixProjects.
          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in jenkins
          User: ikedam
          Path:
          src/main/resources/hudson/plugins/parameterizedtrigger/BlockableBuildTriggerConfig/config.jelly
          src/main/resources/hudson/plugins/parameterizedtrigger/BuildTrigger/config.jelly
          src/main/resources/hudson/plugins/parameterizedtrigger/BuildTriggerConfig/config.jelly
          src/main/resources/hudson/plugins/parameterizedtrigger/FileBuildParameters/config.jelly
          src/main/resources/hudson/plugins/parameterizedtrigger/TriggerBuilder/config.jelly
          http://jenkins-ci.org/commit/parameterized-trigger-plugin/fe091d9a821cd178f29f1079aafa250f29d3278a
          Log:
          JENKINS-21013 Don't show options for MatrixProject when used as a builder. This works perfect only with Jenkins >= 1.495.

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: ikedam Path: src/main/resources/hudson/plugins/parameterizedtrigger/BlockableBuildTriggerConfig/config.jelly src/main/resources/hudson/plugins/parameterizedtrigger/BuildTrigger/config.jelly src/main/resources/hudson/plugins/parameterizedtrigger/BuildTriggerConfig/config.jelly src/main/resources/hudson/plugins/parameterizedtrigger/FileBuildParameters/config.jelly src/main/resources/hudson/plugins/parameterizedtrigger/TriggerBuilder/config.jelly http://jenkins-ci.org/commit/parameterized-trigger-plugin/fe091d9a821cd178f29f1079aafa250f29d3278a Log: JENKINS-21013 Don't show options for MatrixProject when used as a builder. This works perfect only with Jenkins >= 1.495.
          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in jenkins
          User: ikedam
          Path:
          src/main/java/hudson/plugins/parameterizedtrigger/FileBuildParameters.java
          src/main/resources/hudson/plugins/parameterizedtrigger/BlockableBuildTriggerConfig/config.jelly
          src/main/resources/hudson/plugins/parameterizedtrigger/BuildTrigger/config.jelly
          src/main/resources/hudson/plugins/parameterizedtrigger/BuildTriggerConfig/config.jelly
          src/main/resources/hudson/plugins/parameterizedtrigger/FileBuildParameters/config.jelly
          src/main/resources/hudson/plugins/parameterizedtrigger/FileBuildParameters/help-combinationFilter.html
          src/main/resources/hudson/plugins/parameterizedtrigger/FileBuildParameters/help-onlyExactRuns.html
          src/main/resources/hudson/plugins/parameterizedtrigger/FileBuildParameters/help-useMatrixChild.html
          src/main/resources/hudson/plugins/parameterizedtrigger/TriggerBuilder/config.jelly
          src/test/java/hudson/plugins/parameterizedtrigger/test/FileBuildTriggerConfigTest.java
          http://jenkins-ci.org/commit/parameterized-trigger-plugin/1b68ab5925792f75a44b8bba20414dace49cab12
          Log:
          Merge pull request #60 from ikedam/feature/JENKINS-21013_file-from-matrix-build

          JENKINS-21013 Matrix project support for "Parameters from properties file".

          Compare: https://github.com/jenkinsci/parameterized-trigger-plugin/compare/fea0e125f597...1b68ab592579

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: ikedam Path: src/main/java/hudson/plugins/parameterizedtrigger/FileBuildParameters.java src/main/resources/hudson/plugins/parameterizedtrigger/BlockableBuildTriggerConfig/config.jelly src/main/resources/hudson/plugins/parameterizedtrigger/BuildTrigger/config.jelly src/main/resources/hudson/plugins/parameterizedtrigger/BuildTriggerConfig/config.jelly src/main/resources/hudson/plugins/parameterizedtrigger/FileBuildParameters/config.jelly src/main/resources/hudson/plugins/parameterizedtrigger/FileBuildParameters/help-combinationFilter.html src/main/resources/hudson/plugins/parameterizedtrigger/FileBuildParameters/help-onlyExactRuns.html src/main/resources/hudson/plugins/parameterizedtrigger/FileBuildParameters/help-useMatrixChild.html src/main/resources/hudson/plugins/parameterizedtrigger/TriggerBuilder/config.jelly src/test/java/hudson/plugins/parameterizedtrigger/test/FileBuildTriggerConfigTest.java http://jenkins-ci.org/commit/parameterized-trigger-plugin/1b68ab5925792f75a44b8bba20414dace49cab12 Log: Merge pull request #60 from ikedam/feature/ JENKINS-21013 _file-from-matrix-build JENKINS-21013 Matrix project support for "Parameters from properties file". Compare: https://github.com/jenkinsci/parameterized-trigger-plugin/compare/fea0e125f597...1b68ab592579
          Hide
          ikedam ikedam added a comment -

          Released in 2.23.

          Show
          ikedam ikedam added a comment - Released in 2.23.

            People

            • Assignee:
              ikedam ikedam
              Reporter:
              ikedam ikedam
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: