Commit Graph
1083 Commits
Author SHA1 Message Date
Marcus HollandGitHub 64d7e88567 Merge pull request #405 from marcusholl/pr/noRedundancyWithStepName
Use class name as STEP_NAME
2018-12-03 13:27:47 +01:00
Marcus Holl 2b726d95b5 Merge remote-tracking branch 'github/master' into HEAD 2018-12-03 13:23:15 +01:00
Marcus HollandGitHub d13427d1d5 Merge pull request #404 from marcusholl/pr/fixOsSpecificRegexInTest
[fix] Make regex in test Operating System independent.
2018-11-29 10:06:38 +01:00
Marcus Holl b7468a7ae4 Step name is not a string literal anymore
Having the step name always the same like the file name, which is in turn the class name is
redundant.
2018-11-29 09:54:05 +01:00
Marcus Holl dc780b1248 [fix] Make regex in test Operating System independent.
We searched for the slash, but on win like operating system we have of course a backslash.
2018-11-28 11:52:37 +01:00
Oliver NoconandGitHub 90765697aa Docker execution - make sure that script is passed (#403) 2018-11-28 10:46:47 +01:00
Oliver NoconandGitHub 2881877322 newmanExecute - adapt to changes (#400)
* script now mandatory, thus passing it to dockerExecute
* html reporter needs to be installed separately
2018-11-28 09:25:34 +01:00
Oliver NoconandGitHub 6dc3ebe38c cloudFoundryDeploy - fix stashing (#398) 2018-11-27 16:29:38 +01:00
Oliver NoconandGitHub d1d07f241d cloudFoundryDeploy - fix stashing behavior (#396)
This change fixes an error which only occurs in a Kubernetes landscape.
When initial stashes are filled, the deployment will fail since it misses the artifact to be deployed.

When providing an empty stash as default, Docker execution on Kubernetes will respect all content in the current workspace.
2018-11-27 16:02:06 +01:00
Florian GeckelerandGitHub 32e20a7293 Provide option to Stop and not delete old instance on BlueGreenDeploy (#394)
* Provide option to Stop and not delete old instance on BlueGreenDeploy
* Default is still delete old instance 

Closes #323
2018-11-27 11:47:44 +01:00
Christopher FennerandGitHub aadba46083 pipelineStashFiles: resolve STEP_NAME in log message (#391)
* resolve STEP_NAME in log message

* resolve STEP_NAME in log message
2018-11-20 16:03:07 +01:00
Oliver NoconandGitHub 8d141a7183 sendNotificationMail - add resilience (#392)
Do not create failure in case `gitSshKeyCredentialsId` is not configured.
Only provide warning message.
2018-11-20 15:56:00 +01:00
Oliver NoconandChristopher Fenner db4e184967 cloudFoundryDeploy - adapt to changes in dockerExecute (#390)
pass script to call `dockerExecute`
2018-11-19 11:35:37 +01:00
Christopher FennerandGitHub ddc40044a2 karmaExecuteTests: extend default proxy excludes and stashes (#389)
* extend default proxy excludes

* Update karmaExecuteTests.md
2018-11-19 10:54:14 +01:00
Oliver NoconandGitHub d65a010158 testsPublishResults: Make jUnit pattern more universal (#386)
* Make jUnit pattern more universal
* update documentation & test
2018-11-16 08:57:09 +01:00
Marcus HollandGitHub 9c27fbadf1 Merge pull request #372 from marcusholl/pr/neoDeployDeprecatedOldConfigFramework
neoDeploy deprecated old config framework
2018-11-12 15:48:24 +01:00
Marcus Holl 5c4007180c Merge remote-tracking branch 'github/master' into HEAD 2018-11-12 13:11:54 +01:00
Marcus HollandGitHub 6833a1cf84 Merge pull request #375 from marcusholl/pr/switchOffGetBooleanCheck
Disable check for Boolean.getBoolean()
2018-11-12 12:31:37 +01:00
Marcus Holl cc52cbd274 Merge remote-tracking branch 'github/master' into HEAD 2018-11-12 12:17:22 +01:00
Marcus HollandGitHub 1663cee93a Merge pull request #298 from marcusholl/pr/transportRequestIDAlsoViaCPE
transport request id also via cpe
2018-11-12 10:19:41 +01:00
Marcus Holl 06aacffb56 Merge remote-tracking branch 'github/master' into HEAD 2018-11-12 09:39:12 +01:00
Marcus Holl 79fc8b1b85 Improve naming step -> script
We cannot say if it is a step, but it is a script, this is essential.
2018-11-09 15:45:31 +01:00
Marcus Holl 6252b18e49 Remove cps annotation
since otherwise we get executed not all the code. It returns too early.
2018-11-09 15:45:31 +01:00
Marcus Holl 0bbbb56002 Do not hand over reference to step itself
needs to be the reference as it is available by script
2018-11-09 15:45:23 +01:00
Christopher FennerandGitHub 3c86a3c54d add missing script (#377)
fixes #376
2018-11-09 07:42:33 +01:00
Marcus Holl 8e7352cdb4 Adjust docu
there is no return value anymore.
2018-11-08 16:05:35 +01:00
Marcus Holl f48c8a038e Merge remote-tracking branch 'github/master' into HEAD 2018-11-08 15:58:26 +01:00
Marcus Holl d1e33d6b2f Disable check for Boolean.getBoolean()
Is it IMO completly normal to use Boolean.getBoolean(./.).

What is stated in the rule description

  | It is often mistakenly used to attempt to read user input or parse

is not a cool reason for having that rule. With such an approach we
can knock out a lot of APIs which can be misunderstood. It is the
duty of the developer to understand the API s?he is using.

The alternate way would be

'Boolean.parseBoolean(System.getProperty('xxx'))'

which is not that convenient like Boolean.getBoolean('xxx').
2018-11-08 13:57:49 +01:00
Christopher FennerandGitHub 48e58f04d1 deactivate MD013 - line length (#367) 2018-11-08 13:47:32 +01:00
Christopher FennerandGitHub 9acc28f10f add missing script (#373) 2018-11-08 13:25:11 +01:00
Marcus Holl 7063aa1249 set build to unstable in case old config framework is used.
protected by feature flag (so we can test it manually already).
2018-11-08 13:11:24 +01:00
Marcus Holl 1b8e9d0e30 Emit more explicit warning in case old config framework is is use 2018-11-08 13:10:43 +01:00
Marcus Holl b3c5cba707 Notify about old config framework from neo deploy. 2018-11-08 12:18:49 +01:00
Christopher FennerandGitHub 9a1ab37c0b add new step karmaExecuteTests (#351)
* add new step for karma execution

* add defaults

* Update karmaExecuteTests.groovy

* add key comments

* add test case

* docs

* add step docs

* add step docs

* Update karmaExecuteTests.md

* complete docs

* Update karmaExecuteTests.md

* init `script` the "new way"

* Update karmaExecuteTests.groovy

* Update karmaExecuteTests.groovy
2018-11-08 12:15:15 +01:00
Thorsten DudaandGitHub 9895b76bb1 Merge pull request #221 from marcusholl/pr/changeDocumentIdInCommonPipelineEnv
Cache document id in common pipeline env
2018-11-08 11:14:35 +01:00
Thorsten DudaandGitHub 3896177b3e Merge branch 'master' into pr/changeDocumentIdInCommonPipelineEnv 2018-11-08 11:00:28 +01:00
Christopher FennerandGitHub e487ad5055 disable download logs in maven (#370) 2018-11-07 13:08:24 +01:00
Christopher FennerandGitHub 87bc3e9b96 run docs build for PRs in parallel to unit tests (#371) 2018-11-07 12:05:28 +01:00
Marcus HollandGitHub e45e7ffd9b Merge pull request #283 from marcusholl/pr/cleanWorktreeCheck
clean worktree check
2018-11-07 11:54:43 +01:00
Christopher FennerandGitHub 33758e0e81 Merge branch 'master' into pr/cleanWorktreeCheck 2018-11-07 11:47:56 +01:00
Christopher FennerandGitHub 10ec0473c1 correct step invokation in tests (#368)
* correct step invokation in tests

* correct step invokation in tests

* correct step invokation in tests
2018-11-07 11:45:38 +01:00
Marcus Holl e354da8a05 Merge remote-tracking branch 'github/master' into HEAD 2018-11-07 11:44:15 +01:00
Christopher FennerandGitHub ce362f4ae9 correct usage of commonPipelineEnvironment (#369) 2018-11-07 11:37:18 +01:00
Oliver NoconandGitHub 5ec37170fc cloudFoundryDeploy - blue-green plugin extensions (#355)
* cloudFoundryDeploy - blue-green plugin extensions

* support blue-green application cleanup with new plugin flag
* enhance error reporting in case no app name is available

* include PR feedback
2018-11-07 10:39:30 +01:00
Christopher FennerandGitHub 0326dd5f8c add config for CodeClimate code coverage reporting (#363)
* add config for CodeClimate code coverage reporting

* Update .travis.yml

* Update .travis.yml

* generate coverage report

* Update .travis.yml

* Update .travis.yml
2018-11-07 10:25:00 +01:00
Marcus Holl 85c4a1c933 Merge remote-tracking branch 'github/master' into HEAD 2018-11-06 15:46:50 +01:00
Marcus Holl c035119718 Merge remote-tracking branch 'github/master' into HEAD 2018-11-06 15:41:19 +01:00
Marcus Holl 420746463e Remove return value from transportRequestCreate
it is contained in the common pipeline environment.
2018-11-06 15:37:11 +01:00
Marcus Holl b8c0c8e6b3 Cache transport request Id in common pipeline environment 2018-11-06 15:36:39 +01:00
Marcus Holl 91f84389de The cases removed with the tests here are checked by corresponding step helper tests. 2018-11-06 14:42:03 +01:00