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

Environment variables are not injected at Clearcase polling

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Major Major
    • None
    • Jenkins 1.508 on RHEL5 x86_64, Clearcase plugin 1.3.6, envinject 1.83

      When load rules use a variable, it is not expanded during polling, which results in no changes found. This makes polling unusable. The same set of rules are expanded correctly during actual build.

      Variables are set to be injected as 'properties content' in 'prepare environment for the run' section.

      Excerpt from Base Clearcase polling log
      $ cleartool lshistory -all -since 27-mar-13.09:45:07utc+0000 -fmt '\"%Nd\" \"%u\" \"%En\" \"%Vn\" \"%e\" \"%o\" \n%c\n' -branch brtype:${release_branch}_main -nco path1 path2
      cleartool: Error: Branch type not found: "${release_branch}_main".
      cleartool: Error: Branch type not found: "${release_branch}_main".
      FATAL: Base ClearCase failed. exit code=1
      Done. Took 1.7 sec
      No changes
      

            vlatombe Vincent Latombe
            raspy Krzysztof Malinowski
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: