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

Environment variables are not injected at Clearcase polling

    • 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
      

          [JENKINS-17377] Environment variables are not injected at Clearcase polling

          Kurt added a comment -

          This sounds very similar to the problem I've raised as JENKINS-16992.
          To me it seems very much related to an update of the EnvInject Plugin.
          I reverted back EnvInject v 1.80 until this is resolved.
          Maybe you want to double-check and probably set one to "duplicate" and/or vote for the other.

          Kurt added a comment - This sounds very similar to the problem I've raised as JENKINS-16992 . To me it seems very much related to an update of the EnvInject Plugin. I reverted back EnvInject v 1.80 until this is resolved. Maybe you want to double-check and probably set one to "duplicate" and/or vote for the other.

          Kurt added a comment -

          My similar issue JENKINS-16992 suddenly started working again with EnvInject Plugin v 1.89 (with v 1.88 it was definitely not working yet), ClearCase Plugin v 1.4 on Jenkins 1.526 (all version above have other issues preventing me from testing it further).

          Kurt added a comment - My similar issue JENKINS-16992 suddenly started working again with EnvInject Plugin v 1.89 (with v 1.88 it was definitely not working yet), ClearCase Plugin v 1.4 on Jenkins 1.526 (all version above have other issues preventing me from testing it further).

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

              Created:
              Updated:
              Resolved: