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

Properties file not read when non-default artifact manager used

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      Since 2.26[1] plugins tries to read properties file from artifacts and generally encourages used to archive it. However, it used deprecated API that is not guaranteed to work with different artifact managers.

      It is enough to install compress-artifacts-plugin, configure the property file to be archived and downstream builds will never be scheduled with:

      [parameterizedtrigger] Properties file properties.txt did not exist.
      [parameterized-trigger] Downstream builds will not be triggered as no parameter is set.
      

      [1] https://github.com/jenkinsci/parameterized-trigger-plugin/commit/77355b70a0904a5fae3655dd2a63492b95d869b5

        Attachments

          Issue Links

            Activity

            Hide
            scm_issue_link SCM/JIRA link daemon added a comment -

            Code changed in jenkins
            User: Oliver Gondža
            Path:
            src/main/java/org/jenkinsci/test/acceptance/plugins/compress_artifacts/CompressingArtifactManager.java
            src/main/java/org/jenkinsci/test/acceptance/plugins/parameterized_trigger/BuildParameters.java
            src/main/java/org/jenkinsci/test/acceptance/plugins/parameterized_trigger/FileBuildParameters.java
            src/main/java/org/jenkinsci/test/acceptance/plugins/parameterized_trigger/ParameterizedTrigger.java
            src/main/java/org/jenkinsci/test/acceptance/plugins/parameterized_trigger/TriggerConfig.java
            src/test/java/plugins/CompressArtifactsPluginTest.java
            src/test/java/plugins/ParameterizedTriggerTest.java
            http://jenkins-ci.org/commit/acceptance-test-harness/78695476238536a3a84e6b9b12c7d26fcd997fd2
            Log:
            JENKINS-28980 Reproduce

            Show
            scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Oliver Gondža Path: src/main/java/org/jenkinsci/test/acceptance/plugins/compress_artifacts/CompressingArtifactManager.java src/main/java/org/jenkinsci/test/acceptance/plugins/parameterized_trigger/BuildParameters.java src/main/java/org/jenkinsci/test/acceptance/plugins/parameterized_trigger/FileBuildParameters.java src/main/java/org/jenkinsci/test/acceptance/plugins/parameterized_trigger/ParameterizedTrigger.java src/main/java/org/jenkinsci/test/acceptance/plugins/parameterized_trigger/TriggerConfig.java src/test/java/plugins/CompressArtifactsPluginTest.java src/test/java/plugins/ParameterizedTriggerTest.java http://jenkins-ci.org/commit/acceptance-test-harness/78695476238536a3a84e6b9b12c7d26fcd997fd2 Log: JENKINS-28980 Reproduce
            Hide
            scm_issue_link SCM/JIRA link daemon added a comment -

            Code changed in jenkins
            User: Oliver Gondža
            Path:
            src/test/java/hudson/plugins/parameterizedtrigger/test/FileBuildParameterFactoryTest.java
            src/test/java/hudson/plugins/parameterizedtrigger/test/FileBuildTriggerConfigTest.java
            http://jenkins-ci.org/commit/parameterized-trigger-plugin/a31d1de1f487bb2a5bb9ee7c2dc8dcb8d6623611
            Log:
            JENKINS-28980 Cover archived properties file

            Show
            scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Oliver Gondža Path: src/test/java/hudson/plugins/parameterizedtrigger/test/FileBuildParameterFactoryTest.java src/test/java/hudson/plugins/parameterizedtrigger/test/FileBuildTriggerConfigTest.java http://jenkins-ci.org/commit/parameterized-trigger-plugin/a31d1de1f487bb2a5bb9ee7c2dc8dcb8d6623611 Log: JENKINS-28980 Cover archived properties file
            Hide
            scm_issue_link SCM/JIRA link daemon added a comment -

            Code changed in jenkins
            User: Oliver Gondža
            Path:
            src/main/java/hudson/plugins/parameterizedtrigger/FileBuildParameters.java
            http://jenkins-ci.org/commit/parameterized-trigger-plugin/ed34853248e8561ffb403a016b4764986e412742
            Log:
            [FIXED JENKINS-28980] Do not rely on default ArtifactManager implementation

            Show
            scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Oliver Gondža Path: src/main/java/hudson/plugins/parameterizedtrigger/FileBuildParameters.java http://jenkins-ci.org/commit/parameterized-trigger-plugin/ed34853248e8561ffb403a016b4764986e412742 Log: [FIXED JENKINS-28980] Do not rely on default ArtifactManager implementation

              People

              • Assignee:
                olivergondza Oliver Gondža
                Reporter:
                olivergondza Oliver Gondža
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: