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

Dependency-Check Trend chart doesn't appears on DSL pipelines jobs

    Details

    • Similar Issues:

      Description

      Dependency-Check Trend chart doesn't appears on DSL pipelines jobs
      As it works with freestyle jobs.

       

        Attachments

          Issue Links

            Activity

            Hide
            vassil vassil marjunits added a comment - - edited

            My pipeline:

             
            pipeline {
            agent any
            options

            { ansiColor('xterm') buildDiscarder(logRotator(numToKeepStr: '20')) disableConcurrentBuilds() timestamps() }

            tools

            { jdk 'openjdk-11' }

            stages{
            stage('Checkout some java source') {
            steps

            { git url: 'https://github.com/bmuschko/whats-new-in-java-11.git', branch: 'master' }

            }

            stage('maven build') {
            steps

            { sh 'mvn clean install -Dmaven.test.skip -X' sh 'ls -alt' sh 'ls -alt target' }

            }
            stage ('OWASP Dependency-Check Vulnerabilities') {
            steps

            { dependencyCheck additionalArguments: '', odcInstallation: 'owasp-nexus'  dependencyCheckPublisher pattern: '**/dependency-check-report.xml'    sh 'ls -alt' }

            }

            }
            post {
            always

            { //clean up job workspace cleanWs() }

            }
            }

            Show
            vassil vassil marjunits added a comment - - edited My pipeline:   pipeline { agent any options { ansiColor('xterm') buildDiscarder(logRotator(numToKeepStr: '20')) disableConcurrentBuilds() timestamps() } tools { jdk 'openjdk-11' } stages{ stage('Checkout some java source') { steps { git url: 'https://github.com/bmuschko/whats-new-in-java-11.git', branch: 'master' } } stage('maven build') { steps { sh 'mvn clean install -Dmaven.test.skip -X' sh 'ls -alt' sh 'ls -alt target' } } stage ('OWASP Dependency-Check Vulnerabilities') { steps { dependencyCheck additionalArguments: '', odcInstallation: 'owasp-nexus'  dependencyCheckPublisher pattern: '**/dependency-check-report.xml'    sh 'ls -alt' } } } post { always { //clean up job workspace cleanWs() } } }
            Hide
            lukasio10 Lukasz Gawel added a comment -

            We're seeing the same issue. JenkinsFile:

             

            dependencyCheck additionalArguments: '-scan ./*/packages//.dll --scan ./*/.js --format HTML --format XML --suppression OwaspSupression.xml', odcInstallation: 'Dependency-Check-5.2.1' dependencyCheck additionalArguments: '-scan ./*/packages//.dll --scan ./*/.js --format HTML --format XML --suppression OwaspSupression.xml', odcInstallation: 'Dependency-Check-5.2.1' dependencyCheckPublisher failedNewCritical: 1, failedNewHigh: 1, failedNewLow: 1, failedNewMedium: 1, failedTotalCritical: 0, failedTotalHigh: 2, failedTotalLow: 0, failedTotalMedium: 10, pattern: ''

            Show
            lukasio10 Lukasz Gawel added a comment - We're seeing the same issue. JenkinsFile:   dependencyCheck additionalArguments: '- scan ./* /packages/ / .dll --scan ./* / .js --format HTML --format XML --suppression OwaspSupression.xml', odcInstallation: 'Dependency-Check-5.2.1' dependencyCheck additionalArguments: ' -scan ./* /packages/ / .dll --scan ./* / .js --format HTML --format XML --suppression OwaspSupression.xml', odcInstallation: 'Dependency-Check-5.2.1' dependencyCheckPublisher failedNewCritical: 1, failedNewHigh: 1, failedNewLow: 1, failedNewMedium: 1, failedTotalCritical: 0, failedTotalHigh: 2, failedTotalLow: 0, failedTotalMedium: 10, pattern: ''
            Hide
            sspringett Steve Springett added a comment -

            This issue has already been reported in JENKINS-58381.  Pull requests are encouraged.

            Show
            sspringett Steve Springett added a comment - This issue has already been reported in  JENKINS-58381 .  Pull requests are encouraged.

              People

              • Assignee:
                Unassigned
                Reporter:
                vassil vassil marjunits
              • Votes:
                1 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: