Oliver Nocon
71edb2aaac
Doc generator - allow generation of stage documentation ( #713 )
...
* Doc generator - allow generation of stage documentation
2019-05-23 17:37:47 +02:00
Alejandra Ferreiro Vidal
ee556196ba
Merge pull request #725 from alejandraferreirovidal/removeSemikolons
...
remove semikolons
2019-05-23 16:28:47 +02:00
Alejandra Ferreiro Vidal
c21a4a6a3e
remove semikolons
2019-05-23 14:28:32 +02:00
Alejandra Ferreiro Vidal
44b56dc520
Merge pull request #724 from alejandraferreirovidal/removeGroovyHeader
...
remove !#groovy header
2019-05-23 14:25:59 +02:00
Alejandra Ferreiro Vidal
79b79457f4
remove !#groovy header
2019-05-23 10:37:28 +02:00
Oliver Feldmann
5fcefb55b8
Fix typo in yaml ( #722 )
2019-05-23 08:13:23 +02:00
Marcus Holl
8545562989
Merge pull request #711 from marcusholl/pr/docuMetaDataInGHPages
...
Provide docu metadata in gh-pages branch
2019-05-22 11:48:28 +02:00
Oliver Nocon
3bca521230
Merge branch 'master' into pr/docuMetaDataInGHPages
2019-05-22 10:53:44 +02:00
Oliver Nocon
dbf110504e
Templates - Add advanced confirm stage ( #720 )
...
* Templates - Confirm Stage
* include feedback: allow customizing of default message
* adapt docs
* add default message
2019-05-22 10:42:59 +02:00
Marcus Holl
677d026aa2
Merge pull request #659 from marcusholl/pr/switchToNamedParametersWhenCreatingDocu
...
Switch to named parameters when invoking docu generation
2019-05-22 09:27:05 +02:00
Marcus Holl
cb057fe797
Merge branch 'master' into pr/switchToNamedParametersWhenCreatingDocu
2019-05-22 09:07:53 +02:00
Tom Kiemes
e17753f3cd
Fix formatting ( #719 )
...
* Fix formatting
Co-authored-by: Markus Winkler
* Update createDocu.groovy
2019-05-22 08:16:07 +02:00
Christopher Fenner
77e344d181
fix code climate issues II ( #715 )
...
* fix code climate issues
* fix code climate issues
* fix code climate issues
2019-05-17 13:20:13 +02:00
Marcus Holl
ef83584e53
Merge pull request #598 from marcusholl/pr/createStepSpecificPluginList
...
Create step specific plugin list
2019-05-17 12:20:33 +02:00
Marcus Holl
9f7056b73f
Reuse getSteps from StepHelper in common step tests
2019-05-17 12:11:29 +02:00
Marcus Holl
f83935d248
Merge remote-tracking branch 'github/master' into HEAD
2019-05-17 12:05:34 +02:00
Marcus Holl
8fcdd0e9b5
Provide docu metadata in gh-pages branch
2019-05-17 10:58:50 +02:00
Marcus Holl
afb7116e36
Merge pull request #705 from marcusholl/pr/inlineRules
...
Tests: inline JUnit rules
2019-05-17 10:07:03 +02:00
Marcus Holl
887e8e93e2
Merge remote-tracking branch 'github/master' into HEAD
2019-05-17 10:06:01 +02:00
Christopher Fenner
3a3b15e9ba
Merge branch 'master' into pr/inlineRules
2019-05-16 11:35:22 +02:00
Marcus Holl
22b1e9e129
Merge pull request #710 from marcusholl/pr/docuFixNullValues
...
fix: null is rendered when no default value is available instead of t…
2019-05-16 11:28:22 +02:00
Christopher Fenner
4d9a4dbc6f
Merge branch 'master' into pr/docuFixNullValues
2019-05-16 11:07:26 +02:00
Christopher Fenner
6d5fdd41bf
fix code climate issues ( #712 )
...
* fix code climate issues
* fix code climate issues
* Update GitUtils.groovy
2019-05-16 10:46:13 +02:00
Marcus Holl
ca33a86ee6
Switch to named parameters when invoking docu generation
2019-05-16 10:27:00 +02:00
Marcus Holl
e00b28f143
Merge branch 'master' into pr/docuFixNullValues
2019-05-16 09:56:17 +02:00
Sven Merk
e7c9b877b0
Merge pull request #707 from SAP/fortify-PR
...
Compatibility to Piper PR support
2019-05-16 09:32:47 +02:00
Marcus Holl
80e8473de5
Merge remote-tracking branch 'github/master' into HEAD
2019-05-16 09:18:30 +02:00
Sven Merk
23439e3df3
Merge branch 'master' into fortify-PR
2019-05-15 20:56:19 +02:00
Christopher Fenner
9db487d189
move method to MapUtils ( #709 )
...
* move method to MapUtils
* use MapUtils
* fix indent
* Update src/com/sap/piper/MapUtils.groovy
* Update MapUtils.groovy
* remove obsolete test case
* fix typo
2019-05-15 20:52:45 +02:00
Sven Merk
14bdac6b85
Merge branch 'master' into fortify-PR
2019-05-15 20:23:46 +02:00
Marcus Holl
abdfa7b201
[refactoring] Increase readabiliy: inline rules without references
2019-05-15 17:03:41 +02:00
Christopher Fenner
960609376d
Merge branch 'master' into pr/docuFixNullValues
2019-05-15 15:26:01 +02:00
Marcus Holl
ee3f820e5f
explict null check in order to render also false
...
Co-Authored-By: Christopher Fenner <Christopher.Fenner@sap.com>
2019-05-15 15:20:14 +02:00
Marcus Holl
ed328b75af
Merge pull request #701 from marcusholl/pr/defensiveCopy
...
Provide a deep config copy from ConfigHelper.use()
2019-05-15 15:06:09 +02:00
Marcus Holl
2ad52708fa
fix: null is rendered when no default value is available instead of the empty string
2019-05-15 14:55:33 +02:00
Marcus Holl
f38729c5eb
Merge remote-tracking branch 'github/master' into HEAD
2019-05-15 14:23:38 +02:00
Marcus Holl
a0649aa63f
Explain what 'deepCopy' means
2019-05-15 14:21:19 +02:00
Marcus Holl
331c4bfd1a
Merge pull request #698 from marcusholl/pr/DoNotReturnWrongValueIfOnlyAPartOfAPathCanBeResolved
...
[fix] do not return a wrong config value if only a part of the path c…
2019-05-15 10:26:43 +02:00
Christopher Fenner
2fed3f231f
Merge branch 'master' into pr/DoNotReturnWrongValueIfOnlyAPartOfAPathCanBeResolved
2019-05-15 10:16:09 +02:00
Marcus Holl
9d43f7abb3
[fix] do not return a wrong config value if only a part of the path could be resolved.
2019-05-15 09:30:21 +02:00
Sven Merk
07f73dab71
Compatibility to Piper PR support
2019-05-14 16:30:13 +02:00
Marcus Holl
0431c29063
Fix exception list for step neoDeploy ( #697 )
...
due to wrong indentation in the md file the excpetions are not rendered as expected. The reasons
why an exception occures is on the same level like the exception, but should have only level more.
2019-05-14 12:56:47 +02:00
Marcus Holl
7a7fd3ebab
Provide a deep config copy from ConfigHelper.use()
...
The config map prepared by ConfigHelper is a mix from several configuration levels. The lowest config level
(DefaultValueCache) is shared between several ConfigHelper invocations. In case a Map or Collection which is
inherited from the DefaultValueCache level gets modified, this is also visible for all subsequent steps. This
causes trouble and situation which are hard to debug.
With this change here each invocation of ConfigHelper.use() provides a deep defensive copy. With that we can
ensure that there is no configuration update from one step to another.
2019-05-14 12:43:18 +02:00
Christopher Fenner
c52d1ceb0d
add Sonar docs link ( #704 )
2019-05-14 10:59:52 +02:00
Christopher Fenner
c8f9db71eb
add step for Sonar scan ( #183 )
...
* add new step sonarExecute
* simplify list
* add general credentials for SonarQube
* Update default_pipeline_environment.yml
* Update sonarExecute.groovy
* correct worker invocation
* switch step/stage config order
* add tests
* add webhook handling
* Update default_pipeline_environment.yml
* use withMandatoryProperty with condition
* Update ConfigurationHelper.groovy
* Update sonarExecute.groovy
* Update ConfigurationHelper.groovy
* rename step to sonarExecuteScan
* rename step to sonarExecuteScan
* rename step to sonarExecuteScan
* Update sonarExecuteScan.groovy
* change return type
* Update sonarExecuteScan.groovy
* stash
* update defaults
* update install path
* use quiet unzip
* use long option names
* optimize filename retrival
* rework PR voting
* fix path
* remove accitentially checked-in file
* add documentation, optimise coding
* correct test case
* add documentation
* remove option prefix
* rename config variable
* update docs
* update docs
* rename download url
* fix typo
* adjust test cases
* add test cases
* update docs
2019-05-13 12:29:07 +02:00
Marcus Holl
f9047bc37a
Merge pull request #616 from marcusholl/pr/neoLogInAnyFailureCase
...
provide the log in case of a failure always, not only in docker context
2019-05-10 09:26:37 +02:00
Marcus Holl
cdc9e2c266
Merge remote-tracking branch 'github/master' into HEAD
2019-05-10 08:44:51 +02:00
Oliver Nocon
729cd0ab30
detectExecuteScan - add doc to docs structure ( #699 )
2019-05-10 08:06:38 +02:00
Christopher Fenner
8a55e25f72
add Slack notification to Init and Post stage ( #691 )
...
* add Slack notification to post stage
* add Slack notification to init stage
* add trigger condition for Slack notification
* fix whitespaces
* use capital stage name
* add tests for init stage
* remove unused import
* add tests for post stage
* minor changes
* fix typo
2019-05-10 06:47:44 +02:00
Marcus Holl
46367263b6
Merge remote-tracking branch 'github/master' into HEAD
2019-05-09 15:49:26 +02:00