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

1432 Commits

Author SHA1 Message Date
Christopher Fenner
fbb9cbeb3c
Update dockerExecuteOnKubernetes.groovy (#474) 2019-01-31 08:49:31 +01:00
Marcus Holl
34b0e1f4f5 RFC: upload failure test 2019-01-30 17:34:16 +01:00
Marcus Holl
40d89f2e5d Test: sanity check parameters 2019-01-30 17:34:16 +01:00
Marcus Holl
dfe69d7a31 Test: upload rfc success 2019-01-30 16:57:25 +01:00
Marcus Holl
a70fc10ae0 Parameter applicationURL instead of file path 2019-01-30 16:02:48 +01:00
Marcus Holl
7f6b8a6850 Use docker image as specified by caller 2019-01-30 15:59:48 +01:00
Marcus Holl
ce710dfa38 More consistent test names for transportRequestUploadFile 2019-01-30 15:13:10 +01:00
Marcus Holl
eb49958a64 [refactoring] Streamline code flow 2019-01-30 15:13:10 +01:00
Marcus Holl
88d50a0a10 Fix error message: cmclient, rfc client 2019-01-30 15:13:10 +01:00
Marcus Holl
661745fd81 Merge remote-tracking branch 'github/master' into HEAD 2019-01-30 15:01:09 +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
Christopher Fenner
1c9eed993b
Merge branch 'master' into pr/removeNeoCredentialsCheck 2019-01-30 10:46:06 +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
Marcus Holl
80a7ae38d3 Provide docker image 'rfc' on the level of CM.releaseTransportRequest 2019-01-29 15:11:52 +01:00
Bernd Maier
c7a6b073fc RFC release transport 2019-01-29 14:57:31 +01:00
Marcus Holl
262f39dfdd Removing check for neo deploy credentials id
since there is a default defined in default_pipeline_environment.

I believe there is a misunderstanding. The check checks if there is a valid defined for the
credentials id key. Since there is one definded in the default config this check will always
succeed.
This check does not check if there is a credential defined with this id via the Jenkins
Credentials Plugin. Maybe when this check was provided this was the intention. There is a
speaking error message provided by the credentials plugin in case the credentials lookup
fails.
2019-01-29 09:48:52 +01:00
Daniel Kurzynski
09a2e3f090 Remove compatibility for neoDeploy 2019-01-28 12:35:35 +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
ef8c4dafcf one shArgs array for all sh calls. 2019-01-25 15:14:08 +01:00
Marcus Holl
b21541c9f6 transportRequestCreate for RFC communication 2019-01-25 15:14:08 +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