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

1225 Commits

Author SHA1 Message Date
Marcus Holl
e7c73cabf9
Merge pull request #412 from marcusholl/pr/adjustMtaBuildTestToShellCallRule
Adapt mta build test to JenkinsShellCallRule
2018-12-19 13:26:56 +01:00
Marcus Holl
d6372d5d96 Merge remote-tracking branch 'github/master' into HEAD 2018-12-19 13:18:00 +01:00
Marcus Holl
ddd0cf8aae
Merge pull request #418 from SAP/1084565-patch-1
Typo in documentation
2018-12-19 10:09:24 +01:00
Marcus Holl
05e4824268 Adapt paragraph dealing with API in readme. 2018-12-19 09:01:40 +01:00
Marcus Holl
6e0faa37ce Mark widely used method of ConfigurationHelper as API
Just as basis for a discussion. Before merging we should check if there is any need to adjust the
methods first before declaring it as API so that they should remain stable.
2018-12-17 09:25:03 +01:00
Marcus Holl
a678429f42 Introduce API annotation. 2018-12-17 09:25:03 +01:00
Christoph Szymanski
9157ad3ce6
Typo in documentation 2018-12-14 18:29:02 +01:00
Christoph Szymanski
30d6f59b56
Typo in documentation (#414) 2018-12-14 18:10:11 +01:00
Oliver Nocon
130e607446
influxWriteData - fix issue when running in POST (#413)
influxWriteData requires a node to be executed.
In a declarative pipeline the POST section by default does not provide a node/agent.

This adds a parameter to force creation of a node/agent.
2018-12-12 17:33:36 +01:00
Marcus Holl
5a142ec41f
Merge pull request #384 from marcusholl/pr/moreLoggingAndFailfastInMtaBuild
More logging and be failfast around mtaYamlFile
2018-12-12 12:29:02 +01:00
Marcus Holl
0751eda1ee Merge remote-tracking branch 'github/master' into HEAD 2018-12-12 12:24:26 +01:00
Marcus Holl
45170e979e Adapt mta build test test JenkinsShellCallRule
a lot of code can be replaced by configuring the JenkinsShellCallRule accordingly. At the time when
this test was provided there was not JenkinsShellCallRule ...
2018-12-12 12:14:14 +01:00
Marcus Holl
06767438db
Merge pull request #411 from marcusholl/JSCR-equals
Implement hashCode/equals/toString for JenkinsShellCallRule
2018-12-12 12:10:30 +01:00
Marcus Holl
bf881bfc13 Merge remote-tracking branch 'github/master' into HEAD 2018-12-12 12:05:24 +01:00
Oliver Nocon
e556fba950
add wrapper for stages contained in library (#341)
* add wrapper for stages contained in library

`piperStageWrapper` provides a wrapper for stages which we may include into the library.
It will take care about extension capabilities, locking, node handling, ... which should be a capability of every stage contained in the library.
2018-12-12 11:45:11 +01:00
Marcus Holl
51afc894e5 Implement hashCode/equals/toString for JenkinsShellCallRule
* toString is helpful for troubleshooting during developing tests
* equals/hashCode are required in case somebody would like to register
  some responses again (e.g. register something valid almost all the time, and
  register something more specific for a certain test).
2018-12-10 16:23:24 +01:00
Christopher Fenner
d303e49ebe
add newman doc (#399) 2018-12-10 11:53:48 +01:00
Christopher Fenner
71b66e8645
correct Code Climate config (line length) (#374)
* deactivate MD013 - line length

* correct rule deactivation

* Update .codeclimate.yml
2018-12-10 11:43:09 +01:00
Marcus Holl
5a6200f52c
Merge pull request #379 from marcusholl/pr/removeReturnValueFromDocuForCheckChangeInDevelopment
Remove return value from docu for step checkChangeInDevelopment
2018-12-07 13:15:00 +01:00
Marcus Holl
cc971190c9 Merge remote-tracking branch 'github/master' into HEAD 2018-12-07 13:04:51 +01:00
Marcus Holl
987584a28f Remove return value from docu for step checkChangeInDevelopment 2018-12-07 13:04:40 +01:00
Marcus Holl
0d2277cec7
Merge pull request #382 from marcusholl/pr/logMtaBuildCall
Log mta call which get executed.
2018-12-07 13:02:15 +01:00
Marcus Holl
6491cccc2d Merge remote-tracking branch 'github/master' into HEAD 2018-12-07 12:32:00 +01:00
Marcus Holl
c5f97f63cf
Merge pull request #408 from marcusholl/pr/updateMailRecipients
Update mail recipients
2018-12-07 12:30:36 +01:00
Marcus Holl
f82267a680 Update mail recipients 2018-12-07 09:02:31 +01:00
Marcus Holl
42875a3840
Merge pull request #378 from marcusholl/pr/removeReturnValueFromDocuSimpleCases
remove return value from docu simple cases
2018-12-06 16:25:29 +01:00
Marcus Holl
b64a98ab5e Merge remote-tracking branch 'github/master' into HEAD 2018-12-06 16:13:44 +01:00
Marcus Holl
e731ddb82c
Merge pull request #383 from marcusholl/pr/streamlineCodeInMtaBuild
Streamline code: Inline variable in mtaBuild step
2018-12-06 16:12:59 +01:00
Marcus Holl
2ccb9df408 Merge remote-tracking branch 'github/master' into HEAD 2018-12-06 15:58:35 +01:00
thorstenwillenbacher
4d06cf151e
Merge branch 'master' into pr/moreLoggingAndFailfastInMtaBuild 2018-12-06 15:12:46 +01:00
Oliver Nocon
74193bd98d
Documentation Update - streamline library alias (#402)
Change name to how vast majority of current users is using it.

Library alias can also be defined differently by users. Then `@Library` statement just needs to reflect the different name.
2018-12-05 13:37:15 +01:00
Marcus Holl
6560fcb31b
Merge pull request #393 from marcusholl/pr/improveDocuGenerator
Pr/improve docu generator
2018-12-05 10:12:49 +01:00
Oliver Nocon
3ba9a2d18f
Merge branch 'master' into pr/improveDocuGenerator 2018-12-04 21:42:57 +01:00
Marcus Holl
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 Holl
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 Nocon
90765697aa
Docker execution - make sure that script is passed (#403) 2018-11-28 10:46:47 +01:00
Oliver Nocon
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 Nocon
6dc3ebe38c
cloudFoundryDeploy - fix stashing (#398) 2018-11-27 16:29:38 +01:00
Oliver Nocon
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 Geckeler
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
Marcus Holl
36a282a8f2 docu generator: script:this case code 2018-11-23 14:43:04 +01:00
Marcus Holl
c9359b63a1 Support mandatory flag when generating docu 2018-11-23 14:43:04 +01:00
Marcus Holl
b921aa8d2a [fix] load defaults 2018-11-23 09:21:14 +01:00
Marcus Holl
ddbdc034fc Handle annotations without docu generator on call method 2018-11-20 16:53:00 +01:00
Marcus Holl
6333530c9d Insert newlines before param config layers table 2018-11-20 16:53:00 +01:00
Christopher Fenner
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 Nocon
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