Skip to content

Commit 25b773d

Browse files
Merge pull request #62 from diegopereiraeng/main
skip not working properly fix
2 parents 347567d + 594d858 commit 25b773d

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

.drone.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,11 +32,11 @@ steps:
3232
# ref:
3333
# - refs/heads/main
3434
# - refs/tags/**
35-
- name: publish-v2.0.0
35+
- name: publish-v2.0.1
3636
image: plugins/docker:20
3737
settings:
3838
auto_tag: true
39-
auto_tag_suffix: v2.0.0
39+
auto_tag_suffix: v2.0.1
4040
daemon_off: false
4141
dockerfile: Dockerfile
4242
password:

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
This plugin is designed to run SonarQube scans and handle the results and convert it to JUnit Format. It's written in Go and check the report results for status OK.
44

5-
## Main Features - 2.0.0
5+
## Main Features - 2.0.1
66

77
- Execute SonarQube scans and handle the results
88
- Generate JUnit reports based on the scan results
@@ -20,7 +20,7 @@ This plugin is designed to run SonarQube scans and handle the results and conver
2020
identifier: run_sonar
2121
spec:
2222
connectorRef: account.DockerHubDiego
23-
image: plugins/sonarqube-scanner:2.0.0
23+
image: plugins/sonarqube-scanner:2.0.1
2424
reports:
2525
type: JUnit
2626
spec:
@@ -42,7 +42,7 @@ This plugin is designed to run SonarQube scans and handle the results and conver
4242
type: Plugin
4343
spec:
4444
connectorRef: <+input>
45-
image: plugins/sonarqube-scanner:2.0.0
45+
image: plugins/sonarqube-scanner:2.0.1
4646
reports:
4747
type: JUnit
4848
spec:
@@ -82,7 +82,7 @@ spec:
8282
identifier: run_sonar
8383
spec:
8484
connectorRef: account.DockerHubDiego
85-
image: plugins/sonarqube-scanner:2.0.0
85+
image: plugins/sonarqube-scanner:2.0.1
8686
reports:
8787
type: JUnit
8888
spec:

plugin.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -571,7 +571,7 @@ func (p Plugin) Exec() error {
571571

572572
status := ""
573573

574-
if p.Config.TaskId != "" || !p.Config.SkipScan {
574+
if p.Config.TaskId != "" || p.Config.SkipScan {
575575
fmt.Printf("Skipping Scan...")
576576
fmt.Printf("\n")
577577
fmt.Printf("\n")

0 commit comments

Comments
 (0)