-
-
Notifications
You must be signed in to change notification settings - Fork 89
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
Dependency check not running in Azure Gradle plugin #325
Comments
not a clue - but you could add something like |
The problem is then every build will be run with dependency check, which is not ideal for pipeline speed. I tried to run |
This wouldn't be a problem with the Dependency Check plugin but your pipeline configuration for Azure DevOps. It doesn't appear to have been properly configured to run the right task. I've never used Azure DevOps, but from a quick glance at your snippet I would say this is likely your problem:
Phases & Goals are Maven vernacular, Gradle calls them tasks. The Gradle@3 documentation you linked had an example that uses
Sounds like you've set the wrong key-value pair and it's still defaulting to |
Hi there. I have recently added this plugin to my project. When running
./gradlew dependencyCheckAnalyze
locally, everything runs correctly. However, when running using the Azure Devops Gradle task, the command is changed and the pipeline runsbuild
instead ofdependencyCheckAnalyze
, leading to no dependency check. Do you have any idea why this would happen?Running v8.1.0, with plugin configuration:
and pipeline configuration:
which leads to the Azure pipeline running the following command:
/agent/_work/2/s/gradlew -x test -x integrationTest build
when it should be dependencyCheckAnalyzeThe text was updated successfully, but these errors were encountered: