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

RunParameter environment variabes contain . character

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • core
    • None

      The RunParameter creates 2 environment variables which contain a '.' character.

      I cannot reference these environment variables from a bash script due to this character.

      env
      PARAMETER_X=http://xxx/jenkins/job/ASE_CI/2072/
      PARAMETER_X.number=2072
      PARAMETER_X.jobName=ASE_CI

      echo ${PARAMETER_X.number}
      ${PARAMETER_X.number}: bad substitution

      Can you also create environment variables which use an underscore?
      PARAMETER_X
      PARAMETER_X_NUMBER
      PARAMETER_X_JOBNAME

            Unassigned Unassigned
            gcummings Geoff Cummings
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: