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

Ability to use job parameter in all configuration fields (i.e. load rules)

    XMLWordPrintable

Details

    Description

      Ability to use job parameters in all configuration fields. For example, they can be used in view path but they can't be used in load rules.

      Attachments

        Activity

          What version are you using? I'm not completely sure, but I believe this is already implemented.

          vlatombe Vincent Latombe added a comment - What version are you using? I'm not completely sure, but I believe this is already implemented.
          jacaru jacaru added a comment -

          Hudson 1.393, clearcase plugin 1.3.5. Here is the SCM poll log, TARGET job parameter is configured in the load rules field:

          Started on Jan 13, 2011 3:01:03 PM
          [jacaru_50_FD1_hudson_test] $ /usr/atria/bin/cleartool pwv -root
          /view/jacaru_50_FD1_hudson_test
          [jacaru] $ /usr/atria/bin/cleartool lsview jacaru_50_FD1_hudson_test

          • jacaru_50_FD1_hudson_test /net/viewstore/jacaru/jacaru_50_FD1_hudson_test.vws
            [jacaru] $ /usr/atria/bin/cleartool startview jacaru_50_FD1_hudson_test
            [jacaru_50_FD1_hudson_test] $ /usr/atria/bin/cleartool lshistory -all -since 13-jan-11.13:31:04utc+0000 -fmt '\"%Nd\" \"%u\" \"%En\" \"%Vn\" \"%e\" \"%o\" \n%c\n' -branch brtype:maintenance -nco ${TARGET}
            cleartool: Error: Unable to access "${TARGET}": No such file or directory.
            FATAL: Base ClearCase failed. exit code=1
            Done. Took 0.38 sec
            No changes
          jacaru jacaru added a comment - Hudson 1.393, clearcase plugin 1.3.5. Here is the SCM poll log, TARGET job parameter is configured in the load rules field: Started on Jan 13, 2011 3:01:03 PM [jacaru_50_FD1_hudson_test] $ /usr/atria/bin/cleartool pwv -root /view/jacaru_50_FD1_hudson_test [jacaru] $ /usr/atria/bin/cleartool lsview jacaru_50_FD1_hudson_test jacaru_50_FD1_hudson_test /net/viewstore/jacaru/jacaru_50_FD1_hudson_test.vws [jacaru] $ /usr/atria/bin/cleartool startview jacaru_50_FD1_hudson_test [jacaru_50_FD1_hudson_test] $ /usr/atria/bin/cleartool lshistory -all -since 13-jan-11.13:31:04utc+0000 -fmt '\"%Nd\" \"%u\" \"%En\" \"%Vn\" \"%e\" \"%o\" \n%c\n' -branch brtype:maintenance -nco ${TARGET} cleartool: Error: Unable to access "${TARGET}": No such file or directory. FATAL: Base ClearCase failed. exit code=1 Done. Took 0.38 sec No changes

          I'll check but I don't think this will be long to implement.

          vlatombe Vincent Latombe added a comment - I'll check but I don't think this will be long to implement.
          anb0s anb0s added a comment -

          small patch

          anb0s anb0s added a comment - small patch

          Fixed in hudson/master

          vlatombe Vincent Latombe added a comment - Fixed in hudson/master
          anb0s anb0s added a comment -

          Not included / merged in version 1.3.6

          anb0s anb0s added a comment - Not included / merged in version 1.3.6
          anb0s anb0s added a comment - It looks like it was lost during move from Hudson to Jenkins repo. See https://issues.jenkins-ci.org/browse/JENKINS-11707?focusedCommentId=155468&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-155468
          anb0s anb0s added a comment -
          anb0s anb0s added a comment - It's fixed with https://issues.jenkins-ci.org/browse/JENKINS-11707 Thank You!

          People

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

            Dates

              Created:
              Updated:
              Resolved: