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

Perforce plugin parameter substitution on configuration fields

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      Users would like the ability to use parameters in fields like the workspace View and changeset/label.

        Attachments

          Activity

          Hide
          rpetti Rob Petti added a comment -

          I've got a local branch with the changes for this. It'll initially support substitutions with the form '${PARAMETER}' in both the p4label and View configuration options. I'll submit it after some more testing.

          Show
          rpetti Rob Petti added a comment - I've got a local branch with the changes for this. It'll initially support substitutions with the form '${PARAMETER}' in both the p4label and View configuration options. I'll submit it after some more testing.
          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in hudson
          User: : rpetti
          Path:
          trunk/hudson/plugins/perforce/src/main/java/hudson/plugins/perforce/HudsonP4Executor.java
          trunk/hudson/plugins/perforce/src/main/java/hudson/plugins/perforce/PerforceSCM.java
          trunk/hudson/plugins/perforce/src/main/webapp/help/p4label.html
          trunk/hudson/plugins/perforce/src/main/webapp/help/project.html
          http://jenkins-ci.org/commit/28297
          Log:
          JENKINS-5690 adding parameter substitution for View and Label configuration options

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in hudson User: : rpetti Path: trunk/hudson/plugins/perforce/src/main/java/hudson/plugins/perforce/HudsonP4Executor.java trunk/hudson/plugins/perforce/src/main/java/hudson/plugins/perforce/PerforceSCM.java trunk/hudson/plugins/perforce/src/main/webapp/help/p4label.html trunk/hudson/plugins/perforce/src/main/webapp/help/project.html http://jenkins-ci.org/commit/28297 Log: JENKINS-5690 adding parameter substitution for View and Label configuration options
          Hide
          rpetti Rob Petti added a comment -

          Current functionality is satisfactory.

          Show
          rpetti Rob Petti added a comment - Current functionality is satisfactory.
          Hide
          seekq seekq added a comment -

          "Cannot poll for changes on a view that contains parameter substitutions."

          I would like to use a parameter for a branch name but cannot because of this restriction. Any chance this restriction can be addressed?

          Show
          seekq seekq added a comment - "Cannot poll for changes on a view that contains parameter substitutions." I would like to use a parameter for a branch name but cannot because of this restriction. Any chance this restriction can be addressed?
          Hide
          rpetti Rob Petti added a comment -

          I can try, but it will only be using the default values for the parameters. You can't pass parameters into a polling function, and it wouldn't make sense to anyways.

          Show
          rpetti Rob Petti added a comment - I can try, but it will only be using the default values for the parameters. You can't pass parameters into a polling function, and it wouldn't make sense to anyways.
          Hide
          rpetti Rob Petti added a comment -

          JENKINS-6696 has been created to address this issue.

          Show
          rpetti Rob Petti added a comment - JENKINS-6696 has been created to address this issue.

            People

            • Assignee:
              rpetti Rob Petti
              Reporter:
              rpetti Rob Petti
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: