snyk / snyk-gradle-plugin

Basic Snyk CLI plugin for Gradle support
Other
25 stars 19 forks source link

Extract gradle project & sub-project names on every test #93

Closed lili2311 closed 5 years ago

lili2311 commented 5 years ago

Expected behaviour

After doing a little digging realised we are not grabbing the actual project names when returning back results, here is the PR with some tests that shows the desired outcome https://github.com/snyk/snyk-gradle-plugin/tree/feat/get-correct-project-names

Users can scan a project with:

So we need to be mindful of what is the context and grab the relevant project name that we just scanned.

There are two potentials:

Actual behaviour

The tests in this branch fail https://github.com/snyk/snyk-gradle-plugin/tree/feat/get-correct-project-names

Steps to reproduce

Run the tests on the branch above

If applicable, please append the --debug flag on your command and include the output here **ensuring to remove any sensitive/personal details or tokens.

snyksec commented 5 years ago

:tada: This issue has been resolved in version 3.1.0 :tada:

The release is available on:

Your semantic-release bot :package::rocket: