1
0
mirror of https://github.com/SAP/jenkins-library.git synced 2024-12-14 11:03:09 +02:00
sap-jenkins-library/cmd
Daniel Mieg 04b8a5cbd7
Add golang step for abapEnvironmentCloneGitRepo (#1921)
* Add yaml

* Initial files

* Add inital functions

* Create Test file

* Initial trigger clone function

* Add command

* Adapt manageGitRepositoryUtils

* Enable Repositories yaml

* Add handleHttpError Tests

* Adapt CodeClimate Feedback

* Add tests for error messages

* Adapt error messages and handling

* Adapt gitignore
2020-08-21 14:49:48 +02:00
..
testdata Protecode as GoLang (#1119) 2020-02-06 16:16:34 +01:00
abapEnvironmentCheckoutBranch_generated_test.go Add step abapEnvironmentCheckoutBranch (#1832) 2020-08-04 17:52:28 +02:00
abapEnvironmentCheckoutBranch_generated.go Add documentation + groovy file for the abapEnvironmentCheckoutBranch step (#1887) 2020-08-06 09:59:55 +02:00
abapEnvironmentCheckoutBranch_test.go Add step abapEnvironmentCheckoutBranch (#1832) 2020-08-04 17:52:28 +02:00
abapEnvironmentCheckoutBranch.go Improve testability of abap steps (#1876) 2020-08-07 11:09:58 +02:00
abapEnvironmentCloneGitRepo_generated_test.go Add golang step for abapEnvironmentCloneGitRepo (#1921) 2020-08-21 14:49:48 +02:00
abapEnvironmentCloneGitRepo_generated.go Add golang step for abapEnvironmentCloneGitRepo (#1921) 2020-08-21 14:49:48 +02:00
abapEnvironmentCloneGitRepo_test.go Add golang step for abapEnvironmentCloneGitRepo (#1921) 2020-08-21 14:49:48 +02:00
abapEnvironmentCloneGitRepo.go Add golang step for abapEnvironmentCloneGitRepo (#1921) 2020-08-21 14:49:48 +02:00
abapEnvironmentPullGitRepo_generated_test.go Go implementation for abapEnvironmentPullGitRepo() (#1107) 2020-02-04 11:43:27 +01:00
abapEnvironmentPullGitRepo_generated.go Host parameter fix (#1752) 2020-07-07 16:19:57 +02:00
abapEnvironmentPullGitRepo_test.go Add golang step for abapEnvironmentCloneGitRepo (#1921) 2020-08-21 14:49:48 +02:00
abapEnvironmentPullGitRepo.go Improve testability of abap steps (#1876) 2020-08-07 11:09:58 +02:00
abapEnvironmentRunATCCheck_generated_test.go Add abapEnvironmentRunATCCheck step (#1454) 2020-05-13 14:51:48 +02:00
abapEnvironmentRunATCCheck_generated.go Host parameter fix (#1752) 2020-07-07 16:19:57 +02:00
abapEnvironmentRunATCCheck_test.go Add step abapEnvironmentCheckoutBranch (#1832) 2020-08-04 17:52:28 +02:00
abapEnvironmentRunATCCheck.go Improve testability of abap steps (#1840) 2020-07-31 14:43:23 +02:00
artifactPrepareVersion_generated_test.go Add step to prepare the version for an artifact (#1343) 2020-04-03 16:34:40 +02:00
artifactPrepareVersion_generated.go Extend resource references to cater for secrets (#1718) 2020-06-25 16:33:38 +02:00
artifactPrepareVersion_test.go artifactPrepareVersion: remember original artifact version (#1600) 2020-05-28 10:05:22 +02:00
artifactPrepareVersion.go artifactPrepareVersion: improve error categorization (#1936) 2020-08-19 20:20:00 +02:00
checkmarxExecuteScan_generated_test.go Checkmarx as golang (#1075) 2020-01-27 23:40:53 +01:00
checkmarxExecuteScan_generated.go checkmarxExecuteScan: Add two (deprecated) aliases (#1883) 2020-08-05 14:15:24 +02:00
checkmarxExecuteScan_test.go Fix chars in checkmarx test, improve development.md (#1154) 2020-02-06 09:43:19 +01:00
checkmarxExecuteScan.go Checkmarx: honor "preset" parameter also for existing projects (#1893) 2020-08-06 17:20:26 +02:00
cloudFoundryCreateService_generated_test.go Implementing cfCreateService in Golang (#1649) 2020-08-19 10:17:27 +02:00
cloudFoundryCreateService_generated.go Fix cloudFoundryCreateService parameter scopes (#1935) 2020-08-19 19:20:52 +02:00
cloudFoundryCreateService_test.go Implementing cfCreateService in Golang (#1649) 2020-08-19 10:17:27 +02:00
cloudFoundryCreateService.go Implementing cfCreateService in Golang (#1649) 2020-08-19 10:17:27 +02:00
cloudFoundryCreateServiceKey_generated_test.go Transformation of cfCreateServiceKey to Golang (#1253) 2020-04-01 11:45:31 +02:00
cloudFoundryCreateServiceKey_generated.go Change parameters/alias for CfServiceKeyName (#1726) 2020-06-30 15:46:07 +02:00
cloudFoundryCreateServiceKey_test.go Improve tests for cf steps (#1875) 2020-08-10 11:08:34 +02:00
cloudFoundryCreateServiceKey.go Improve tests for cf steps (#1875) 2020-08-10 11:08:34 +02:00
cloudFoundryDeleteService_generated_test.go Add step cloudFoundryDeleteService (#1097) 2020-02-10 14:53:12 +01:00
cloudFoundryDeleteService_generated.go Add error category parsing to cmd execution (#1703) 2020-06-24 10:04:05 +02:00
cloudFoundryDeleteService_test.go Improve tests for cf steps (#1875) 2020-08-10 11:08:34 +02:00
cloudFoundryDeleteService.go Improve tests for cf steps (#1875) 2020-08-10 11:08:34 +02:00
cloudFoundryDeploy_generated_test.go cloud foundry deploy go (#1743) 2020-07-31 12:38:00 +02:00
cloudFoundryDeploy_generated.go cloud foundry deploy go (#1743) 2020-07-31 12:38:00 +02:00
cloudFoundryDeploy_test.go cloud foundry deploy go (#1743) 2020-07-31 12:38:00 +02:00
cloudFoundryDeploy.go Checkmarx: honor "preset" parameter also for existing projects (#1893) 2020-08-06 17:20:26 +02:00
containerSaveImage_generated_test.go Create step to save container image (#1554) 2020-05-18 08:55:25 +02:00
containerSaveImage_generated.go Add error category parsing to cmd execution (#1703) 2020-06-24 10:04:05 +02:00
containerSaveImage_test.go Create step to save container image (#1554) 2020-05-18 08:55:25 +02:00
containerSaveImage.go Create step to save container image (#1554) 2020-05-18 08:55:25 +02:00
detectExecuteScan_generated_test.go Detect: Add golang implementation (#1049) 2019-12-13 09:55:45 +00:00
detectExecuteScan_generated.go Support maven params in detect scan (#1855) 2020-07-30 10:35:46 +02:00
detectExecuteScan_test.go Support maven params in detect scan (#1855) 2020-07-30 10:35:46 +02:00
detectExecuteScan.go Support maven params in detect scan (#1855) 2020-07-30 10:35:46 +02:00
fortifyExecuteScan_generated_test.go Fortify implementation in golang (#1428) 2020-05-25 19:48:59 +02:00
fortifyExecuteScan_generated.go Declare non-optional server URLs mandatory (#1866) 2020-07-30 09:13:46 +02:00
fortifyExecuteScan_test.go fortifyExecuteScan: Fix polling project status (#1908) 2020-08-11 15:29:00 +02:00
fortifyExecuteScan.go fortifyExecuteScan: Fix polling project status (#1908) 2020-08-11 15:29:00 +02:00
gctsCloneRepository_generated_test.go Introducing new step 'gctsCloneRepository' (#1468) 2020-06-18 07:45:22 +02:00
gctsCloneRepository_generated.go gCTS docu fixes (#1823) 2020-07-22 10:56:20 +02:00
gctsCloneRepository_test.go Introducing new step 'gctsCloneRepository' (#1468) 2020-06-18 07:45:22 +02:00
gctsCloneRepository.go Introducing new step 'gctsCloneRepository' (#1468) 2020-06-18 07:45:22 +02:00
gctsCreateRepository_generated_test.go Introducing new step: "gctsCreateRepository" (#1424) 2020-04-24 15:31:41 +02:00
gctsCreateRepository_generated.go gCTS docu fixes (#1823) 2020-07-22 10:56:20 +02:00
gctsCreateRepository_test.go Introducing new step 'gctsExecuteABAPUnitTests' (#1532) 2020-07-14 10:58:57 +02:00
gctsCreateRepository.go [refactoring] move the shell/command related interfaces into pkg/command (#1737) 2020-07-01 11:28:16 +02:00
gctsDeploy_generated_test.go Introducing new step 'gctsDeployCommit' (#1476) 2020-05-18 21:39:35 +02:00
gctsDeploy_generated.go gCTS docu fixes (#1823) 2020-07-22 10:56:20 +02:00
gctsDeploy_test.go Introducing new step 'gctsRollback' (#1526) 2020-07-23 20:20:07 +02:00
gctsDeploy.go Introducing new step 'gctsRollback' (#1526) 2020-07-23 20:20:07 +02:00
gctsExecuteABAPUnitTests_generated_test.go Introducing new step 'gctsExecuteABAPUnitTests' (#1532) 2020-07-14 10:58:57 +02:00
gctsExecuteABAPUnitTests_generated.go gCTS docu fixes (#1823) 2020-07-22 10:56:20 +02:00
gctsExecuteABAPUnitTests_test.go Introducing new step 'gctsExecuteABAPUnitTests' (#1532) 2020-07-14 10:58:57 +02:00
gctsExecuteABAPUnitTests.go Introducing new step 'gctsExecuteABAPUnitTests' (#1532) 2020-07-14 10:58:57 +02:00
gctsRollback_generated_test.go Introducing new step 'gctsRollback' (#1526) 2020-07-23 20:20:07 +02:00
gctsRollback_generated.go Introducing new step 'gctsRollback' (#1526) 2020-07-23 20:20:07 +02:00
gctsRollback_test.go Introducing new step 'gctsRollback' (#1526) 2020-07-23 20:20:07 +02:00
gctsRollback.go Introducing new step 'gctsRollback' (#1526) 2020-07-23 20:20:07 +02:00
getConfig_test.go piperExecuteBin - prevent non-speaking exit code 1 error (#1584) 2020-05-26 07:58:03 +02:00
getConfig.go artifactPrepareVersion: improve error categorization (#1936) 2020-08-19 20:20:00 +02:00
githubCreatePullRequest_generated_test.go Add step githubCreatePullRequest (#1068) 2019-12-16 16:34:12 +00:00
githubCreatePullRequest_generated.go Add error category parsing to cmd execution (#1703) 2020-06-24 10:04:05 +02:00
githubCreatePullRequest_test.go Add step githubCreatePullRequest (#1068) 2019-12-16 16:34:12 +00:00
githubCreatePullRequest.go Streamline step generation (#1142) 2020-02-04 10:46:43 +01:00
githubPublishRelease_generated_test.go Update githubPublishRelease 2019-11-04 16:07:30 +01:00
githubPublishRelease_generated.go Add error category parsing to cmd execution (#1703) 2020-06-24 10:04:05 +02:00
githubPublishRelease_test.go GithubPublishRelease: Add "pre-release" flag (#1654) 2020-06-15 21:05:08 +02:00
githubPublishRelease.go GithubPublishRelease: Add "pre-release" flag (#1654) 2020-06-15 21:05:08 +02:00
jsonApplyPatch_generated_test.go Add schema patch step in go (#1683) 2020-06-18 14:50:46 +02:00
jsonApplyPatch_generated.go Add error category parsing to cmd execution (#1703) 2020-06-24 10:04:05 +02:00
jsonApplyPatch_test.go Let json patcher fail if file not found (#1694) 2020-06-19 20:13:20 +02:00
jsonApplyPatch.go Let json patcher fail if file not found (#1694) 2020-06-19 20:13:20 +02:00
kanikoExecute_generated_test.go kanikoExecute - golang version (#1765) 2020-07-10 08:07:59 +02:00
kanikoExecute_generated.go kanikoExecute - golang version (#1765) 2020-07-10 08:07:59 +02:00
kanikoExecute_test.go Support maven params in detect scan (#1855) 2020-07-30 10:35:46 +02:00
kanikoExecute.go kanikoExecute - golang version (#1765) 2020-07-10 08:07:59 +02:00
karmaExecuteTests_generated_test.go Add golang implementation for karma tests (#919) 2019-10-25 14:58:59 +02:00
karmaExecuteTests_generated.go Add error category parsing to cmd execution (#1703) 2020-06-24 10:04:05 +02:00
karmaExecuteTests_test.go Move mock capabilities to pkg/mock/runner and adapt all tests 2020-02-27 12:11:22 +01:00
karmaExecuteTests.go [refactoring] move the shell/command related interfaces into pkg/command (#1737) 2020-07-01 11:28:16 +02:00
kubernetesDeploy_generated_test.go Add kubernetesDeploy step (#1073) 2020-01-24 14:30:27 +01:00
kubernetesDeploy_generated.go kubernetesDeploy - improve helm parameter handling (#1931) 2020-08-18 07:32:36 +02:00
kubernetesDeploy_test.go kubernetesDeploy - improve helm parameter handling (#1931) 2020-08-18 07:32:36 +02:00
kubernetesDeploy.go kubernetesDeploy - improve helm parameter handling (#1931) 2020-08-18 07:32:36 +02:00
malwareExecuteScan_generated_test.go Provide tooling for malware scanning (#1329) 2020-04-23 09:12:10 +02:00
malwareExecuteScan_generated.go Add error category parsing to cmd execution (#1703) 2020-06-24 10:04:05 +02:00
malwareExecuteScan_test.go Timeout for malwarescan (#1623) 2020-06-03 11:08:34 +02:00
malwareExecuteScan.go [refactoring] move the shell/command related interfaces into pkg/command (#1737) 2020-07-01 11:28:16 +02:00
mavenBuild_generated_test.go Add maven build/install step (#1245) 2020-03-13 13:32:37 +01:00
mavenBuild_generated.go Add error category parsing to cmd execution (#1703) 2020-06-24 10:04:05 +02:00
mavenBuild_test.go Enhance piperutils.Files and mock.FilesMock (#1664) 2020-06-15 09:47:33 +02:00
mavenBuild.go [refactoring] move the shell/command related interfaces into pkg/command (#1737) 2020-07-01 11:28:16 +02:00
mavenExecute_generated_test.go Add mavenExecute to go lib 2020-02-28 13:09:46 +01:00
mavenExecute_generated.go Add error category parsing to cmd execution (#1703) 2020-06-24 10:04:05 +02:00
mavenExecute_test.go Fix maven parameter handling (#1493) 2020-05-06 17:43:32 +02:00
mavenExecute.go [refactoring] move the shell/command related interfaces into pkg/command (#1737) 2020-07-01 11:28:16 +02:00
mavenExecuteIntegration_generated_test.go New step mavenExecuteIntegration (#1829) 2020-07-29 19:51:27 +02:00
mavenExecuteIntegration_generated.go New step mavenExecuteIntegration (#1829) 2020-07-29 19:51:27 +02:00
mavenExecuteIntegration_test.go New step mavenExecuteIntegration (#1829) 2020-07-29 19:51:27 +02:00
mavenExecuteIntegration.go New step mavenExecuteIntegration (#1829) 2020-07-29 19:51:27 +02:00
mavenExecuteStaticCodeChecks_generated_test.go Add groovy wrapper for mavenExecuteStaticCodeChecks and rename go step 2020-03-12 15:45:57 +01:00
mavenExecuteStaticCodeChecks_generated.go Add error category parsing to cmd execution (#1703) 2020-06-24 10:04:05 +02:00
mavenExecuteStaticCodeChecks_test.go Update maven spotbugs plugin to support Java 14 (#1852) 2020-07-28 09:58:56 +02:00
mavenExecuteStaticCodeChecks.go Update maven spotbugs plugin to support Java 14 (#1852) 2020-07-28 09:58:56 +02:00
mtaBuild_generated_test.go go: mta build (#1128) 2020-02-25 14:33:34 +01:00
mtaBuild_generated.go Remove sapNpmRegistry (#1909) 2020-08-11 15:58:39 +02:00
mtaBuild_test.go Remove sapNpmRegistry (#1909) 2020-08-11 15:58:39 +02:00
mtaBuild.go Remove sapNpmRegistry (#1909) 2020-08-11 15:58:39 +02:00
nexusUpload_generated_test.go Implement nexusUpload command and tests (#1255) 2020-03-20 18:20:52 +01:00
nexusUpload_generated.go Add error category parsing to cmd execution (#1703) 2020-06-24 10:04:05 +02:00
nexusUpload_test.go [refactoring] move the shell/command related interfaces into pkg/command (#1737) 2020-07-01 11:28:16 +02:00
nexusUpload.go [refactoring] move the shell/command related interfaces into pkg/command (#1737) 2020-07-01 11:28:16 +02:00
npmExecuteLint_generated_test.go Add Java-/Typescript linting capabilities (#1636) 2020-06-22 10:12:28 +02:00
npmExecuteLint_generated.go Remove sapNpmRegistry (#1909) 2020-08-11 15:58:39 +02:00
npmExecuteLint_test.go Remove sapNpmRegistry (#1909) 2020-08-11 15:58:39 +02:00
npmExecuteLint.go Remove sapNpmRegistry (#1909) 2020-08-11 15:58:39 +02:00
npmExecuteScripts_generated_test.go Implement npmExecuteScripts step (#1422) 2020-04-24 18:29:30 +02:00
npmExecuteScripts_generated.go Remove sapNpmRegistry (#1909) 2020-08-11 15:58:39 +02:00
npmExecuteScripts_test.go Remove sapNpmRegistry (#1909) 2020-08-11 15:58:39 +02:00
npmExecuteScripts.go Remove sapNpmRegistry (#1909) 2020-08-11 15:58:39 +02:00
piper_test.go piper: Use stageName from parametersJSON, log value and source (#1920) 2020-08-13 17:55:12 +02:00
piper.go Add golang step for abapEnvironmentCloneGitRepo (#1921) 2020-08-21 14:49:48 +02:00
protecodeExecuteScan_generated_test.go Protecode as GoLang (#1119) 2020-02-06 16:16:34 +01:00
protecodeExecuteScan_generated.go refactor(protecode): add explicit parameter for Docker config.json file (#1914) 2020-08-12 14:57:11 +02:00
protecodeExecuteScan_test.go refactor(protecode): add explicit parameter for Docker config.json file (#1914) 2020-08-12 14:57:11 +02:00
protecodeExecuteScan.go refactor(protecode): add explicit parameter for Docker config.json file (#1914) 2020-08-12 14:57:11 +02:00
sonarExecuteScan_generated_test.go refactor(sonar): implement Sonar step in GO (#1042) 2020-03-23 10:38:31 +01:00
sonarExecuteScan_generated.go fix(sonar): correct type for custom TLS certificates (#1847) 2020-07-27 15:01:30 +02:00
sonarExecuteScan_test.go fix(sonar): correct type for custom TLS certificates (#1847) 2020-07-27 15:01:30 +02:00
sonarExecuteScan.go fix(sonar): correct type for custom TLS certificates (#1847) 2020-07-27 15:01:30 +02:00
version_test.go Make version command a high level command like get-config without resolving the configuration (#1689) 2020-06-19 14:39:19 +02:00
version.go Make version command a high level command like get-config without resolving the configuration (#1689) 2020-06-19 14:39:19 +02:00
whitesourceExecuteScan_generated_test.go Whitesource scan (MVP) (#1658) 2020-07-01 07:54:13 +02:00
whitesourceExecuteScan_generated.go Revamp documentation generation for golang steps (#1781) 2020-07-16 09:10:15 +02:00
whitesourceExecuteScan.go Whitesource scan (MVP) (#1658) 2020-07-01 07:54:13 +02:00
xsDeploy_generated_test.go xs deploy go (#931) 2019-12-05 14:22:38 +01:00
xsDeploy_generated.go Add error category parsing to cmd execution (#1703) 2020-06-24 10:04:05 +02:00
xsDeploy_test.go Support maven params in detect scan (#1855) 2020-07-30 10:35:46 +02:00
xsDeploy.go [refactoring] move the shell/command related interfaces into pkg/command (#1737) 2020-07-01 11:28:16 +02:00