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

1217 Commits

Author SHA1 Message Date
Christoph Szymanski
70ac75c8b8 Remove validation in mtaBuild
Removing validation calls for Java and MTA.
2019-02-01 16:13:18 +01:00
Oliver Nocon
3b2e42c74f
Add step containerExecuteStructureTest (#441)
* add step containerExecuteStructureTest
* include PR-review feedback
* documentation
2019-01-31 09:39:13 +01:00
Christopher Fenner
bca5b8ccf1
Add step uiVeri5ExecuteTests (#469)
* add defaults for uiVeri5 step

* add step and tests

* correct parameter names

* add empty docs

* add docs annotations

* remove not needed parameter

* add docs annotations
2019-01-31 09:16:34 +01:00
Christopher Fenner
fbb9cbeb3c
Update dockerExecuteOnKubernetes.groovy (#474) 2019-01-31 08:49:31 +01:00
Christopher Fenner
def66f4ffa
extend Analytics (#439)
* add extension mechanism for analytics

* add sha1 hashing

* correct return types

* correct registerEventListener method

* decrese visibility of createInstance

* correct typo

* catch exceptions from tests

* correct test case

* Update Analytics.groovy

* rename to Telemetry

* rename file

* fix typo

* add test case for generateSha1

* expose methods to tests

* add clear method for tests

* change return type

* add test for Telemetry class

* replace UtilsTests

* remove unused imports

* make default reporter static

* add stage parameters to payload

* simplify SHA1 method

* remove obsolete method

* remove obsolete methods

* remove outdated tests
2019-01-30 12:39:33 +01:00
Florian Geckeler
a72e33f488
Stop old instance only if it exists in CloudFoundry
If there was no instance deployed in CF and blue-green deployment was activated stopping the old instance caused a failure of the pipeline, even if the application was deployed successfully. 
With that change the failure of the pipeline will be avoided in case of no old application is available.
2019-01-30 10:07:00 +01:00
Marcus Holl
ddaa941b25
Merge pull request #473 from marcusholl/pr/fixDocuGeneratorFormatting
fix docu generator formatting
2019-01-29 17:52:39 +01:00
Marcus Holl
50edac02ca First char after docu asterisk is pruned
... with a blank after the asterisk the docu looks more beautifyfull.
2019-01-29 17:30:26 +01:00
Marcus Holl
8fb7c85e99 keep leading blanks in order to render 'git diff! Note' statements 2019-01-29 17:30:25 +01:00
Daniel Kurzynski
6e26d78047
Improve neo deploy (#440)
The following features were added:
Lock resources for deployment
New parameters: environment, vmArguments
Assert password does not start with @
Link to cloud cockpit
Only execute rolling update if app is running
Show logs if deployment failed
Restart app after normal deployment
Use neo namespace for parameters
Align parameter names with neo sdk: size, application, source
Remove vmSize check as done by the tool itself
2019-01-28 11:32:24 +01:00
Marcus Holl
ee58859cd9 Doc: Fix transportRequestCreate docu (transportRequestId) (#467) 2019-01-28 10:25:36 +01:00
SarahNoack
54dafdd20b Doc: Terminology, "continuous deployment" -> "delivery" (#466) 2019-01-28 09:51:46 +01:00
SarahNoack
e9a9ae4a1a Refine Hybrid Development Documentation (#462) 2019-01-25 18:15:30 +01:00
Marcus Holl
3d4e429b3c
Merge pull request #455 from marcusholl/pr/betterReadableRuleNames
[refactoring] better readable rule names
2019-01-24 08:22:10 +01:00
Marcus Holl
32a708c836 Merge remote-tracking branch 'github/master' into HEAD 2019-01-24 08:15:35 +01:00
Marcus Holl
8eecb47187
Merge pull request #419 from marcusholl/pr/piper-api
Pr/piper api
2019-01-24 08:12:42 +01:00
Marcus Holl
50fea23d2f Merge remote-tracking branch 'github/master' into HEAD 2019-01-24 08:04:55 +01:00
Marcus Holl
7f78eb1595
Merge pull request #461 from marcusholl/pr/fixGenerateDocuAnnotation
Put GenerateDocumentation annotation inside groovy file
2019-01-24 07:59:22 +01:00
Christopher Fenner
152c0e3682
Merge branch 'master' into pr/betterReadableRuleNames 2019-01-23 16:53:52 +01:00
Marcus Holl
5c4843aeaf Put GenerateDocumentation annotation inside groovy file
... since java files are not compiled on Jenkins causing compilation
failures since the annotation cannot be found.
2019-01-23 16:19:34 +01:00
Marcus Holl
c366829499
Merge pull request #452 from marcusholl/pr/escapeEnvValuesForDockerExecute
Pr/escape env values for docker execute
2019-01-23 15:55:44 +01:00
Marcus Holl
bad044731a
Merge pull request #1 from fwilhe/pr/piper-api
Mark classes used by s4sdk as API
2019-01-23 15:03:23 +01:00
Marcus Holl
ddc796b85d Better readable rule names: readJsonRule 2019-01-23 14:54:52 +01:00
Marcus Holl
9e56ebc724 Better readable rule names: dockerExecuteRule 2019-01-23 14:54:52 +01:00
Marcus Holl
f81b83169a Better readable rule names: readFileRule 2019-01-23 14:54:52 +01:00
Marcus Holl
e4c3228e25 Better readable rule names: writeJsonRule 2019-01-23 14:54:51 +01:00
Marcus Holl
7ba695e767 Better readable rule names: readJsonRule 2019-01-23 14:54:51 +01:00
Marcus Holl
da1969e089 Better readable rule names: writeFileRule 2019-01-23 14:54:51 +01:00
Marcus Holl
afa8889e9d Better readable rule names: errorRule 2019-01-23 14:54:51 +01:00
Marcus Holl
5c0abfdff8 Better readable rule names: readYamlRule 2019-01-23 14:54:51 +01:00
Marcus Holl
4e01b94458 Better readable rule names: dockerExecuteRule 2019-01-23 14:54:50 +01:00
Marcus Holl
b486f32dc1 Better readable rule names: stepRule 2019-01-23 14:54:50 +01:00
Marcus Holl
9b1397e998 Better readable rule names: loggingRule 2019-01-23 14:54:50 +01:00
Marcus Holl
994e1f1692 Better readable rule names: shellRule 2019-01-23 14:54:49 +01:00
Marcus Holl
9bf38f9a76 Merge remote-tracking branch 'github/master' into HEAD 2019-01-23 14:26:30 +01:00
Oliver Nocon
05e0d958da
dockerExecute - fix issue when image does not contain which (#458)
command `which` requires a dedicated OS package to be installed.
In case a Jenkins Master or Jenkins Slave Image does not contain `which`, although `docker` command is available the step took a wrong turn.

This removes the check using `which` since checking `docker ps` is sufficient.
2019-01-23 14:19:36 +01:00
Christopher Fenner
8f513fb68b
add config reporting (#459) 2019-01-23 12:51:46 +01:00
Marcus Holl
2330bfdcf4 Merge remote-tracking branch 'github/master' into HEAD 2019-01-23 12:34:25 +01:00
Florian Wilhelm
bb3763bf32 Hint about api in defaut environment 2019-01-23 11:35:18 +01:00
Florian Wilhelm
8862fb7186 Decare resources directory API 2019-01-23 11:23:03 +01:00
Florian Wilhelm
d4bb237486 Improve 2019-01-23 10:16:11 +01:00
Florian Wilhelm
a1f8ef1086 Convert annotation to groovy 2019-01-23 10:07:55 +01:00
Florian Wilhelm
33238403d2 Mark old classes as deprecated api 2019-01-23 09:48:21 +01:00
Oliver Nocon
27c3891685
deployToCloudFoundry - patch mta blue-green deployment (#457)
mta deploy plugin has flag:
` --no-confirm` which is described as _"Do not require confirmation for deleting the previously deployed MTA apps"_

This flag is essentials for performing fully automated blue-green deployments.
2019-01-22 16:13:59 +01:00
Christopher Fenner
6224d2aece
influxWriteData: catch NPE (#434)
* Update influxWriteData.groovy

* Update influxWriteData.groovy

* Update influxWriteData.groovy
2019-01-21 14:12:05 +01:00
Christopher Fenner
10267ce7d1
Analytics: add step parameter keys (#442)
* add stepParamKey values

* camelCase
2019-01-21 08:47:34 +01:00
SarahNoack
e452f79368 Doc: Add Image to SolMan Scenario (#453) 2019-01-18 17:42:32 +01:00
Marcus Holl
c8c96f11e3 Escape blanks when contained in env values for docker 2019-01-18 15:48:58 +01:00
Marcus Holl
dd8e09c527 Streamline flow control
in order to avoid to have to escape at two locations in the code.
2019-01-18 15:48:58 +01:00
sbmaier
423c9f52ba cloudFoundryDeploy: fix naming of Influx step (#450)
* fix naming Influx

* fix test for influx name change
2019-01-18 15:33:36 +01:00