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

1172 Commits

Author SHA1 Message Date
Marcus Holl
f09cd638bb Separate step rendering from step evaluation
... in preparation of additional tags making use of interdependencies between steps,
e.g. something like a '@see' tag for re-using descriptions from other steps.
2018-10-29 14:02:16 +01:00
Marcus Holl
67bc3f633d Relocate 'done' message. 2018-10-29 13:39:37 +01:00
Marcus Holl
fd46329bd1 The empty string instead of 'n/a' in case no value is available 2018-10-29 13:37:58 +01:00
Marcus Holl
5798b0a236 Special handling for 'script' parameter 2018-10-29 13:09:20 +01:00
Marcus Holl
1624001826 Introduce header comment handling
... and several other fixes
2018-10-29 12:57:10 +01:00
Marcus Holl
77419882dd scanNextLineForParam -> docuEnd
since this naming is more open, e.g. when dealing with header comments we do not
scan the next line for a parameter.
2018-10-29 08:09:36 +01:00
Marcus Holl
9532e1c05d WIP: header comment 2018-10-29 08:09:34 +01:00
Marcus Holl
44cf1c6f47 Emit a warning to the log in case the same parameter is documented twice. 2018-10-26 12:21:06 +02:00
Marcus Holl
a8eb963ac2 Support javadoc like comments for parameters specified in a config key list
up to now we onls took withMandatory parameter sections into account
2018-10-26 12:14:03 +02:00
Marcus Holl
d5c89e8b4a -Provide option for generating docu for a single step 2018-10-26 12:08:34 +02:00
Marcus Holl
836eff22b9 Blacklist removed
was only intended to speed-up early development of the script.
2018-10-26 11:59:48 +02:00
Marcus Holl
b7f2ca8c5b Be more failsafe when creating documentation
we do not fail immediatly, instead we continue with the next step. Of course we emit a warning/error into
the log in case of a failure.

In case there is a failure the script returns with != 0
2018-10-26 11:48:11 +02:00
Christopher Fenner
dfd4ed9180
Update .travis.yml 2018-10-26 10:56:21 +02:00
Christopher Fenner
631e9f8e19
correct condition to handle PRs 2018-10-26 10:55:37 +02:00
Christopher Fenner
a3d1b8532e
Update .travis.yml 2018-10-26 10:43:05 +02:00
Christopher Fenner
c3ac22cc64
Merge branch 'master' into CCFenner/stages 2018-10-26 10:31:36 +02:00
Marcus Holl
7312f87705 add gaugeExec and pipelineRestart to whitelist for generalconfig 2018-10-26 10:15:24 +02:00
Marcus Holl
0951dcb5d6 Add common step tests wrt to fields defining configuration 2018-10-26 10:15:24 +02:00
Marcus Holl
17e84b5deb Adjust naming for config keys for step newmanExecute 2018-10-26 10:15:22 +02:00
Marcus Holl
f36137930e Adjust naming for config keys for step testsPublishResults 2018-10-26 10:12:40 +02:00
Marcus Holl
749ddbef71 Adjust naming for config keys for step batsExecuteTest 2018-10-26 10:11:55 +02:00
Marcus Holl
c7b05e9294 Adjust naming for config keys for step transportRequestRelease 2018-10-26 10:11:16 +02:00
Marcus Holl
59d0c120f2 Adjust naming for config keys for step cloudFoundryDeploy 2018-10-26 10:10:24 +02:00
Marcus Holl
a4c0bb8d2b Adjust naming for config keys for transportRequestUploadFile 2018-10-26 10:09:14 +02:00
Marcus Holl
5a75a4cc0c Adjust naming for config key sets in transportRequestCreate 2018-10-26 10:09:12 +02:00
Marcus Holl
75ae0e5f03 add field GENERAL_CONFIG_KEYS to artifactSetVersion step 2018-10-26 10:08:26 +02:00
Marcus Holl
fad3191de1 Introduce GENERAL_COMFIG_KEYS for seleniumExecuteTests 2018-10-26 10:07:31 +02:00
Marcus Holl
0013c5db0e general config key for step healthCheckExecute 2018-10-26 10:06:34 +02:00
Marcus Holl
8a2fabf6d9 Adjust naming for config key sets in checkChangeInDevelopment 2018-10-26 10:05:23 +02:00
Marcus Holl
f39726727e
Merge pull request #359 from marcusholl/pr/fixTrailingWhitespaces
Fix trailing whitespaces
2018-10-26 10:00:01 +02:00
Oliver Nocon
1b2fa0398a
Merge branch 'master' into pr/fixTrailingWhitespaces 2018-10-25 16:56:40 +02:00
Oliver Nocon
a8a29b753a
add step githubPublishRelease (#345)
This step allows to easily create a new release for your GitHub repository

* include PR review feedback - add additional labels
* consider return status of api call
2018-10-25 16:56:09 +02:00
Christopher Fenner
f6c62d2017
split travis build into stages 2018-10-25 12:56:32 +02:00
Christopher Fenner
5a3be2af49
Merge branch 'master' into pr/fixTrailingWhitespaces 2018-10-25 10:42:19 +02:00
Christopher Fenner
7deb1d11ab
add config for Code Climate (#357) 2018-10-25 10:39:08 +02:00
Marcus Holl
f8c48e980d @value -> @possibleValues 2018-10-25 10:02:17 +02:00
Marcus Holl
f71b0b797e
Merge pull request #309 from marcusholl/pr/cts
CTS scenario
2018-10-25 09:46:08 +02:00
Marcus Holl
776cfdf50b Merge remote-tracking branch 'mholl/pr/cts' into HEAD 2018-10-25 09:07:26 +02:00
Marcus Holl
dd9e26042d Fix trailing whitespaces 2018-10-25 08:41:50 +02:00
Marcus Holl
5cdd1129a0 Merge remote-tracking branch 'github/master' into HEAD 2018-10-25 08:38:48 +02:00
Marcus Holl
e8f15cfe7a
Merge pull request #358 from SAP/oliverf/mtaDocu
Remove return value from mtaBuild docu
2018-10-25 08:20:32 +02:00
Oliver Feldmann
713a5fe319
Remove return value from mtaBuild docu
There is no return value coming from mtaBuild anymore.
2018-10-24 14:45:37 +02:00
Christopher Fenner
dabbc724ad
handlePipelineStepErrors: extract error message to template (#350)
* add template for handleStepErrors

* add tests

* use template

* fix indent

* fix typo

* Update HandlePipelineStepErrorTest.groovy

* Update HandlePipelineStepErrorTest.groovy
2018-10-24 13:36:30 +02:00
Christopher Fenner
18078b3bdb add sources for code coverage (#349)
* add sources for code coverage
* hand-in mocked script
* remove obsolete test case
2018-10-24 12:09:51 +02:00
Christopher Fenner
48990bac47
dockerExecute: use docker network to connect sidecar containers (#352)
* use docker network to connect containers

* add container names

* use network-alias instead of name

* Update dockerExecute.groovy

* Update dockerExecute.groovy

* Update dockerExecute.groovy

* Update dockerExecute.groovy

* Update DockerExecuteTest.groovy

* remove obsolete parameter

* Update default_pipeline_environment.yml

* Update DockerExecuteTest.groovy

* Update dockerExecute.groovy

* Update DockerExecuteTest.groovy

* Update dockerExecute.groovy

* update docs
2018-10-24 10:13:28 +02:00
Marcus Holl
6849081eec fix mkdocs docker image version (#354) 2018-10-23 17:50:49 +02:00
Marcus Holl
0c3203bb44 Merge remote-tracking branch 'mholl/pr/cts' into HEAD 2018-10-23 15:46:11 +02:00
Marcus Holl
a2393c3f92 merge remote-tracking branch 'github/master' into HEAD 2018-10-23 09:08:59 +02:00
Marcus Holl
99382f4a82 Fix duplicate word in log message. 2018-10-23 09:02:22 +02:00
Marcus Holl
b2988c904c Condence common code wrt backend type in cm steps 2018-10-23 09:02:20 +02:00