Skip to content

DDF-5635: Attach dependency check report to build.#5643

Merged
shaundmorris merged 1 commit into
codice:masterfrom
AdamBurstynski:archive_owasp_report
Dec 4, 2019
Merged

DDF-5635: Attach dependency check report to build.#5643
shaundmorris merged 1 commit into
codice:masterfrom
AdamBurstynski:archive_owasp_report

Conversation

@AdamBurstynski
Copy link
Copy Markdown

What does this PR do?

Archive the dependency-check aggregate report after the owasp stage finishes successfully

Who is reviewing it?

@TonyMorrison
@LinkMJB
@shaundmorris

Select relevant component teams:

@codice/build
@codice/security

How should this be tested?

N/A

Any background context you want to provide?

N/A

What are the relevant tickets?

Fixes: #5635

Screenshots

Checklist:

  • Documentation Updated
  • Update / Add Threat Dragon models
  • Update / Add Unit Tests
  • Update / Add Integration Tests

Notes on Review Process

Please see Notes on Review Process for further guidance on requirements for merging and abbreviated reviews.

Review Comment Legend:

  • ✏️ (Pencil) This comment is a nitpick or style suggestion, no action required for approval. This comment should provide a suggestion either as an in line code snippet or a gist.
  • ❓ (Question Mark) This comment is to gain a clearer understanding of design or code choices, clarification is required but action may not be necessary for approval.
  • ❗ (Exclamation Mark) This comment is critical and requires clarification or action before approval.

@AdamBurstynski
Copy link
Copy Markdown
Author

build now

@cxbot
Copy link
Copy Markdown

cxbot commented Nov 27, 2019

Internal build has been scheduled, your results will be available at build completion.

Copy link
Copy Markdown
Contributor

@TonyMorrison TonyMorrison left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, straight forward

@cxbot
Copy link
Copy Markdown

cxbot commented Nov 27, 2019

Refer to this link for build results (access rights to CI server needed):
https://jenkins.codice.org/job/DDF-Jobs/job/pr/job/Linux/7769/
✅ JOB SUCCESS

Comment thread Jenkinsfile
}
post {
success {
archiveArtifacts artifacts: 'target/dependency-check-report.html'
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Think this will work with dependency-check or aggregate 👍

Comment thread Jenkinsfile
}
post {
success {
archiveArtifacts artifacts: 'target/dependency-check-report.html'
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is there any case that this file won't exist? Wondering if we should include the allowEmptyArchive option

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If the stage is successful the file has to exist because the maven goal we call creates the file. If the file does not exist the goal failed and the post block will never be called.

@shaundmorris shaundmorris merged commit 03a3865 into codice:master Dec 4, 2019
@AdamBurstynski AdamBurstynski deleted the archive_owasp_report branch December 4, 2019 15:17
AdamBurstynski pushed a commit to AdamBurstynski/ddf that referenced this pull request Dec 17, 2019
AdamBurstynski pushed a commit to AdamBurstynski/ddf that referenced this pull request Dec 17, 2019
AdamBurstynski pushed a commit to AdamBurstynski/ddf that referenced this pull request Dec 17, 2019
AdamBurstynski pushed a commit to AdamBurstynski/ddf that referenced this pull request Dec 17, 2019
AdamBurstynski pushed a commit to AdamBurstynski/ddf that referenced this pull request Dec 17, 2019
AdamBurstynski pushed a commit to AdamBurstynski/ddf that referenced this pull request Dec 17, 2019
AdamBurstynski pushed a commit to AdamBurstynski/ddf that referenced this pull request Dec 17, 2019
AdamBurstynski pushed a commit that referenced this pull request Dec 19, 2019
* 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)
AdamBurstynski pushed a commit that referenced this pull request Dec 19, 2019
* 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-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)
AdamBurstynski pushed a commit that referenced this pull request Dec 20, 2019
* 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>
shaundmorris added a commit that referenced this pull request Jan 3, 2020
* 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>
AdamBurstynski pushed a commit that referenced this pull request Jan 6, 2020
* 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>
AdamBurstynski pushed a commit that referenced this pull request Jan 9, 2020
* 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>
@jlcsmith jlcsmith added this to the 2.22.0 milestone Jan 30, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add the dependency check report to the build

6 participants