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

$JOB_NAME is set to some autogenerated string instead of the project name

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • envinject-plugin
    • None
    • Linux VM

      The parameter JOB_NAME is not set to the project name. Instead it is set to some strange autogenerated string, like jk1-J5537.
      We have quite some plugins loaded in our Jenkins instance. For example we use the EnvInject plugin, that could manipulate that parameter I guess, but I haven't managed to configure it to not change JOB_NAME.

      The BUILD_ID parameter and all others containing the project name are set correctly:
      BUILD_NUMBER=12
      BUILD_TAG=jenkins-environment_variable_test-12
      JOB_NAME=jk1-J5537
      WORKSPACE=/proj/bscautodata/jenkins/ci_prototype/workspace-sge/workspace/environment_variable_test

      Is there a way to see what values those properties have before any plugins, expecially the EnvInject plugin, manipulate them?

      BR,
      Emil

          [JENKINS-16754] $JOB_NAME is set to some autogenerated string instead of the project name

          Emil Bäckmark created issue -
          R. Tyler Croy made changes -
          Workflow Original: JNJira [ 147581 ] New: JNJira + In-Review [ 176949 ]

            gbois Gregory Boissinot
            mene Emil Bäckmark
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: