Skip to content

Run CLI sonar scan every second day, and tag it with a version to keep it in sonar longer#387

Merged
ToreMerkely merged 2 commits into
mainfrom
sonar-scan-more-often
May 26, 2026
Merged

Run CLI sonar scan every second day, and tag it with a version to keep it in sonar longer#387
ToreMerkely merged 2 commits into
mainfrom
sonar-scan-more-often

Conversation

@ToreMerkely
Copy link
Copy Markdown
Collaborator

  • Run sonar scan every 2nd day since we saw that sonar cleaned out the old scan after 11 days
  • Tag main scan with sonar.projectVersion to trigger Version events

ToreMerkely and others added 2 commits May 26, 2026 13:15
SonarCloud retains version-tagged analyses longer than intermediate
ones. Pass a unique projectVersion per run so each main scan creates
a Version event and survives housekeeping longer.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@ToreMerkely ToreMerkely enabled auto-merge (squash) May 26, 2026 12:23
@ToreMerkely ToreMerkely merged commit 2552294 into main May 26, 2026
9 of 10 checks passed
@ToreMerkely ToreMerkely deleted the sonar-scan-more-often branch May 26, 2026 12:29
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.

2 participants