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

Set ACCUREV_STREAM by parameter

    XMLWordPrintable

Details

    • Improvement
    • Status: Resolved (View Workflow)
    • Major
    • Resolution: Fixed
    • accurev-plugin
    • None
    • Jenkins v1.415, AccuRev v0.6.15

    Description

      An external entity provides the stream which the AccuRev plugin would use.

      For example there is a parametrized job which's string parameter gets the name that the plugin should use.

      Otherwise, an overwrite of %ACCUREV_STREAM% (e.g. set a parameter called ACCUREV_STREAM) would be an alternative.

      Attachments

        Activity

          robsimon robsimon added a comment - - edited

          It should be done like the "Build selector for Copy Artifact" which can be set as a parameter and the plugin is able to retrieve the value from this special parameter.

          See: https://wiki.jenkins-ci.org/display/JENKINS/Copy+Artifact+Plugin

          robsimon robsimon added a comment - - edited It should be done like the "Build selector for Copy Artifact" which can be set as a parameter and the plugin is able to retrieve the value from this special parameter. See: https://wiki.jenkins-ci.org/display/JENKINS/Copy+Artifact+Plugin
          robsimon robsimon added a comment - - edited

          files contain fix to this improvement
          usage:

          • make parameter in job e.g. acstream
          • then set in stream name field: ${acstream}
          • SCM polling will go against the default value of the parameter
          robsimon robsimon added a comment - - edited files contain fix to this improvement usage: make parameter in job e.g. acstream then set in stream name field: ${acstream} SCM polling will go against the default value of the parameter

          Code changed in jenkins
          User: Robert Simon
          Path:
          src/main/java/hudson/plugins/accurev/AccurevSCM.java
          http://jenkins-ci.org/commit/accurev-plugin/5963a906352cf5c57230867cdd1d934887baa303
          Log:
          JENKINS-10073: Set ACCUREV_STREAM by parameter

          An external entity provides the stream which the AccuRev plugin would use.

          For example there is a parametrized job which's string parameter gets the name that the plugin should use.

          Otherwise, an overwrite of %ACCUREV_STREAM% (e.g. set a parameter called ACCUREV_STREAM) would be an alternative.

          It should be done like the "Build selector for Copy Artifact" which can be set as a parameter and the plugin is able to retrieve the value from this special parameter.

          See: https://wiki.jenkins-ci.org/display/JENKINS/Copy+Artifact+Plugin

          -----------

          files contain fix to this improvement
          usage:

          • make parameter in job e.g. acstream
          • then set in stream name field: ${acstream}
          • SCM polling will go against the default value of the parameter

          One thing what we didn’t put in there is the catch of Choice parameters for the SCM polling since we were happy with the simple String parameter.

          Signed-off-by: helterscelter <https://github.com/helterscelter>

          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Robert Simon Path: src/main/java/hudson/plugins/accurev/AccurevSCM.java http://jenkins-ci.org/commit/accurev-plugin/5963a906352cf5c57230867cdd1d934887baa303 Log: JENKINS-10073 : Set ACCUREV_STREAM by parameter An external entity provides the stream which the AccuRev plugin would use. For example there is a parametrized job which's string parameter gets the name that the plugin should use. Otherwise, an overwrite of %ACCUREV_STREAM% (e.g. set a parameter called ACCUREV_STREAM) would be an alternative. It should be done like the "Build selector for Copy Artifact" which can be set as a parameter and the plugin is able to retrieve the value from this special parameter. See: https://wiki.jenkins-ci.org/display/JENKINS/Copy+Artifact+Plugin ----------- files contain fix to this improvement usage: make parameter in job e.g. acstream then set in stream name field: ${acstream} SCM polling will go against the default value of the parameter One thing what we didn’t put in there is the catch of Choice parameters for the SCM polling since we were happy with the simple String parameter. Signed-off-by: helterscelter < https://github.com/helterscelter >

          Code changed in jenkins
          User: Robert Simon
          Path:
          src/main/java/hudson/plugins/accurev/AccurevSCM.java
          http://jenkins-ci.org/commit/accurev-plugin/5963a906352cf5c57230867cdd1d934887baa303
          Log:
          JENKINS-10073: Set ACCUREV_STREAM by parameter

          An external entity provides the stream which the AccuRev plugin would use.

          For example there is a parametrized job which's string parameter gets the name that the plugin should use.

          Otherwise, an overwrite of %ACCUREV_STREAM% (e.g. set a parameter called ACCUREV_STREAM) would be an alternative.

          It should be done like the "Build selector for Copy Artifact" which can be set as a parameter and the plugin is able to retrieve the value from this special parameter.

          See: https://wiki.jenkins-ci.org/display/JENKINS/Copy+Artifact+Plugin

          -----------

          files contain fix to this improvement
          usage:

          • make parameter in job e.g. acstream
          • then set in stream name field: ${acstream}
          • SCM polling will go against the default value of the parameter

          One thing what we didn’t put in there is the catch of Choice parameters for the SCM polling since we were happy with the simple String parameter.

          Signed-off-by: helterscelter <https://github.com/helterscelter>

          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Robert Simon Path: src/main/java/hudson/plugins/accurev/AccurevSCM.java http://jenkins-ci.org/commit/accurev-plugin/5963a906352cf5c57230867cdd1d934887baa303 Log: JENKINS-10073 : Set ACCUREV_STREAM by parameter An external entity provides the stream which the AccuRev plugin would use. For example there is a parametrized job which's string parameter gets the name that the plugin should use. Otherwise, an overwrite of %ACCUREV_STREAM% (e.g. set a parameter called ACCUREV_STREAM) would be an alternative. It should be done like the "Build selector for Copy Artifact" which can be set as a parameter and the plugin is able to retrieve the value from this special parameter. See: https://wiki.jenkins-ci.org/display/JENKINS/Copy+Artifact+Plugin ----------- files contain fix to this improvement usage: make parameter in job e.g. acstream then set in stream name field: ${acstream} SCM polling will go against the default value of the parameter One thing what we didn’t put in there is the catch of Choice parameters for the SCM polling since we were happy with the simple String parameter. Signed-off-by: helterscelter < https://github.com/helterscelter >

          patch attached to this issue was released to the wild in v0.6.16. Thanks for the patch Robert!

          helterscelter helter scelter added a comment - patch attached to this issue was released to the wild in v0.6.16. Thanks for the patch Robert!

          People

            helterscelter helter scelter
            robsimon robsimon
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: