[JIRA] (JENKINS-58846) Dependency-Check Trend graph doesn't appears on DSL pipelines jobs

13 views
Skip to first unread message

vmarjunits@gmail.com (JIRA)

unread,
Aug 7, 2019, 7:59:03 AM8/7/19
to jenkinsc...@googlegroups.com
vassil marjunits created an issue
 
Jenkins / Bug JENKINS-58846
Dependency-Check Trend graph doesn't appears on DSL pipelines jobs
Issue Type: Bug Bug
Assignee: Unassigned
Attachments: dsl-pipeline.png
Components: dependency-check-jenkins-plugin
Created: 2019-08-07 11:58
Environment: OWASP Dependency-Check Plugin 5.0.2
Jenkins ver. 2.176.2 on Linux Ubuntu 1804
Labels: plugin pipeline
Priority: Minor Minor
Reporter: vassil marjunits

Dependency-Check Trend graph doesn't appears on DSL pipelines jobs
Its works with freestyle jobs.

 

Add Comment Add Comment
 
This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d)

vmarjunits@gmail.com (JIRA)

unread,
Aug 7, 2019, 8:00:02 AM8/7/19
to jenkinsc...@googlegroups.com
vassil marjunits updated an issue
Change By: vassil marjunits
Comment: {code:java}
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'                }            }        // Enable OWASP Dependecy Vulnerabilities Check        stage ('OWASP Dependency-Check Vulnerabilities') {            steps {                //See the additional arguments options https://jeremylong.github.io/DependencyCheck/dependency-check-cli/arguments.html dependencyCheck additionalArguments: '', odcInstallation: 'owasp-nexus'               dependencyCheckPublisher pattern: '**/dependency-check-report.xml'               sh 'ls -alt'            }        }
    }        post {    always {        //clean up job workspace        cleanWs()    }  } }
{code}

vmarjunits@gmail.com (JIRA)

unread,
Aug 7, 2019, 8:00:02 AM8/7/19
to jenkinsc...@googlegroups.com
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'                }            }        // Enable OWASP Dependecy Vulnerabilities Check        stage ('OWASP Dependency-Check Vulnerabilities') {            steps {                //See the additional arguments options https://jeremylong.github.io/DependencyCheck/dependency-check-cli/arguments.html dependencyCheck additionalArguments: '', odcInstallation: 'owasp-nexus'              dependencyCheckPublisher pattern: '**/dependency-check-report.xml'              sh 'ls -alt'            }        }
    }        post {    always {        //clean up job workspace        cleanWs()    }  } }

vmarjunits@gmail.com (JIRA)

unread,
Aug 7, 2019, 8:03:03 AM8/7/19
to jenkinsc...@googlegroups.com
vassil marjunits updated an issue
Change By: vassil marjunits
Dependency-Check Trend graph doesn't appears on DSL pipelines jobs
As it works with freestyle jobs.

!dsl-pipeline.png|thumbnail!  

vmarjunits@gmail.com (JIRA)

unread,
Aug 7, 2019, 8:03:03 AM8/7/19
to jenkinsc...@googlegroups.com
vassil marjunits updated an issue
Dependency-Check Trend graph doesn't appears on DSL pipelines jobs
Its As it works with freestyle jobs.

 

vmarjunits@gmail.com (JIRA)

unread,
Aug 7, 2019, 8:12:02 AM8/7/19
to jenkinsc...@googlegroups.com

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

{ //See the additional arguments options https://jeremylong.github.io/DependencyCheck/dependency-check-cli/arguments.html   dependencyCheck additionalArguments: '', odcInstallation: 'owasp-nexus'   dependencyCheckPublisher pattern: '**/dependency-check-report.xml'   sh 'ls -alt' }

}

}
post {
always

{ //clean up job workspace cleanWs() }

}
}

vmarjunits@gmail.com (JIRA)

unread,
Aug 7, 2019, 8:12:03 AM8/7/19
to jenkinsc...@googlegroups.com
vassil marjunits edited a comment on Bug JENKINS-58846

vmarjunits@gmail.com (JIRA)

unread,
Aug 7, 2019, 8:13:02 AM8/7/19
to jenkinsc...@googlegroups.com

vmarjunits@gmail.com (JIRA)

unread,
Aug 7, 2019, 8:18:02 AM8/7/19
to jenkinsc...@googlegroups.com
Reply all
Reply to author
Forward
0 new messages