1
0
mirror of https://github.com/SAP/jenkins-library.git synced 2024-12-12 10:55:20 +02:00
Commit Graph

949 Commits

Author SHA1 Message Date
Marcus Holl
b53f260fd3 Fix codeclimate remarks 2018-11-05 12:26:48 +01:00
Marcus Holl
73c053ecdf Adjust docu: script is mandatory 2018-11-05 12:19:54 +01:00
Marcus Holl
2e8a9db02c script = this as fallback instead of map with cpe of current step
o The map does not provide access to e.g. sh, echo.

o this has the same cpe as property as it is constructed with the
current map approach.
2018-10-31 12:52:45 +01:00
Marcus Holl
01753ccc6d Provide always the script from transport request releaded tests 2018-10-31 12:52:45 +01:00
Marcus Holl
7f193a3aaa First react on feature flag for failing the build in case of missing script 2018-10-31 12:52:45 +01:00
Marcus Holl
1a62b263fe fix set the build status 2018-10-31 12:52:37 +01:00
Marcus Holl
c9457df43c Improve rule setup 2018-10-31 12:48:49 +01:00
Oliver Nocon
09bad853cd
Merge branch 'master' into pr/scriptAsMandatoryParameter 2018-10-31 10:56:14 +01:00
Thorsten Duda
14f35cf2a5
Merge pull request #362 from SAP/CCFenner/stages
create TravisCI build stages
2018-10-31 10:54:12 +01:00
Oliver Nocon
60f44752c7
remove redundant condition 2018-10-31 10:36:38 +01:00
Marcus Holl
f22f47e6e1 remove already outdated comment. 2018-10-30 17:05:52 +01:00
Marcus Holl
ea23d65594 Merge remote-tracking branch 'github/master' into HEAD 2018-10-30 17:01:19 +01:00
Marcus Holl
11d34c2157 Step called without script: webanalytics 2018-10-30 16:24:48 +01:00
Marcus Holl
c03a75da9f Ensure script is mandatory parameter
... only in case a step uses the script at all.
2018-10-30 16:24:47 +01: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
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
f71b0b797e
Merge pull request #309 from marcusholl/pr/cts
CTS scenario
2018-10-25 09:46:08 +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
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
Marcus Holl
63dd8f4d1f
Merge pull request #319 from marcusholl/pr/stepReturnVoid
Pr/step return void
2018-10-18 15:14:22 +02:00
Marcus Holl
6653b68c0f Merge remote-tracking branch 'github/master' into HEAD 2018-10-18 12:54:32 +02:00
Marcus Holl
43acbcf013
Merge pull request #289 from marcusholl/pr/configHelper
Increase usability/understandability of ConfigurationHelper
2018-10-18 11:13:25 +02:00
Marcus Holl
d4f9171247 erge remote-tracking branch 'github/master' into HEAD 2018-10-18 11:02:09 +02:00
Oliver Nocon
455461d3c1
add step pipelineRestartSteps (#337)
This step allows to restart a set of steps in order to retry in case of e.g. infrastructure failures which first need to be fixed.

* update documentation
2018-10-18 08:51:48 +02:00
Oliver Nocon
0e5ccabdae
add step gaugeExecuteTests (#340)
* seleniumExecuteTests - fixes
* add step gaugeExecuteTests incl. tests
* add documentation
* add more config options
2018-10-17 16:44:20 +02:00
Florian Wilhelm
b657dc6a29
Explicitly call toString() on stepParameters (#348) 2018-10-17 12:27:24 +02:00
Oliver Nocon
1f8b94528c
add step mailSendNotification (#336)
This step allows to send email notifications in case of pipeline failures.
2018-10-17 12:05:11 +02:00
Marcus Holl
96cae66bf4 seleniumExecuteTest with void return value on call method 2018-10-17 12:02:19 +02:00
Christopher Fenner
dba20d496c
Merge branch 'master' into pr/stepReturnVoid 2018-10-17 11:50:58 +02:00
Marcus Holl
0831a244d3 switch to factory methods when a config is also provided. 2018-10-17 11:39:26 +02:00
Christopher Fenner
dc2e5ba856
Update ConfigurationHelper.groovy 2018-10-17 11:27:36 +02:00
Marcus Holl
6db02462c9 Inline private methods only called from constructor 2018-10-17 11:26:14 +02:00
Marcus Holl
210b9ebc2c rename member variable 'script' to 'step'. 2018-10-17 11:15:37 +02:00