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

${HOME} in global configured data dir is ignored in pipeline dependencyCheckAnalyzer

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      When you configure the field Global Data Directory in the global Jenkins configuration page to use the ${HOME} environment variable, e.g. ${HOME}/owasp-nvd, then the ${HOME} variable gets referenced corectly in freestyle jobs. You see something like this in the build log:

      ...
      [DependencyCheck]  -dataDirectory = /opt/jenkins/owasp-nvd
      ...
      

      However, the ${HOME} variable doesn't get referenced corectly in Pipeline jobs when using the dependencyCheckAnalyzer() step:

      ...
      [DependencyCheck]  -dataDirectory = /opt/jenkins/ws/CheckOWASP_DataDir.Pipeline/${HOME}/owasp-nvd
      ...
      

      Note: The fields for the dateDirectory are neither configured in the freestyle job nor in the pipeline job! Just in the global configuration page!

        Attachments

          Activity

          Hide
          sspringett Steve Springett added a comment -

          No longer relevant with v5.0.0

          Show
          sspringett Steve Springett added a comment - No longer relevant with v5.0.0

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            jochenafuerbacher Jochen A. F├╝rbacher
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: