Skip to content

Implement base changes - #1

Open
gvatsal60 wants to merge 6 commits into
masterfrom
feature/baseline
Open

gvatsal60 wants to merge 6 commits into
masterfrom
feature/baseline

Merge branch 'master' into feature/baseline

e98eaf3
Select commit
Loading
Failed to load commit list.
SonarQubeCloud / SonarCloud Code Analysis failed Oct 3, 2026 in 11s

Quality Gate failed

Failed conditions
C Security Rating on New Code (required ≥ A)

See analysis details on SonarQube Cloud

Catch issues before they fail your Quality Gate with our IDE extension SonarQube for IDE

Annotations

Check failure on line 515 in test/groovy/org/devops/DockerSpec.groovy

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Define a constant instead of using the literal 'us-east-1' 3 times.

See more on https://sonarcloud.io/project/issues?id=AlwaysTechnical_jenkins-shared-library&issues=AZ-9fHhd-CkDYWnc4F94&open=AZ-9fHhd-CkDYWnc4F94&pullRequest=1

Check failure on line 31 in test/groovy/vars/dockerPushSpec.groovy

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Define a constant instead of using the literal 'vars/dockerPush.groovy' 3 times.

See more on https://sonarcloud.io/project/issues?id=AlwaysTechnical_jenkins-shared-library&issues=AZ-9fHgz-CkDYWnc4F9o&open=AZ-9fHgz-CkDYWnc4F9o&pullRequest=1

Check warning on line 39 in test/groovy/org/devops/MockScript.groovy

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Define and throw a dedicated exception instead of using a generic one.

See more on https://sonarcloud.io/project/issues?id=AlwaysTechnical_jenkins-shared-library&issues=AaB_aKE3aZXcNXnogb6u&open=AaB_aKE3aZXcNXnogb6u&pullRequest=1

Check failure on line 179 in src/org/devops/Docker.groovy

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Define a constant instead of using the literal 'latest' 3 times.

See more on https://sonarcloud.io/project/issues?id=AlwaysTechnical_jenkins-shared-library&issues=AZ-9fHgf-CkDYWnc4F9l&open=AZ-9fHgf-CkDYWnc4F9l&pullRequest=1

Check failure on line 176 in test/groovy/org/devops/BuildHelperSpec.groovy

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Define a constant instead of using the literal 'gradle' 4 times.

See more on https://sonarcloud.io/project/issues?id=AlwaysTechnical_jenkins-shared-library&issues=AZ-9fHho-CkDYWnc4F95&open=AZ-9fHho-CkDYWnc4F95&pullRequest=1

Check failure on line 129 in test/groovy/org/devops/NotificationSpec.groovy

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Define a constant instead of using the literal 'team@example.com' 5 times.

See more on https://sonarcloud.io/project/issues?id=AlwaysTechnical_jenkins-shared-library&issues=AZ-9fHhz-CkDYWnc4F9-&open=AZ-9fHhz-CkDYWnc4F9-&pullRequest=1

Check warning on line 136 in test/groovy/org/devops/GitHelperSpec.groovy

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove the useless 'true' literal.

See more on https://sonarcloud.io/project/issues?id=AlwaysTechnical_jenkins-shared-library&issues=AZ-9fHiI-CkDYWnc4F-E&open=AZ-9fHiI-CkDYWnc4F-E&pullRequest=1

Check failure on line 34 in test/groovy/vars/dockerTagSpec.groovy

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Define a constant instead of using the literal 'myapp' 3 times.

See more on https://sonarcloud.io/project/issues?id=AlwaysTechnical_jenkins-shared-library&issues=AZ-9fHgq-CkDYWnc4F9m&open=AZ-9fHgq-CkDYWnc4F9m&pullRequest=1

Check warning on line 63 in src/org/devops/Notification.groovy

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Catch a specific exception instead of Exception.

See more on https://sonarcloud.io/project/issues?id=AlwaysTechnical_jenkins-shared-library&issues=AaB_aKCHaZXcNXnogb6r&open=AaB_aKCHaZXcNXnogb6r&pullRequest=1

Check failure on line 269 in test/groovy/org/devops/DockerSpec.groovy

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Define a constant instead of using the literal 'registry.example.com' 7 times.

See more on https://sonarcloud.io/project/issues?id=AlwaysTechnical_jenkins-shared-library&issues=AZ-9fHhd-CkDYWnc4F93&open=AZ-9fHhd-CkDYWnc4F93&pullRequest=1

Check failure on line 31 in test/groovy/vars/dockerTagSpec.groovy

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Define a constant instead of using the literal 'vars/dockerTag.groovy' 3 times.

See more on https://sonarcloud.io/project/issues?id=AlwaysTechnical_jenkins-shared-library&issues=AZ-9fHgq-CkDYWnc4F9n&open=AZ-9fHgq-CkDYWnc4F9n&pullRequest=1

Check failure on line 116 in test/groovy/org/devops/GitHelperSpec.groovy

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Define a constant instead of using the literal 'v1.0.0' 3 times.

See more on https://sonarcloud.io/project/issues?id=AlwaysTechnical_jenkins-shared-library&issues=AZ-9fHiI-CkDYWnc4F-G&open=AZ-9fHiI-CkDYWnc4F-G&pullRequest=1

Check warning on line 34 in test/groovy/org/devops/ConfigSpec.groovy

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove the useless 'true' literal.

See more on https://sonarcloud.io/project/issues?id=AlwaysTechnical_jenkins-shared-library&issues=AZ-9fHhG-CkDYWnc4F9v&open=AZ-9fHhG-CkDYWnc4F9v&pullRequest=1

Check failure on line 91 in test/groovy/org/devops/MockScript.groovy

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Define a constant instead of using the literal '$class' 3 times.

See more on https://sonarcloud.io/project/issues?id=AlwaysTechnical_jenkins-shared-library&issues=AZ-9fHhS-CkDYWnc4F9y&open=AZ-9fHhS-CkDYWnc4F9y&pullRequest=1

Check failure on line 129 in test/groovy/org/devops/NotificationSpec.groovy

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Define a constant instead of using the literal '#alerts' 4 times.

See more on https://sonarcloud.io/project/issues?id=AlwaysTechnical_jenkins-shared-library&issues=AZ-9fHhz-CkDYWnc4F97&open=AZ-9fHhz-CkDYWnc4F97&pullRequest=1

Check warning on line 7 in .github/workflows/release.yaml

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Move this write permission from workflow level to job level.

See more on https://sonarcloud.io/project/issues?id=AlwaysTechnical_jenkins-shared-library&issues=AZ-9fHib-CkDYWnc4F-L&open=AZ-9fHib-CkDYWnc4F-L&pullRequest=1

Check failure on line 81 in test/groovy/org/devops/ConfigSpec.groovy

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Define a constant instead of using the literal 'slackChannel' 3 times.

See more on https://sonarcloud.io/project/issues?id=AlwaysTechnical_jenkins-shared-library&issues=AZ-9fHhG-CkDYWnc4F9w&open=AZ-9fHhG-CkDYWnc4F9w&pullRequest=1

Check failure on line 131 in test/groovy/org/devops/UtilsSpec.groovy

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Define a constant instead of using the literal 'success' 5 times.

See more on https://sonarcloud.io/project/issues?id=AlwaysTechnical_jenkins-shared-library&issues=AZ-9fHh--CkDYWnc4F-D&open=AZ-9fHh--CkDYWnc4F-D&pullRequest=1

Check failure on line 190 in test/groovy/org/devops/BuildHelperSpec.groovy

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Define a constant instead of using the literal 'maven' 10 times.

See more on https://sonarcloud.io/project/issues?id=AlwaysTechnical_jenkins-shared-library&issues=AZ-9fHho-CkDYWnc4F96&open=AZ-9fHho-CkDYWnc4F96&pullRequest=1

Check warning on line 130 in test/groovy/org/devops/UtilsSpec.groovy

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Define and throw a dedicated exception instead of using a generic one.

See more on https://sonarcloud.io/project/issues?id=AlwaysTechnical_jenkins-shared-library&issues=AaB_aKGcaZXcNXnogb6z&open=AaB_aKGcaZXcNXnogb6z&pullRequest=1

Check warning on line 306 in src/org/devops/Docker.groovy

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove the useless 'false' literal.

See more on https://sonarcloud.io/project/issues?id=AlwaysTechnical_jenkins-shared-library&issues=AZ-9fHgf-CkDYWnc4F9j&open=AZ-9fHgf-CkDYWnc4F9j&pullRequest=1

Check warning on line 16 in test/groovy/org/devops/ConfigSpec.groovy

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove the useless 'true' literal.

See more on https://sonarcloud.io/project/issues?id=AlwaysTechnical_jenkins-shared-library&issues=AZ-9fHhG-CkDYWnc4F9t&open=AZ-9fHhG-CkDYWnc4F9t&pullRequest=1

Check warning on line 64 in test/groovy/org/devops/UtilsSpec.groovy

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Define and throw a dedicated exception instead of using a generic one.

See more on https://sonarcloud.io/project/issues?id=AlwaysTechnical_jenkins-shared-library&issues=AaB_aKGcaZXcNXnogb6w&open=AaB_aKGcaZXcNXnogb6w&pullRequest=1

Check warning on line 18 in test/groovy/vars/notifySpec.groovy

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove the unused local variable 'mock'.

See more on https://sonarcloud.io/project/issues?id=AlwaysTechnical_jenkins-shared-library&issues=AaC9w-AuwM0vF3xa6GZ6&open=AaC9w-AuwM0vF3xa6GZ6&pullRequest=1

Check failure on line 133 in test/groovy/org/devops/NotificationSpec.groovy

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Define a constant instead of using the literal 'build failed' 6 times.

See more on https://sonarcloud.io/project/issues?id=AlwaysTechnical_jenkins-shared-library&issues=AZ-9fHhz-CkDYWnc4F98&open=AZ-9fHhz-CkDYWnc4F98&pullRequest=1