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

Allow variables to be parsed in configspec field

    XMLWordPrintable

Details

    • New Feature
    • Status: Closed (View Workflow)
    • Minor
    • Resolution: Fixed
    • clearcase-plugin
    • None
    • Hudson 1.344, Clearcase Plugin 1.1

    Description

      It would be extremely usefull to allow variables to be parsed/processed in configspec field, before commiting it to the specified view.

      This would allow to have a parameterized job configuration with a LABEL parameter field, that could be changed and used in every build.

      ConfigSpec ex:
      element * CHECKEDOUT
      element * ${LABEL}

      element * RELEASE_CANDIDATE01
      element * TEST1
      ----------

      Thanks in advance.

      Attachments

        1. HUDSON-5568.patch
          2 kB
        2. HUDSON-5568-2
          5 kB
        3. mylyn-context.zip
          52 kB
        4. mylyn-context.zip
          33 kB

        Activity

          taking issue

          vlatombe Vincent Latombe added a comment - taking issue

          Preparing patch for this, I need to test it before committing to trunk

          vlatombe Vincent Latombe added a comment - Preparing patch for this, I need to test it before committing to trunk

          Patch with unit test to cover this use case

          vlatombe Vincent Latombe added a comment - Patch with unit test to cover this use case

          Code changed in hudson
          User: : vlatombe
          Path:
          trunk/hudson/plugins/clearcase/src/main/java/hudson/plugins/clearcase/ClearCaseSCM.java
          http://jenkins-ci.org/commit/31412
          Log:
          [FIXED JENKINS-5568] Allow variables to be parsed in configspec field

          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in hudson User: : vlatombe Path: trunk/hudson/plugins/clearcase/src/main/java/hudson/plugins/clearcase/ClearCaseSCM.java http://jenkins-ci.org/commit/31412 Log: [FIXED JENKINS-5568] Allow variables to be parsed in configspec field

          Committed in trunk. Will be in 1.2.1

          vlatombe Vincent Latombe added a comment - Committed in trunk. Will be in 1.2.1

          Committed in trunk. Will be in 1.2.1

          vlatombe Vincent Latombe added a comment - Committed in trunk. Will be in 1.2.1

          Code changed in hudson
          User: : vlatombe
          Path:
          trunk/hudson/plugins/clearcase/src/main/java/hudson/plugins/clearcase/action/SnapshotCheckoutAction.java
          trunk/hudson/plugins/clearcase/src/test/java/hudson/plugins/clearcase/ClearCaseSCMTest.java
          http://jenkins-ci.org/commit/31413
          Log:
          [Fixed JENKINS-5568] Allow variables to be parsed in configspec field

          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in hudson User: : vlatombe Path: trunk/hudson/plugins/clearcase/src/main/java/hudson/plugins/clearcase/action/SnapshotCheckoutAction.java trunk/hudson/plugins/clearcase/src/test/java/hudson/plugins/clearcase/ClearCaseSCMTest.java http://jenkins-ci.org/commit/31413 Log: [Fixed JENKINS-5568] Allow variables to be parsed in configspec field

          People

            vlatombe Vincent Latombe
            hmonteiro hmonteiro
            Votes:
            2 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: