File tree Expand file tree Collapse file tree 2 files changed +6
-4
lines changed Expand file tree Collapse file tree 2 files changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -19,13 +19,13 @@ steps:
1919 when :
2020 ref :
2121 - " refs/pull/**" # Only run for pull requests
22- - name : publish-2.1.1
22+ - name : publish-2.1.2
2323 image : plugins/docker:20
2424 settings :
2525 # auto_tag: true
2626 # auto_tag_suffix: v2.0.2-java17
2727 tags :
28- - v2.1.1
28+ - v2.1.2
2929 # - latest
3030 # - stable-java17
3131 daemon_off : false
Original file line number Diff line number Diff line change @@ -660,22 +660,24 @@ func staticScan(p *Plugin) (*SonarReport, error) {
660660func getStatus (task * TaskResponse , report * SonarReport ) string {
661661
662662 qg_type := os .Getenv ("PLUGIN_QG_TYPE" )
663+ qg_projectKey := os .Getenv ("PLUGIN_SONAR_KEY" )
663664
664665 var reportRequest url.Values
665666
666667 if qg_type == "branch" {
667668 qg_branch := os .Getenv ("PLUGIN_BRANCH" )
668669 reportRequest = url.Values {
669- "branch" : {qg_branch },
670+ "branch" : {qg_branch },
671+ "projectKey" : {qg_projectKey },
670672 }
671673 } else if qg_type == "pullRequest" {
672674 qg_pr := os .Getenv ("PLUGIN_PR_KEY" )
673675 reportRequest = url.Values {
674676 "pullRequest" : {qg_pr },
677+ "projectKey" : {qg_projectKey },
675678 }
676679
677680 } else if qg_type == "projectKey" {
678- qg_projectKey := os .Getenv ("PLUGIN_SONAR_KEY" )
679681 reportRequest = url.Values {
680682 "projectKey" : {qg_projectKey },
681683 }
You can’t perform that action at this time.
0 commit comments