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

Can not set some 'special' variable names the first time

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Component/s: envinject-plugin
    • Labels:
      None
    • Environment:
      * scons plugin installed
      * tested on linux
    • Similar Issues:

      Description

      Envinject fails to set variables mainly with uppercase letters and potential special meaning (at least the first time). See the envinject-test config which is attached.

      Following messages will be output from envinject plugin:

      ...
      [EnvInject] - Injecting as environment variables the properties content
      'baseoutDir=/var/lib/jenkins/workspace/envinject test/dbg_trc
      compileOutput=--baseoutdir="$

      {baseoutDir}

      "
      CONSFLAGS=$

      {compileOutput}
      ONSFLAGS=${compileOutput}

      NSFLAGS=$

      {compileOutput}
      SFLAGS=${compileOutput}

      FLAGS=$

      {compileOutput}
      LAGS=${compileOutput}

      AGS=$

      {compileOutput}
      GS=${compileOutput}

      SCONSFLAGS=$

      {compileOutput}
      SCONSFLAG=${compileOutput}

      SCONSFLA=$

      {compileOutput}
      SCONSFL=${compileOutput}

      SCONSF=$

      {compileOutput}
      SCONS=${compileOutput}

      SCON=$

      {compileOutput}
      SCO=${compileOutput}

      SC=$

      {compileOutput}
      S=${compileOutput}

      flags=$

      {compileOutput}

      '

      [EnvInject] - Unset unresolved 'SFLAGS' variable.
      [EnvInject] - Unset unresolved 'SCONSFLAGS' variable.
      [EnvInject] - Unset unresolved 'FLAGS' variable.
      [EnvInject] - Unset unresolved 'SCONS' variable.
      [EnvInject] - Injecting as environment variables the properties content
      'SCONSFLAGS=--baseoutdir="/var/lib/jenkins/workspace/envinject test/dbg_trc"'

      [envinject test] $ /bin/sh -xe /tmp/hudson2448047751840058372.sh

      ...}}

        Attachments

          Activity

            People

            • Assignee:
              gbois Gregory Boissinot
              Reporter:
              marcelhuber Marcel Huber
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: