1
0
mirror of https://github.com/SAP/jenkins-library.git synced 2024-12-14 11:03:09 +02:00
Commit Graph

817 Commits

Author SHA1 Message Date
Marcus Holl
de05e1dc55 Merge provide either stdout or return status 2018-09-25 10:11:14 +02:00
Marcus Holl
a021f0bea9 make sh returnStdout or returnStatus configurable inside ChangeManagement toolset 2018-09-25 09:53:37 +02:00
Marcus Holl
ddbb09fa66 transport request create CTS 2018-09-25 09:27:11 +02:00
Marcus Holl
f34308ffe0 upload file to transport for CTS use case 2018-09-24 15:08:01 +02:00
Marcus Holl
c63e6e88c0
Merge pull request #297 from marcusholl/pr/returnTypeVoid
Pipeline steps are expected not to return a return value
2018-09-21 13:48:33 +02:00
Marcus Holl
14d1027323 Merge remote-tracking branch 'github/master' into HEAD 2018-09-21 13:44:54 +02:00
Marcus Holl
1802d0c15a
Merge pull request #280 from marcusholl/pr/libResourceAndReadYamlCloserToReality
Be more precise with libraryResource and read yaml in prepareDefaultV…
2018-09-21 13:37:10 +02:00
Marcus Holl
726b969682 Merge remote-tracking branch 'github/master' into HEAD 2018-09-21 13:33:42 +02:00
Marcus Holl
afca9ca9fc
Merge pull request #282 from marcusholl/pr/credentialsRule
Tests: make use of JenkinsCredentialsRule
2018-09-21 13:32:56 +02:00
Marcus Holl
9cd31e7236 Merge remote-tracking branch 'github/master' into HEAD 2018-09-21 13:27:29 +02:00
Marcus Holl
e2e6f5d401
Merge pull request #281 from marcusholl/defaultValueCacheInstanceLikeChecks
Make DefaultConfigurationCache instance checks more precise
2018-09-21 13:26:43 +02:00
Marcus Holl
f07b596c46 Merge remote-tracking branch 'github/master' into HEAD 2018-09-21 12:48:14 +02:00
Marcus Holl
4fbf9b1df5
Merge pull request #286 from marcusholl/pr/ReplaceGStrings
replace GStrings in configuration by correspoding java.lang.Strings
2018-09-21 12:46:51 +02:00
Marcus Holl
8a5685bae7 Merge remote-tracking branch 'github/master' into HEAD 2018-09-21 12:18:25 +02:00
Marcus Holl
f0820fa399 Merge remote-tracking branch 'github/master' into HEAD 2018-09-21 12:16:50 +02:00
Marcus Holl
0919f23ff1
Merge pull request #296 from marcusholl/pr/fixWrongLinkToContributionGuidelines
Fix not working link to contribution guidelines
2018-09-21 12:15:47 +02:00
Marcus Holl
dc1c57ccca Merge remote-tracking branch 'github/master' into HEAD 2018-09-21 11:26:04 +02:00
Marcus Holl
9399588f5d
Merge pull request #300 from marcusholl/pr/moveGitUtilsMockToGitUtilsTestClass
Remove generic gitUtils from BasePiperTest
2018-09-21 11:25:19 +02:00
Marcus Holl
123ce3a603 Merge remote-tracking branch 'github/master' into HEAD 2018-09-21 11:20:14 +02:00
Marcus Holl
154750d98d
Merge pull request #301 from marcusholl/pr/noStashUnstashOutputWrittenByTests
Remove output to stdout from tests
2018-09-21 11:18:39 +02:00
Marcus Holl
42188d3a4f Merge remote-tracking branch 'github/master' into HEAD 2018-09-21 11:13:07 +02:00
Marcus Holl
5b28c787ab
Merge pull request #304 from marcusholl/pr/fixMissingGettersAndSetters
Revert "Remove explict getters and setters from common pipeline envir…
2018-09-21 10:18:15 +02:00
Marcus Holl
341cb97c25 Revert "Remove explict getters and setters from common pipeline environment"
This reverts commit d22af0f9d4.
2018-09-21 09:24:47 +02:00
Oliver Nocon
518a08bdb4
Update CONTRIBUTING.md 2018-09-19 09:25:40 +02:00
Marcus Holl
23af245ad9
Merge pull request #302 from marcusholl/pr/noExplictGetterAnDSettersInCommonPipelineEnvironment
Remove explict getters and setters from common pipeline environment
2018-09-19 09:13:21 +02:00
Marcus Holl
141210beb2 Expose backendType for uploading files into transports 2018-09-18 15:56:35 +02:00
Marcus Holl
8ed864b87f Merge commit 'cfd25198b04e9eae19139dcf429518667863f423' into HEAD 2018-09-18 14:57:36 +02:00
Marcus Holl
e40e3eb72f Introduce backendType in ChangeManagement util internally
without affecting method signatures.
2018-09-18 14:54:40 +02:00
Marcus Holl
cfd25198b0 transportRequestUploadFile step 2018-09-18 14:49:06 +02:00
Marcus Holl
80572f8569 Backend type in default configuration. 2018-09-18 14:48:47 +02:00
Marcus Holl
82a9a8e824 Enum for the backend types 2018-09-18 14:48:06 +02:00
Marcus Holl
d22af0f9d4 Remove explict getters and setters from common pipeline environment
We get getters and setters generated automatically.
2018-09-17 16:51:13 +02:00
Marcus Holl
657ccf7d91
Merge pull request #294 from marcusholl/pr/premoveDeclarationsOfPrepareObjectInterceptors
Remove not (really) needed declarations of prepareObjectInterceptors
2018-09-14 10:36:42 +02:00
thorstenwillenbacher
1420c8a5bd
Merge branch 'master' into pr/premoveDeclarationsOfPrepareObjectInterceptors 2018-09-14 10:12:26 +02:00
Marcus Holl
c1900f6ecd Remove output to stdout from tests
In fact nobody reads it, but on some IDEs it is shown when tests are executed.
2018-09-14 09:08:52 +02:00
Marcus Holl
dc9ce9a732 Remove generic gitUtils from BasePiperTest
there is only one test class making use of it left. This test class is the
GitUtilsTest itself.

Hence moving this member downwards in the test class hierarchy into GitUtilsTest.

I doubt it makes sense to make use of a generic git utils mock somewhere else since this basically
means to test the GitUtils class in the conxtext of other examinees. For that there is no need.
The GitUtils class should be tested by the corresponding test class, but not in a transive manner
by other tests. For all other tests a specific git utils mock should be provided mocking the corresponding
method class. This is already the case today, otherwise we would have more test classes making use
of the generic git utils mock.
2018-09-13 16:01:35 +02:00
Marcus Holl
63cf375398 Pipeline steps are expected not to return a return value 2018-09-13 11:24:04 +02:00
Marcus Holl
2d29555811 Fix not working link to contribution guidelines 2018-09-13 11:09:24 +02:00
Marcus Holl
7f171429bc
Merge pull request #290 from marcusholl/pr/execClosureFromShellCallRule
Execute closures when evaluating shell calls
2018-09-12 11:19:47 +02:00
Marcus Holl
8afec9b4dc Merge remote-tracking branch 'github/master' into HEAD 2018-09-12 11:14:03 +02:00
Marcus Holl
d919335b06
Merge pull request #293 from marcusholl/pr/removeMockHelper
Remove obsolete code: mockHelper
2018-09-12 11:12:57 +02:00
Marcus Holl
9c4652ddab Merge remote-tracking branch 'github/master' into HEAD 2018-09-12 11:02:31 +02:00
Marcus Holl
d31e0e73cb Remove not (really) needed declarations of prepareObjectInterceptors
- In ArtifactSetVersionTest the method was declared,
    but not used at all.
  - In MtaUtilsTest there was a particular Object created
    for the sole purpose of serving as script.
    For that we have the nullScript.
  - In DockerArtifactVersioningTest 'this' was configured to
    serve as script. There is basically no reason why the
    instance of the JUnitTest should serve as script.
    Instead we have the nullScript for that purpose.
2018-09-10 16:52:44 +02:00
Marcus Holl
59d831d735
Merge pull request #285 from marcusholl/pr/removeMergeMethodFromConfigMerger
Remove not needed merge method from ConfigurationMerger
2018-09-10 16:24:37 +02:00
Christopher Fenner
bb98ba71f3
Merge branch 'master' into pr/removeMergeMethodFromConfigMerger 2018-09-10 15:02:58 +02:00
Sven Merk
61de848114
Merge branch 'master' into pr/removeMockHelper 2018-09-10 14:03:07 +02:00
Marcus Holl
308c4c772e
Merge pull request #291 from marcusholl/pr/mockGitUtilsForArtifactSetVersionTests
mock GitUtils
2018-09-10 13:59:41 +02:00
Marcus Holl
aedfb13a6b Merge remote-tracking branch 'github/master' into HEAD 2018-09-10 13:52:22 +02:00
Marcus Holl
9e378d6b46 Remove obsolete code: mockHelper
in fact the MockHelper seems not to be used anymore. Apparently fully
superseded by our JenkinsRules.
2018-09-10 13:44:42 +02:00
Christopher Fenner
d07b64f477
Merge branch 'master' into pr/removeMergeMethodFromConfigMerger 2018-09-10 13:32:01 +02:00