-
Notifications
You must be signed in to change notification settings - Fork 25
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to upload artifact of multiple task executions with multiple report formats #124
Comments
Hello, may I ask you why it's needed to execute it multiple times in the same pipeline? Following is not tested. Maybe I got your scenario wrong, but you can get the output formats
In addition, for multiple runs within the the same pipeline, you can define the path to your artifacts drop-off root directory and a sub-folder for each run by using the parameter
|
Hi! I'm going to give the |
I can confirm it does not work. The reports are generated indeed in a separate directory but at the time of uploading the artifact they are uploaded to the same target Some logs from a sample run
|
I have the same problem |
We are no longer are using Azure DevOps in our organization, so I have not been actively maintaining this. I'm open to having other folks take over this extension if the desire is there. @jeremylong is there an official way you have done this in the past? |
If a new volunteer to work on the project steps forward - we can give them access. This has happened in the past with the ODC jenkins plugin. However, I do not have time myself to maintain the ADO extension myself. |
@ejohn20 I might suggest that you update the README.md indicating the project is seeking a new maintainer? |
@jeremylong I am available to help if necessary |
READMD updated and I opened an issue specifically for this: #137 |
When you run
dependency-check-build-task
multiple times within the same pipeline your artifact only stores the files from the last run.This wouldn't be an issue if you were only using a single output format and using
reportFilename
, which is not our case as we need both JUnit and HTML reports.As a workaround, we are uploading artifacts after every run modifying the filename, but this results in also having the original filename
Some options I can think of to fix this:
containerfolder
orartifactname
with an extra parameter in:azuredevops/src/Tasks/dependency-check-build-task/dependency-check-build-task.ts
Line 218 in c4e46d0
containerfolder
andartifactname
but allow prefixes or suffixes for artifact filenames.The text was updated successfully, but these errors were encountered: