DDF-5597 updated dependency-check properties for local NVD#5654
Conversation
|
build now |
|
Internal build has been scheduled, your results will be available at build completion. |
| <plugin> | ||
| <groupId>org.owasp</groupId> | ||
| <artifactId>dependency-check-maven</artifactId> | ||
| <version>${dependency-check-maven.version}</version> |
There was a problem hiding this comment.
❓ The version is defined in the dependencyManagement section of ddf-parent, right?
There was a problem hiding this comment.
Great question. Looks like I made a mistake here, but it still works. I'll put the version back in. It seems like it grabs the latest version of dependency-check (5.2.4) and runs it just fine. There would be a pro to getting the latest, it just wouldn't be stable. Currently we are using 5.2.2 so might be time to upgrade again
|
Refer to this link for build results (access rights to CI server needed): |
|
build now |
|
Internal build has been scheduled, your results will be available at build completion. |
|
Refer to this link for build results (access rights to CI server needed): Build result: FAILURE[...truncated 11.66 MB...] at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:165) at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:140) at io.fabric8.maven.docker.access.hc.ApacheHttpClientDelegate.post(ApacheHttpClientDelegate.java:102) at io.fabric8.maven.docker.access.hc.DockerAccessWithHcClient.buildImage(DockerAccessWithHcClient.java:252) ... 40 more[ERROR] [ERROR] Re-run Maven using the -X switch to enable full debug logging.[ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles:[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException[ERROR] [ERROR] After correcting the problems, you can resume the build with the command[ERROR] mvn -rf :ddfchannel stoppedNew run name is 'PR 5654'Taking single-use slave mesos-jenkins-437ccf59-linux-large offline.+ echo ERROR: dockerd exited, or diedERROR: dockerd exited, or died+ sleep 5Archiving artifactsAdding one-line test results to commit status...Setting status of a73f792 to FAILURE with url https://jenkins.codice.org/job/DDF-Jobs/job/pr/job/Linux/7791/ and message: 'JOB FAILURE: https://jenkins.codice.org/job/DDF-Jobs/job/pr/job/Linux/7791/ 14954 tests run, 74 skipped, 0 failed.'Using context: Internal CI Pipeline❌ JOB FAILURE |
|
build now |
|
Internal build has been scheduled, your results will be available at build completion. |
|
Refer to this link for build results (access rights to CI server needed): |
* DDF-5597 updated dependency-check properties * DDF-5597 added back dependency-check maven version
* DDF-5597 updated dependency-check properties * DDF-5597 added back dependency-check maven version (cherry picked from commit 365bfdd)
* DDF-5597 updated dependency-check properties * DDF-5597 added back dependency-check maven version (cherry picked from commit 365bfdd)
* DDF-5597 updated dependency-check properties * DDF-5597 added back dependency-check maven version (cherry picked from commit 365bfdd)
* DDF-5597 updated dependency-check properties * DDF-5597 added back dependency-check maven version (cherry picked from commit 365bfdd)
* Updated Jenkinsfile (#5190) Removed the Xss thread stack size option and added a minimum heap memory option to maven opts (cherry picked from commit e523306) * Increased timeout value to prevent build abortions (need to RCA why builds are taking longer) (cherry picked from commit 68b9232) * DDF-5504 Upgraded to DDF-Parent 1.0.8 and Dependency-Check 5.2.2 (#5510) Cleaned-up dependency-check configuration DDF-5504 Updated dependency-check stage to be more efficient DDF-5504 Updated DDF-Parent and Depdendency-Check DDF-5504 Added dependency-check:aggregate to non-PR builds (cherry picked from commit 0456c03) * DDF-5578 updated codecov stage to be more efficient (#5579) (cherry picked from commit 2e7ec9e) * Archive the dependecy-check aggregate report after the owasp stage finishes. (#5643) (cherry picked from commit 03a3865) * General Jenkinsfile cleanup. (#5666) Moved Codeco.io to be right after the ITests. Removed all the commented windows sections. Removed unneeded parallel sections as well. Added in Commenting onto PR builds using internal library function postCommetnIfPR. (cherry picked from commit efe40ac) * DDF-5597 updated dependency-check properties for local NVD (#5654) * DDF-5597 updated dependency-check properties * DDF-5597 added back dependency-check maven version (cherry picked from commit 365bfdd) Co-authored-by: Ryan Zwiefelhofer <rzwiefel@users.noreply.github.com> Co-authored-by: Matthew Bates <matthew.bates@connexta.com> Co-authored-by: Shaun Morris <shaundmorris@users.noreply.github.com>
* DDF-5578 updated codecov stage to be more efficient (#5579) (cherry picked from commit 2e7ec9e) * Archive the dependecy-check aggregate report after the owasp stage finishes. (#5643) (cherry picked from commit 03a3865) * General Jenkinsfile cleanup. (#5666) Moved Codeco.io to be right after the ITests. Removed all the commented windows sections. Removed unneeded parallel sections as well. Added in Commenting onto PR builds using internal library function postCommetnIfPR. (cherry picked from commit efe40ac) * DDF-5597 updated dependency-check properties for local NVD (#5654) * DDF-5597 updated dependency-check properties * DDF-5597 added back dependency-check maven version (cherry picked from commit 365bfdd) Co-authored-by: Shaun Morris <shaundmorris@users.noreply.github.com>
* Archive the dependecy-check aggregate report after the owasp stage finishes. (#5643) (cherry picked from commit 03a3865) * Updated Jenkinsfile (#5190) Removed the Xss thread stack size option and added a minimum heap memory option to maven opts (cherry picked from commit e523306) * DDF-5578 updated codecov stage to be more efficient (#5579) (cherry picked from commit 2e7ec9e) * Increased timeout value to prevent build abortions (need to RCA why builds are taking longer) (cherry picked from commit 68b9232) * General Jenkinsfile cleanup. (#5666) Moved Codeco.io to be right after the ITests. Removed all the commented windows sections. Removed unneeded parallel sections as well. Added in Commenting onto PR builds using internal library function postCommetnIfPR. (cherry picked from commit efe40ac) * DDF-5504 Upgraded to DDF-Parent 1.0.8 and Dependency-Check 5.2.2 (#5510) Cleaned-up dependency-check configuration DDF-5504 Updated dependency-check stage to be more efficient DDF-5504 Updated DDF-Parent and Depdendency-Check DDF-5504 Added dependency-check:aggregate to non-PR builds (cherry picked from commit 0456c03) (cherry picked from commit 6a48ac2) * DDF-5597 updated dependency-check properties for local NVD (#5654) * DDF-5597 updated dependency-check properties * DDF-5597 added back dependency-check maven version (cherry picked from commit 365bfdd) Co-authored-by: Ryan Zwiefelhofer <rzwiefel@users.noreply.github.com> Co-authored-by: Shaun Morris <shaundmorris@users.noreply.github.com> Co-authored-by: Matthew Bates <matthew.bates@connexta.com>
* DDF-5504 Upgraded to DDF-Parent 1.0.8 and Dependency-Check 5.2.2 (#5510) Cleaned-up dependency-check configuration DDF-5504 Updated dependency-check stage to be more efficient DDF-5504 Updated DDF-Parent and Depdendency-Check DDF-5504 Added dependency-check:aggregate to non-PR builds (cherry picked from commit 0456c03) * DDF-5578 updated codecov stage to be more efficient (#5579) (cherry picked from commit 2e7ec9e) * Increased timeout value to prevent build abortions (need to RCA why builds are taking longer) (cherry picked from commit 68b9232) * Archive the dependecy-check aggregate report after the owasp stage finishes. (#5643) (cherry picked from commit 03a3865) * General Jenkinsfile cleanup. (#5666) Moved Codeco.io to be right after the ITests. Removed all the commented windows sections. Removed unneeded parallel sections as well. Added in Commenting onto PR builds using internal library function postCommetnIfPR. (cherry picked from commit efe40ac) * DDF-5597 updated dependency-check properties for local NVD (#5654) * DDF-5597 updated dependency-check properties * DDF-5597 added back dependency-check maven version (cherry picked from commit 365bfdd) Co-authored-by: Shaun Morris <shaundmorris@users.noreply.github.com> Co-authored-by: Matthew Bates <matthew.bates@connexta.com>
What does this PR do?
Allows builds to use local NVD
Who is reviewing it?
@bakejeyner
@AdamBurstynski
@TonyMorrison
@mojogitoverhere
@jordanwilking
Select relevant component teams:
@codice/build
@codice/continuous-integration
@codice/security
Ask 2 committers to review/merge the PR and tag them here.
@oconnormi
@brjeter
How should this be tested?
Any background context you want to provide?
What are the relevant tickets?
Fixes: #5597
Screenshots
Checklist:
Notes on Review Process
Please see Notes on Review Process for further guidance on requirements for merging and abbreviated reviews.
Review Comment Legend:
This change is