1
0
mirror of https://github.com/SAP/jenkins-library.git synced 2024-12-12 10:55:20 +02:00
sap-jenkins-library/test/groovy
Christopher Fenner c190deee44
refactor(sonar): switch to Sonar scan in GO (#1320)
* use sonar go in groovy

* use SONAR_TOKEN

* only use owner/repo if both are set

* trim version to major version digit

* fix code climate issues

* remove Sonar defaults

* use sonar go step

* use SONAR_TOKEN

* use certs from parameters

* use docker workspace & options

* add instance parameter

* implement branchName

* implement branchName

* remove duplicate default

* update docs

* fix TODOs

* remove merge mess

* fix code climate issue

* address comments

* respect custom defaults and custom config file name

* fix typo

* remove obsolete test cases

* disable CommonStepChecks

* check step config instead of context config

* remove TODOs

* respect jenkins PR envvars

* use value from stepConfig

* Update vars/sonarExecuteScan.groovy

* rename options to config

* correct type for options

* add test cases

* log sonar.options in debug message

Co-authored-by: Oliver Nocon <33484802+OliverNocon@users.noreply.github.com>
2020-04-08 12:55:46 +02:00
..
com/sap/piper TMS: explicitly check in tests that there is no token in the logs (#1370) 2020-04-07 15:42:38 +02:00
templates Patch Urls (#929) 2019-11-11 17:40:23 +01:00
util Fix test by resetting application context after each test (#1352) 2020-04-01 11:51:20 +02:00
AbapEnvironmentPullGitRepoTest.groovy Go implementation for abapEnvironmentPullGitRepo() (#1107) 2020-02-04 11:43:27 +01:00
ArtifactSetVersionTest.groovy Use stable version for setting maven version (#1332) 2020-04-03 18:16:58 +02:00
BatsExecuteTestsTest.groovy fix(NPM): change NodeJS image to LTS (#1069) 2020-01-29 11:17:56 +01:00
BuildExecuteTest.groovy
CfManifestSubstituteVariablesTest.groovy
CheckChangeInDevelopmentTest.groovy
CheckmarxExecuteScanTest.groovy Streamline calling piper go binary (#1254) 2020-03-17 09:19:09 +01:00
ChecksPublishResultsTest.groovy Revert "ConfigurationLoader, ConfigurationHelper working without script reference" 2019-11-26 10:51:32 +01:00
CloudFoundryCreateServiceTest.groovy Fix bug and added documentation for cloudFoundryCreateService step (#967) 2019-11-12 10:29:08 +01:00
CloudFoundryDeployTest.groovy fix: fixing issues with cf docker deployment (#1289) 2020-04-07 09:10:38 +02:00
CommonPipelineEnvironmentTest.groovy Pass container image via CPE (#1113) 2020-01-29 16:03:18 +01:00
CommonStepsTest.groovy refactor(sonar): switch to Sonar scan in GO (#1320) 2020-04-08 12:55:46 +02:00
ContainerExecuteStructureTestsTest.groovy
ContainerPushToRegistryTest.groovy
DebugReportArchiveTest.groovy Implement archiving the debug report as step (#1152) 2020-02-07 16:30:08 +01:00
DetectExecuteScanTest.groovy
DockerExecuteOnKubernetesTest.groovy Fix sidecar env vars (#1292) 2020-03-20 11:36:16 +01:00
DockerExecuteTest.groovy
DownloadCacheUtilsTest.groovy Maven build groovy (#1303) 2020-03-23 09:58:54 +01:00
DubExecuteTest.groovy feat(dub): expose dockerEnvVars and dockerWorkspace in dubExecute (#1012) 2019-12-09 16:24:11 +01:00
DurationMeasureTest.groovy
FioriOnCloudPlatformPipelineTest.groovy Streamline calling piper go binary (#1254) 2020-03-17 09:19:09 +01:00
GaugeExecuteTestsTest.groovy fix(NPM): change NodeJS image to LTS (#1069) 2020-01-29 11:17:56 +01:00
GithubPublishReleaseTest.groovy Streamline implementation githubPublishRelease (#1191) 2020-02-19 09:05:53 +01:00
HadolintExecuteTest.groovy Patch Urls (#929) 2019-11-11 17:40:23 +01:00
HandlePipelineStepErrorsTest.groovy Test DebugReport usage in handlePipelineStepErrors 2020-02-03 12:37:20 +01:00
HealthExecuteCheckTest.groovy
InfluxWriteDataTest.groovy Support InfluxDB plugin in version 2.0 (#1130) 2020-02-06 11:27:31 +01:00
JenkinsMaterializeLogTest.groovy Fix Could not find matching constructor for: hudson.FilePath (#1134) 2020-02-03 12:28:16 +01:00
KanikoExecuteTest.groovy
KarmaExecuteTestsTest.groovy seleniumExecuteTests: expose container metadata via env vars (#1170) 2020-02-13 09:09:08 +01:00
KubernetesDeployTest.groovy Streamline calling piper go binary (#1254) 2020-03-17 09:19:09 +01:00
MailSendNotificationTest.groovy Ignore email addresses containing string "noreply" (#1178) 2020-02-13 15:12:48 +01:00
MavenExecuteStaticCodeChecksTest.groovy Assert a command is the latest one instead expecting it at a certain index (#1344) 2020-03-31 12:19:05 +02:00
MavenExecuteTest.groovy Use maven evaluate for mavenArtifactVersioning 2020-01-23 09:31:01 +01:00
MtaBuildTest.groovy Switch the default for the mta build toolset (#1157) 2020-02-07 12:20:46 +01:00
MulticloudDeployTest.groovy
NeoDeployTest.groovy refactor(deployment): ease debugging in blue ocean (#1173) 2020-02-14 13:41:36 +01:00
NewmanExecuteTest.groovy fix(NPM): change NodeJS image to LTS (#1069) 2020-01-29 11:17:56 +01:00
NexusUploadTest.groovy Implement nexusUpload command and tests (#1255) 2020-03-20 18:20:52 +01:00
NpmExecuteTest.groovy fix(NPM): change NodeJS image to LTS (#1069) 2020-01-29 11:17:56 +01:00
PipelineExecuteTest.groovy
PipelineRestartStepsTest.groovy
PipelineStashFilesAfterBuildTest.groovy
PipelineStashFilesBeforeBuildTest.groovy remove opa5 stash (#897) 2019-11-07 11:02:27 +01:00
PiperExecuteBinTest.groovy Add step to prepare the version for an artifact (#1343) 2020-04-03 16:34:40 +02:00
PiperPublishWarningsTest.groovy chore(test): cleanup metaClass (#1104) 2020-01-22 08:57:37 +01:00
PiperStageWrapperTest.groovy Add env variable to control execution of extensions in project repo. (#1326) 2020-03-31 12:51:34 +02:00
PrepareDefaultValuesTest.groovy
SeleniumExecuteTestsTest.groovy fix: handle NPE in seleniumExecuteTests (#1239) 2020-03-03 17:09:09 +01:00
SetupCommonPipelineEnvironmentTest.groovy Streamline calling piper go binary (#1254) 2020-03-17 09:19:09 +01:00
SlackSendNotificationTest.groovy
SnykExecuteTest.groovy fix(NPM): change NodeJS image to LTS (#1069) 2020-01-29 11:17:56 +01:00
SonarExecuteScanTest.groovy refactor(sonar): switch to Sonar scan in GO (#1320) 2020-04-08 12:55:46 +02:00
SpinnakerTriggerPipelineTest.groovy
TestsPublishResultsTest.groovy
TmsUploadTest.groovy
TransportRequestCreateTest.groovy
TransportRequestReleaseTest.groovy
TransportRequestUploadFileTest.groovy
UiVeri5ExecuteTestsTest.groovy
WhitesourceExecuteScanTest.groovy fix(NPM): change NodeJS image to LTS (#1069) 2020-01-29 11:17:56 +01:00
XsDeployTest.groovy Use old approach for resolving mode action and docker related params 2020-01-17 09:40:31 +01:00