Skip to content
This repository has been archived by the owner on Jan 7, 2021. It is now read-only.

Add a file name and line to an issue in summary comment if there is no diff for file but the issue is still relavant for PR (moved files with issues) #112

Open
kingoleg opened this issue Mar 24, 2017 · 0 comments
Assignees

Comments

@kingoleg
Copy link

  1. I have a file with violations/issues. Let it be /src/main/java/Bad.java
  2. I copy the file to another locations. Let it be /module1/src/main/java/Bad.java and /module2/src/main/java/Bad.java
  3. I remove original file
  4. I run the plugin
    WIS:
  5. Bitbucket shows both new files as added
  6. There is no diff for them. There is a message "The contents for this file have not changed" instead of diff
  7. Sonar-stash finds correctly there are some issues for these files
  8. Sonar-stash adds the issues to a summary comment
  9. Sonar-stash cannot add per file per line comment
  10. I cannot understand which comment related to which file and line
    WIE:
    The summary comment shows me more context detail in this case: file and line
@t-8ch t-8ch self-assigned this Mar 24, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants