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

Parametrized publishing

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      It would be great if it would be possible to define a parameter and a necessary value for each server or each transfer group, that is evaluated before publishing, and will skip the publishing if the parameter does not have the value.

      Say, I have a job which publishes data to servers A, B and C. I would configure parameter X as .*A.* for server A, .*\B.* for server B and .*C.* for server C.

      If I set the parameter X to "A" the files will only be published to server A, if I set X to "ABC" the files will be published to all three servers.

        Attachments

          Activity

          pushy Michael Pisula created issue -
          pushy Michael Pisula made changes -
          Field Original Value New Value
          Description It would be great if it would be possible to define a parameter and a necessary value for each server or each transfer group, that is evaluated before publishing, and will skip the publishing if the parameter does not have the value.

          Say, I have a job which publishes data to servers A, B and C. I would configure parameter X as .*A.* for server A, .*B.* for server B and .*C.* for server C.

          If I set the parameter X to "A" the files will only be published to server A, if I set X to "ABC" the files will be published to all three servers.
          It would be great if it would be possible to define a parameter and a necessary value for each server or each transfer group, that is evaluated before publishing, and will skip the publishing if the parameter does not have the value.

          Say, I have a job which publishes data to servers A, B and C. I would configure parameter X as .\*A.\* for server A, .*\B.\* for server B and .\*C.\* for server C.

          If I set the parameter X to "A" the files will only be published to server A, if I set X to "ABC" the files will be published to all three servers.
          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in jenkins
          User: bap2000
          Path:
          src/main/java/jenkins/plugins/publish_over/BPInstanceConfig.java
          src/main/java/jenkins/plugins/publish_over/BPPlugin.java
          src/main/java/jenkins/plugins/publish_over/BapPublisher.java
          src/main/java/jenkins/plugins/publish_over/ParamPublish.java
          src/main/java/jenkins/plugins/publish_over/PubSelector.java
          src/main/java/jenkins/plugins/publish_over/PublisherLabel.java
          src/main/resources/jenkins/plugins/publish_over/Messages.properties
          src/test/java/jenkins/plugins/publish_over/BPInstanceConfigTest.java
          src/test/java/jenkins/plugins/publish_over/BapPublisherTest.java
          src/test/java/jenkins/plugins/publish_over/ParamPublishTest.java
          http://jenkins-ci.org/commit/publish-over-plugin/e639bd8503b8adb9da23c7bd24794b7283bd41d2
          Log:
          [FIXED JENKINS-10006] Parameterized publishing

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: bap2000 Path: src/main/java/jenkins/plugins/publish_over/BPInstanceConfig.java src/main/java/jenkins/plugins/publish_over/BPPlugin.java src/main/java/jenkins/plugins/publish_over/BapPublisher.java src/main/java/jenkins/plugins/publish_over/ParamPublish.java src/main/java/jenkins/plugins/publish_over/PubSelector.java src/main/java/jenkins/plugins/publish_over/PublisherLabel.java src/main/resources/jenkins/plugins/publish_over/Messages.properties src/test/java/jenkins/plugins/publish_over/BPInstanceConfigTest.java src/test/java/jenkins/plugins/publish_over/BapPublisherTest.java src/test/java/jenkins/plugins/publish_over/ParamPublishTest.java http://jenkins-ci.org/commit/publish-over-plugin/e639bd8503b8adb9da23c7bd24794b7283bd41d2 Log: [FIXED JENKINS-10006] Parameterized publishing
          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in jenkins
          User: bap2000
          Path:
          src/main/java/jenkins/plugins/publish_over/BPInstanceConfig.java
          src/main/java/jenkins/plugins/publish_over/BPPlugin.java
          src/main/java/jenkins/plugins/publish_over/BapPublisher.java
          src/main/java/jenkins/plugins/publish_over/ParamPublish.java
          src/main/java/jenkins/plugins/publish_over/PubSelector.java
          src/main/java/jenkins/plugins/publish_over/PublisherLabel.java
          src/main/resources/jenkins/plugins/publish_over/Messages.properties
          src/test/java/jenkins/plugins/publish_over/BPInstanceConfigTest.java
          src/test/java/jenkins/plugins/publish_over/BapPublisherTest.java
          src/test/java/jenkins/plugins/publish_over/ParamPublishTest.java
          http://jenkins-ci.org/commit/publish-over-plugin/e639bd8503b8adb9da23c7bd24794b7283bd41d2
          Log:
          [FIXED JENKINS-10006] Parameterized publishing

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: bap2000 Path: src/main/java/jenkins/plugins/publish_over/BPInstanceConfig.java src/main/java/jenkins/plugins/publish_over/BPPlugin.java src/main/java/jenkins/plugins/publish_over/BapPublisher.java src/main/java/jenkins/plugins/publish_over/ParamPublish.java src/main/java/jenkins/plugins/publish_over/PubSelector.java src/main/java/jenkins/plugins/publish_over/PublisherLabel.java src/main/resources/jenkins/plugins/publish_over/Messages.properties src/test/java/jenkins/plugins/publish_over/BPInstanceConfigTest.java src/test/java/jenkins/plugins/publish_over/BapPublisherTest.java src/test/java/jenkins/plugins/publish_over/ParamPublishTest.java http://jenkins-ci.org/commit/publish-over-plugin/e639bd8503b8adb9da23c7bd24794b7283bd41d2 Log: [FIXED JENKINS-10006] Parameterized publishing
          scm_issue_link SCM/JIRA link daemon made changes -
          Resolution Fixed [ 1 ]
          Status Open [ 1 ] Resolved [ 5 ]
          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in jenkins
          User: bap2000
          Path:
          src/main/java/jenkins/plugins/publish_over_cifs/CifsBuilderPlugin.java
          src/main/java/jenkins/plugins/publish_over_cifs/CifsParamPublish.java
          src/main/java/jenkins/plugins/publish_over_cifs/CifsPromotionPublisherPlugin.java
          src/main/java/jenkins/plugins/publish_over_cifs/CifsPublisher.java
          src/main/java/jenkins/plugins/publish_over_cifs/CifsPublisherLabel.java
          src/main/java/jenkins/plugins/publish_over_cifs/CifsPublisherPlugin.java
          src/main/resources/jenkins/plugins/publish_over_cifs/CifsPublisherPlugin/config.jelly
          src/main/resources/jenkins/plugins/publish_over_cifs/CifsPublisherPlugin/config.properties
          src/main/resources/jenkins/plugins/publish_over_cifs/CifsPublisherPlugin/help-paramPublish.jelly
          src/main/webapp/help/config/label.html
          src/main/webapp/help/config/parameterName.html
          src/test/java/jenkins/plugins/publish_over_cifs/CifsPublisherTest.java
          http://jenkins-ci.org/commit/publish-over-cifs-plugin/fbd378f08a52dbfb388b885b3ed583dfa96541e0
          Log:
          [FIXED JENKINS-10006] Parameterized publishing

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: bap2000 Path: src/main/java/jenkins/plugins/publish_over_cifs/CifsBuilderPlugin.java src/main/java/jenkins/plugins/publish_over_cifs/CifsParamPublish.java src/main/java/jenkins/plugins/publish_over_cifs/CifsPromotionPublisherPlugin.java src/main/java/jenkins/plugins/publish_over_cifs/CifsPublisher.java src/main/java/jenkins/plugins/publish_over_cifs/CifsPublisherLabel.java src/main/java/jenkins/plugins/publish_over_cifs/CifsPublisherPlugin.java src/main/resources/jenkins/plugins/publish_over_cifs/CifsPublisherPlugin/config.jelly src/main/resources/jenkins/plugins/publish_over_cifs/CifsPublisherPlugin/config.properties src/main/resources/jenkins/plugins/publish_over_cifs/CifsPublisherPlugin/help-paramPublish.jelly src/main/webapp/help/config/label.html src/main/webapp/help/config/parameterName.html src/test/java/jenkins/plugins/publish_over_cifs/CifsPublisherTest.java http://jenkins-ci.org/commit/publish-over-cifs-plugin/fbd378f08a52dbfb388b885b3ed583dfa96541e0 Log: [FIXED JENKINS-10006] Parameterized publishing
          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in jenkins
          User: bap2000
          Path:
          src/main/java/jenkins/plugins/publish_over_cifs/CifsBuilderPlugin.java
          src/main/java/jenkins/plugins/publish_over_cifs/CifsParamPublish.java
          src/main/java/jenkins/plugins/publish_over_cifs/CifsPromotionPublisherPlugin.java
          src/main/java/jenkins/plugins/publish_over_cifs/CifsPublisher.java
          src/main/java/jenkins/plugins/publish_over_cifs/CifsPublisherLabel.java
          src/main/java/jenkins/plugins/publish_over_cifs/CifsPublisherPlugin.java
          src/main/resources/jenkins/plugins/publish_over_cifs/CifsPublisherPlugin/config.jelly
          src/main/resources/jenkins/plugins/publish_over_cifs/CifsPublisherPlugin/config.properties
          src/main/resources/jenkins/plugins/publish_over_cifs/CifsPublisherPlugin/help-paramPublish.jelly
          src/main/webapp/help/config/label.html
          src/main/webapp/help/config/parameterName.html
          src/test/java/jenkins/plugins/publish_over_cifs/CifsPublisherTest.java
          http://jenkins-ci.org/commit/publish-over-cifs-plugin/fbd378f08a52dbfb388b885b3ed583dfa96541e0
          Log:
          [FIXED JENKINS-10006] Parameterized publishing

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: bap2000 Path: src/main/java/jenkins/plugins/publish_over_cifs/CifsBuilderPlugin.java src/main/java/jenkins/plugins/publish_over_cifs/CifsParamPublish.java src/main/java/jenkins/plugins/publish_over_cifs/CifsPromotionPublisherPlugin.java src/main/java/jenkins/plugins/publish_over_cifs/CifsPublisher.java src/main/java/jenkins/plugins/publish_over_cifs/CifsPublisherLabel.java src/main/java/jenkins/plugins/publish_over_cifs/CifsPublisherPlugin.java src/main/resources/jenkins/plugins/publish_over_cifs/CifsPublisherPlugin/config.jelly src/main/resources/jenkins/plugins/publish_over_cifs/CifsPublisherPlugin/config.properties src/main/resources/jenkins/plugins/publish_over_cifs/CifsPublisherPlugin/help-paramPublish.jelly src/main/webapp/help/config/label.html src/main/webapp/help/config/parameterName.html src/test/java/jenkins/plugins/publish_over_cifs/CifsPublisherTest.java http://jenkins-ci.org/commit/publish-over-cifs-plugin/fbd378f08a52dbfb388b885b3ed583dfa96541e0 Log: [FIXED JENKINS-10006] Parameterized publishing
          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in jenkins
          User: bap2000
          Path:
          src/main/java/jenkins/plugins/publish_over_ftp/BapFtpParamPublish.java
          src/main/java/jenkins/plugins/publish_over_ftp/BapFtpPromotionPublisherPlugin.java
          src/main/java/jenkins/plugins/publish_over_ftp/BapFtpPublisher.java
          src/main/java/jenkins/plugins/publish_over_ftp/BapFtpPublisherLabel.java
          src/main/java/jenkins/plugins/publish_over_ftp/BapFtpPublisherPlugin.java
          src/main/resources/jenkins/plugins/publish_over_ftp/BapFtpParamPublish/config.jelly
          src/main/resources/jenkins/plugins/publish_over_ftp/BapFtpParamPublish/config.properties
          src/main/resources/jenkins/plugins/publish_over_ftp/BapFtpParamPublish/help-parameterName.html
          src/main/resources/jenkins/plugins/publish_over_ftp/BapFtpPublisher/config.jelly
          src/main/resources/jenkins/plugins/publish_over_ftp/BapFtpPublisher/config.properties
          src/main/resources/jenkins/plugins/publish_over_ftp/BapFtpPublisher/help-label.html
          src/main/resources/jenkins/plugins/publish_over_ftp/BapFtpPublisherLabel/config.jelly
          src/main/resources/jenkins/plugins/publish_over_ftp/BapFtpPublisherLabel/config.properties
          src/main/resources/jenkins/plugins/publish_over_ftp/BapFtpPublisherLabel/help-label.html
          src/main/resources/jenkins/plugins/publish_over_ftp/BapFtpPublisherPlugin/config.jelly
          src/main/resources/jenkins/plugins/publish_over_ftp/BapFtpPublisherPlugin/config.properties
          src/main/resources/jenkins/plugins/publish_over_ftp/BapFtpPublisherPlugin/help-paramPublish.jelly
          src/main/resources/jenkins/plugins/publish_over_ftp/Messages.properties
          src/test/java/jenkins/plugins/publish_over_ftp/jenkins/CurrentConfigurationTest.java
          src/test/java/jenkins/plugins/publish_over_ftp/jenkins/IntegrationTest.java
          src/test/java/jenkins/plugins/publish_over_ftp/jenkins/LegacyConfigurationTest.java
          http://jenkins-ci.org/commit/publish-over-ftp-plugin/b1c16d5eb02c9b02b78fa8943a192ec324e629c8
          Log:
          [FIXED JENKINS-10006] Parameterized publishing

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: bap2000 Path: src/main/java/jenkins/plugins/publish_over_ftp/BapFtpParamPublish.java src/main/java/jenkins/plugins/publish_over_ftp/BapFtpPromotionPublisherPlugin.java src/main/java/jenkins/plugins/publish_over_ftp/BapFtpPublisher.java src/main/java/jenkins/plugins/publish_over_ftp/BapFtpPublisherLabel.java src/main/java/jenkins/plugins/publish_over_ftp/BapFtpPublisherPlugin.java src/main/resources/jenkins/plugins/publish_over_ftp/BapFtpParamPublish/config.jelly src/main/resources/jenkins/plugins/publish_over_ftp/BapFtpParamPublish/config.properties src/main/resources/jenkins/plugins/publish_over_ftp/BapFtpParamPublish/help-parameterName.html src/main/resources/jenkins/plugins/publish_over_ftp/BapFtpPublisher/config.jelly src/main/resources/jenkins/plugins/publish_over_ftp/BapFtpPublisher/config.properties src/main/resources/jenkins/plugins/publish_over_ftp/BapFtpPublisher/help-label.html src/main/resources/jenkins/plugins/publish_over_ftp/BapFtpPublisherLabel/config.jelly src/main/resources/jenkins/plugins/publish_over_ftp/BapFtpPublisherLabel/config.properties src/main/resources/jenkins/plugins/publish_over_ftp/BapFtpPublisherLabel/help-label.html src/main/resources/jenkins/plugins/publish_over_ftp/BapFtpPublisherPlugin/config.jelly src/main/resources/jenkins/plugins/publish_over_ftp/BapFtpPublisherPlugin/config.properties src/main/resources/jenkins/plugins/publish_over_ftp/BapFtpPublisherPlugin/help-paramPublish.jelly src/main/resources/jenkins/plugins/publish_over_ftp/Messages.properties src/test/java/jenkins/plugins/publish_over_ftp/jenkins/CurrentConfigurationTest.java src/test/java/jenkins/plugins/publish_over_ftp/jenkins/IntegrationTest.java src/test/java/jenkins/plugins/publish_over_ftp/jenkins/LegacyConfigurationTest.java http://jenkins-ci.org/commit/publish-over-ftp-plugin/b1c16d5eb02c9b02b78fa8943a192ec324e629c8 Log: [FIXED JENKINS-10006] Parameterized publishing
          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in jenkins
          User: bap2000
          Path:
          src/main/java/jenkins/plugins/publish_over_ftp/BapFtpParamPublish.java
          src/main/java/jenkins/plugins/publish_over_ftp/BapFtpPromotionPublisherPlugin.java
          src/main/java/jenkins/plugins/publish_over_ftp/BapFtpPublisher.java
          src/main/java/jenkins/plugins/publish_over_ftp/BapFtpPublisherLabel.java
          src/main/java/jenkins/plugins/publish_over_ftp/BapFtpPublisherPlugin.java
          src/main/resources/jenkins/plugins/publish_over_ftp/BapFtpParamPublish/config.jelly
          src/main/resources/jenkins/plugins/publish_over_ftp/BapFtpParamPublish/config.properties
          src/main/resources/jenkins/plugins/publish_over_ftp/BapFtpParamPublish/help-parameterName.html
          src/main/resources/jenkins/plugins/publish_over_ftp/BapFtpPublisher/config.jelly
          src/main/resources/jenkins/plugins/publish_over_ftp/BapFtpPublisher/config.properties
          src/main/resources/jenkins/plugins/publish_over_ftp/BapFtpPublisher/help-label.html
          src/main/resources/jenkins/plugins/publish_over_ftp/BapFtpPublisherLabel/config.jelly
          src/main/resources/jenkins/plugins/publish_over_ftp/BapFtpPublisherLabel/config.properties
          src/main/resources/jenkins/plugins/publish_over_ftp/BapFtpPublisherLabel/help-label.html
          src/main/resources/jenkins/plugins/publish_over_ftp/BapFtpPublisherPlugin/config.jelly
          src/main/resources/jenkins/plugins/publish_over_ftp/BapFtpPublisherPlugin/config.properties
          src/main/resources/jenkins/plugins/publish_over_ftp/BapFtpPublisherPlugin/help-paramPublish.jelly
          src/main/resources/jenkins/plugins/publish_over_ftp/Messages.properties
          src/test/java/jenkins/plugins/publish_over_ftp/jenkins/CurrentConfigurationTest.java
          src/test/java/jenkins/plugins/publish_over_ftp/jenkins/IntegrationTest.java
          src/test/java/jenkins/plugins/publish_over_ftp/jenkins/LegacyConfigurationTest.java
          http://jenkins-ci.org/commit/publish-over-ftp-plugin/b1c16d5eb02c9b02b78fa8943a192ec324e629c8
          Log:
          [FIXED JENKINS-10006] Parameterized publishing

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: bap2000 Path: src/main/java/jenkins/plugins/publish_over_ftp/BapFtpParamPublish.java src/main/java/jenkins/plugins/publish_over_ftp/BapFtpPromotionPublisherPlugin.java src/main/java/jenkins/plugins/publish_over_ftp/BapFtpPublisher.java src/main/java/jenkins/plugins/publish_over_ftp/BapFtpPublisherLabel.java src/main/java/jenkins/plugins/publish_over_ftp/BapFtpPublisherPlugin.java src/main/resources/jenkins/plugins/publish_over_ftp/BapFtpParamPublish/config.jelly src/main/resources/jenkins/plugins/publish_over_ftp/BapFtpParamPublish/config.properties src/main/resources/jenkins/plugins/publish_over_ftp/BapFtpParamPublish/help-parameterName.html src/main/resources/jenkins/plugins/publish_over_ftp/BapFtpPublisher/config.jelly src/main/resources/jenkins/plugins/publish_over_ftp/BapFtpPublisher/config.properties src/main/resources/jenkins/plugins/publish_over_ftp/BapFtpPublisher/help-label.html src/main/resources/jenkins/plugins/publish_over_ftp/BapFtpPublisherLabel/config.jelly src/main/resources/jenkins/plugins/publish_over_ftp/BapFtpPublisherLabel/config.properties src/main/resources/jenkins/plugins/publish_over_ftp/BapFtpPublisherLabel/help-label.html src/main/resources/jenkins/plugins/publish_over_ftp/BapFtpPublisherPlugin/config.jelly src/main/resources/jenkins/plugins/publish_over_ftp/BapFtpPublisherPlugin/config.properties src/main/resources/jenkins/plugins/publish_over_ftp/BapFtpPublisherPlugin/help-paramPublish.jelly src/main/resources/jenkins/plugins/publish_over_ftp/Messages.properties src/test/java/jenkins/plugins/publish_over_ftp/jenkins/CurrentConfigurationTest.java src/test/java/jenkins/plugins/publish_over_ftp/jenkins/IntegrationTest.java src/test/java/jenkins/plugins/publish_over_ftp/jenkins/LegacyConfigurationTest.java http://jenkins-ci.org/commit/publish-over-ftp-plugin/b1c16d5eb02c9b02b78fa8943a192ec324e629c8 Log: [FIXED JENKINS-10006] Parameterized publishing
          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in jenkins
          User: bap2000
          Path:
          src/main/java/jenkins/plugins/publish_over_ssh/BapSshAlwaysRunPublisherPlugin.java
          src/main/java/jenkins/plugins/publish_over_ssh/BapSshBuilderPlugin.java
          src/main/java/jenkins/plugins/publish_over_ssh/BapSshParamPublish.java
          src/main/java/jenkins/plugins/publish_over_ssh/BapSshPostBuildWrapper.java
          src/main/java/jenkins/plugins/publish_over_ssh/BapSshPreBuildWrapper.java
          src/main/java/jenkins/plugins/publish_over_ssh/BapSshPromotionPublisherPlugin.java
          src/main/java/jenkins/plugins/publish_over_ssh/BapSshPublisher.java
          src/main/java/jenkins/plugins/publish_over_ssh/BapSshPublisherLabel.java
          src/main/java/jenkins/plugins/publish_over_ssh/BapSshPublisherPlugin.java
          src/main/resources/jenkins/plugins/publish_over_ssh/BapSshParamPublish/config.jelly
          src/main/resources/jenkins/plugins/publish_over_ssh/BapSshParamPublish/config.properties
          src/main/resources/jenkins/plugins/publish_over_ssh/BapSshParamPublish/help-parameterName.html
          src/main/resources/jenkins/plugins/publish_over_ssh/BapSshPublisher/config.jelly
          src/main/resources/jenkins/plugins/publish_over_ssh/BapSshPublisher/config.properties
          src/main/resources/jenkins/plugins/publish_over_ssh/BapSshPublisher/help-label.html
          src/main/resources/jenkins/plugins/publish_over_ssh/BapSshPublisherLabel/config.jelly
          src/main/resources/jenkins/plugins/publish_over_ssh/BapSshPublisherLabel/config.properties
          src/main/resources/jenkins/plugins/publish_over_ssh/BapSshPublisherLabel/help-label.html
          src/main/resources/jenkins/plugins/publish_over_ssh/BapSshPublisherPlugin/config.jelly
          src/main/resources/jenkins/plugins/publish_over_ssh/BapSshPublisherPlugin/config.properties
          src/main/resources/jenkins/plugins/publish_over_ssh/BapSshPublisherPlugin/help-paramPublish.jelly
          src/main/resources/jenkins/plugins/publish_over_ssh/Messages.properties
          src/test/java/jenkins/plugins/publish_over_ssh/jenkins/IntegrationTest.java
          src/test/java/jenkins/plugins/publish_over_ssh/jenkins/LegacyConfigurationTest.java
          http://jenkins-ci.org/commit/publish-over-ssh-plugin/5c4434a6d7009c9d6b57be19a5c3cc0e379f4779
          Log:
          [FIXED JENKINS-10006] Parameterized publishing

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: bap2000 Path: src/main/java/jenkins/plugins/publish_over_ssh/BapSshAlwaysRunPublisherPlugin.java src/main/java/jenkins/plugins/publish_over_ssh/BapSshBuilderPlugin.java src/main/java/jenkins/plugins/publish_over_ssh/BapSshParamPublish.java src/main/java/jenkins/plugins/publish_over_ssh/BapSshPostBuildWrapper.java src/main/java/jenkins/plugins/publish_over_ssh/BapSshPreBuildWrapper.java src/main/java/jenkins/plugins/publish_over_ssh/BapSshPromotionPublisherPlugin.java src/main/java/jenkins/plugins/publish_over_ssh/BapSshPublisher.java src/main/java/jenkins/plugins/publish_over_ssh/BapSshPublisherLabel.java src/main/java/jenkins/plugins/publish_over_ssh/BapSshPublisherPlugin.java src/main/resources/jenkins/plugins/publish_over_ssh/BapSshParamPublish/config.jelly src/main/resources/jenkins/plugins/publish_over_ssh/BapSshParamPublish/config.properties src/main/resources/jenkins/plugins/publish_over_ssh/BapSshParamPublish/help-parameterName.html src/main/resources/jenkins/plugins/publish_over_ssh/BapSshPublisher/config.jelly src/main/resources/jenkins/plugins/publish_over_ssh/BapSshPublisher/config.properties src/main/resources/jenkins/plugins/publish_over_ssh/BapSshPublisher/help-label.html src/main/resources/jenkins/plugins/publish_over_ssh/BapSshPublisherLabel/config.jelly src/main/resources/jenkins/plugins/publish_over_ssh/BapSshPublisherLabel/config.properties src/main/resources/jenkins/plugins/publish_over_ssh/BapSshPublisherLabel/help-label.html src/main/resources/jenkins/plugins/publish_over_ssh/BapSshPublisherPlugin/config.jelly src/main/resources/jenkins/plugins/publish_over_ssh/BapSshPublisherPlugin/config.properties src/main/resources/jenkins/plugins/publish_over_ssh/BapSshPublisherPlugin/help-paramPublish.jelly src/main/resources/jenkins/plugins/publish_over_ssh/Messages.properties src/test/java/jenkins/plugins/publish_over_ssh/jenkins/IntegrationTest.java src/test/java/jenkins/plugins/publish_over_ssh/jenkins/LegacyConfigurationTest.java http://jenkins-ci.org/commit/publish-over-ssh-plugin/5c4434a6d7009c9d6b57be19a5c3cc0e379f4779 Log: [FIXED JENKINS-10006] Parameterized publishing
          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in jenkins
          User: bap2000
          Path:
          src/main/java/jenkins/plugins/publish_over_ssh/BapSshAlwaysRunPublisherPlugin.java
          src/main/java/jenkins/plugins/publish_over_ssh/BapSshBuilderPlugin.java
          src/main/java/jenkins/plugins/publish_over_ssh/BapSshParamPublish.java
          src/main/java/jenkins/plugins/publish_over_ssh/BapSshPostBuildWrapper.java
          src/main/java/jenkins/plugins/publish_over_ssh/BapSshPreBuildWrapper.java
          src/main/java/jenkins/plugins/publish_over_ssh/BapSshPromotionPublisherPlugin.java
          src/main/java/jenkins/plugins/publish_over_ssh/BapSshPublisher.java
          src/main/java/jenkins/plugins/publish_over_ssh/BapSshPublisherLabel.java
          src/main/java/jenkins/plugins/publish_over_ssh/BapSshPublisherPlugin.java
          src/main/resources/jenkins/plugins/publish_over_ssh/BapSshParamPublish/config.jelly
          src/main/resources/jenkins/plugins/publish_over_ssh/BapSshParamPublish/config.properties
          src/main/resources/jenkins/plugins/publish_over_ssh/BapSshParamPublish/help-parameterName.html
          src/main/resources/jenkins/plugins/publish_over_ssh/BapSshPublisher/config.jelly
          src/main/resources/jenkins/plugins/publish_over_ssh/BapSshPublisher/config.properties
          src/main/resources/jenkins/plugins/publish_over_ssh/BapSshPublisher/help-label.html
          src/main/resources/jenkins/plugins/publish_over_ssh/BapSshPublisherLabel/config.jelly
          src/main/resources/jenkins/plugins/publish_over_ssh/BapSshPublisherLabel/config.properties
          src/main/resources/jenkins/plugins/publish_over_ssh/BapSshPublisherLabel/help-label.html
          src/main/resources/jenkins/plugins/publish_over_ssh/BapSshPublisherPlugin/config.jelly
          src/main/resources/jenkins/plugins/publish_over_ssh/BapSshPublisherPlugin/config.properties
          src/main/resources/jenkins/plugins/publish_over_ssh/BapSshPublisherPlugin/help-paramPublish.jelly
          src/main/resources/jenkins/plugins/publish_over_ssh/Messages.properties
          src/test/java/jenkins/plugins/publish_over_ssh/jenkins/IntegrationTest.java
          src/test/java/jenkins/plugins/publish_over_ssh/jenkins/LegacyConfigurationTest.java
          http://jenkins-ci.org/commit/publish-over-ssh-plugin/5c4434a6d7009c9d6b57be19a5c3cc0e379f4779
          Log:
          [FIXED JENKINS-10006] Parameterized publishing

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: bap2000 Path: src/main/java/jenkins/plugins/publish_over_ssh/BapSshAlwaysRunPublisherPlugin.java src/main/java/jenkins/plugins/publish_over_ssh/BapSshBuilderPlugin.java src/main/java/jenkins/plugins/publish_over_ssh/BapSshParamPublish.java src/main/java/jenkins/plugins/publish_over_ssh/BapSshPostBuildWrapper.java src/main/java/jenkins/plugins/publish_over_ssh/BapSshPreBuildWrapper.java src/main/java/jenkins/plugins/publish_over_ssh/BapSshPromotionPublisherPlugin.java src/main/java/jenkins/plugins/publish_over_ssh/BapSshPublisher.java src/main/java/jenkins/plugins/publish_over_ssh/BapSshPublisherLabel.java src/main/java/jenkins/plugins/publish_over_ssh/BapSshPublisherPlugin.java src/main/resources/jenkins/plugins/publish_over_ssh/BapSshParamPublish/config.jelly src/main/resources/jenkins/plugins/publish_over_ssh/BapSshParamPublish/config.properties src/main/resources/jenkins/plugins/publish_over_ssh/BapSshParamPublish/help-parameterName.html src/main/resources/jenkins/plugins/publish_over_ssh/BapSshPublisher/config.jelly src/main/resources/jenkins/plugins/publish_over_ssh/BapSshPublisher/config.properties src/main/resources/jenkins/plugins/publish_over_ssh/BapSshPublisher/help-label.html src/main/resources/jenkins/plugins/publish_over_ssh/BapSshPublisherLabel/config.jelly src/main/resources/jenkins/plugins/publish_over_ssh/BapSshPublisherLabel/config.properties src/main/resources/jenkins/plugins/publish_over_ssh/BapSshPublisherLabel/help-label.html src/main/resources/jenkins/plugins/publish_over_ssh/BapSshPublisherPlugin/config.jelly src/main/resources/jenkins/plugins/publish_over_ssh/BapSshPublisherPlugin/config.properties src/main/resources/jenkins/plugins/publish_over_ssh/BapSshPublisherPlugin/help-paramPublish.jelly src/main/resources/jenkins/plugins/publish_over_ssh/Messages.properties src/test/java/jenkins/plugins/publish_over_ssh/jenkins/IntegrationTest.java src/test/java/jenkins/plugins/publish_over_ssh/jenkins/LegacyConfigurationTest.java http://jenkins-ci.org/commit/publish-over-ssh-plugin/5c4434a6d7009c9d6b57be19a5c3cc0e379f4779 Log: [FIXED JENKINS-10006] Parameterized publishing
          Hide
          bap bap added a comment -

          Michael,

          I have inverted the label (token) and the parameter value from your example, as I believe it makes the labels simpler and the selection more flexible.

          Therefore, you will be able to give one publisher the label A another B and a 3rd C.

          The value of the parameter to select A and C would then be [AC] (actually [AC]$ due to JENKINS-10201) or A|C
          To only publish to A, the expression would also be A
          For all 3 - [ABC]$ A|B|C .* or .+ would all work

          Bap.

          Show
          bap bap added a comment - Michael, I have inverted the label (token) and the parameter value from your example, as I believe it makes the labels simpler and the selection more flexible. Therefore, you will be able to give one publisher the label A another B and a 3rd C. The value of the parameter to select A and C would then be [AC] (actually [AC] $ due to JENKINS-10201 ) or A|C To only publish to A, the expression would also be A For all 3 - [ABC] $ A|B|C .* or .+ would all work Bap.
          bap bap made changes -
          Status Resolved [ 5 ] Closed [ 6 ]
          Hide
          dogfood dogfood added a comment -

          Integrated in plugins_publish-over-parent #129
          [FIXED JENKINS-10006] Parameterized publishing

          bap2000 :
          Files :

          • src/main/java/jenkins/plugins/publish_over/BPPlugin.java
          • src/main/java/jenkins/plugins/publish_over/ParamPublish.java
          • src/test/java/jenkins/plugins/publish_over/BapPublisherTest.java
          • src/test/java/jenkins/plugins/publish_over/ParamPublishTest.java
          • src/main/java/jenkins/plugins/publish_over/PubSelector.java
          • src/test/java/jenkins/plugins/publish_over/BPInstanceConfigTest.java
          • src/main/java/jenkins/plugins/publish_over/BapPublisher.java
          • src/main/java/jenkins/plugins/publish_over/PublisherLabel.java
          • src/main/java/jenkins/plugins/publish_over/BPInstanceConfig.java
          • src/main/resources/jenkins/plugins/publish_over/Messages.properties
          Show
          dogfood dogfood added a comment - Integrated in plugins_publish-over-parent #129 [FIXED JENKINS-10006] Parameterized publishing bap2000 : Files : src/main/java/jenkins/plugins/publish_over/BPPlugin.java src/main/java/jenkins/plugins/publish_over/ParamPublish.java src/test/java/jenkins/plugins/publish_over/BapPublisherTest.java src/test/java/jenkins/plugins/publish_over/ParamPublishTest.java src/main/java/jenkins/plugins/publish_over/PubSelector.java src/test/java/jenkins/plugins/publish_over/BPInstanceConfigTest.java src/main/java/jenkins/plugins/publish_over/BapPublisher.java src/main/java/jenkins/plugins/publish_over/PublisherLabel.java src/main/java/jenkins/plugins/publish_over/BPInstanceConfig.java src/main/resources/jenkins/plugins/publish_over/Messages.properties
          Hide
          dogfood dogfood added a comment -
          Show
          dogfood dogfood added a comment - Integrated in plugins_publish-over-ftp-plugin #141
          Hide
          dogfood dogfood added a comment -
          Show
          dogfood dogfood added a comment - Integrated in plugins_publish-over-ssh-plugin #150
          Hide
          dogfood dogfood added a comment -

          Integrated in plugins_publish-over-cifs-plugin #10
          [FIXED JENKINS-10006] Parameterized publishing

          bap2000 :
          Files :

          • src/main/resources/jenkins/plugins/publish_over_cifs/CifsPublisherPlugin/config.jelly
          • src/main/java/jenkins/plugins/publish_over_cifs/CifsPublisher.java
          • src/main/java/jenkins/plugins/publish_over_cifs/CifsPublisherPlugin.java
          • src/main/java/jenkins/plugins/publish_over_cifs/CifsPromotionPublisherPlugin.java
          • src/main/java/jenkins/plugins/publish_over_cifs/CifsParamPublish.java
          • src/main/webapp/help/config/parameterName.html
          • src/main/resources/jenkins/plugins/publish_over_cifs/CifsPublisherPlugin/config.properties
          • src/test/java/jenkins/plugins/publish_over_cifs/CifsPublisherTest.java
          • src/main/java/jenkins/plugins/publish_over_cifs/CifsBuilderPlugin.java
          • src/main/resources/jenkins/plugins/publish_over_cifs/CifsPublisherPlugin/help-paramPublish.jelly
          • src/main/webapp/help/config/label.html
          • src/main/java/jenkins/plugins/publish_over_cifs/CifsPublisherLabel.java
          Show
          dogfood dogfood added a comment - Integrated in plugins_publish-over-cifs-plugin #10 [FIXED JENKINS-10006] Parameterized publishing bap2000 : Files : src/main/resources/jenkins/plugins/publish_over_cifs/CifsPublisherPlugin/config.jelly src/main/java/jenkins/plugins/publish_over_cifs/CifsPublisher.java src/main/java/jenkins/plugins/publish_over_cifs/CifsPublisherPlugin.java src/main/java/jenkins/plugins/publish_over_cifs/CifsPromotionPublisherPlugin.java src/main/java/jenkins/plugins/publish_over_cifs/CifsParamPublish.java src/main/webapp/help/config/parameterName.html src/main/resources/jenkins/plugins/publish_over_cifs/CifsPublisherPlugin/config.properties src/test/java/jenkins/plugins/publish_over_cifs/CifsPublisherTest.java src/main/java/jenkins/plugins/publish_over_cifs/CifsBuilderPlugin.java src/main/resources/jenkins/plugins/publish_over_cifs/CifsPublisherPlugin/help-paramPublish.jelly src/main/webapp/help/config/label.html src/main/java/jenkins/plugins/publish_over_cifs/CifsPublisherLabel.java
          rtyler R. Tyler Croy made changes -
          Workflow JNJira [ 140194 ] JNJira + In-Review [ 205175 ]

            People

            Assignee:
            bap bap
            Reporter:
            pushy Michael Pisula
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: