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

1279 Commits

Author SHA1 Message Date
Florian Wilhelm
ada3ed909d
Don't print messages in all uppercase letters (#531) 2019-02-21 15:46:17 +01:00
Florian Wilhelm
02afb22c74
Change telemetry disabled message to be more kind (#530)
Please, don't use exclamation marks in user interfaces.
2019-02-21 13:56:20 +01:00
Florian Wilhelm
d2b6be4e25
Configure default mta build image to ppiper/mta-archive-builder (#515) 2019-02-15 13:48:34 +01:00
Florian Wilhelm
58c8063e6d
Add consumer tests for s4sdk pipeline (#506)
Additional tests for running an example pipeline with the s4-sdk address manager example application.
2019-02-14 09:58:04 +01:00
weloli
523fc067f1
fix general config for param changeManagement (#513) 2019-02-14 08:45:20 +01:00
Oliver Nocon
793df723cf add step slackSendNotification (#338)
* add step slackSendNotification

This step allows to send Slack notifications in case of pipeline failures.

* add SWA reporting

* remove allowBuildFailure

* add GENERAL_CONFIG_KEYS

* update STEP_NAME

* add missing import

* fix MD findings

* adjust rule name to be aligned with #455
2019-02-13 16:45:35 +01:00
Marcus Holl
56d3a6ed97
Merge pull request #496 from marcusholl/pr/removePrintlnFromTests
Remove println statements from tests
2019-02-13 09:10:11 +01:00
Marcus Holl
2d7079a8c9 Merge remote-tracking branch 'github/master' into HEAD 2019-02-13 09:05:28 +01:00
Marcus Holl
befe786596
Merge pull request #495 from marcusholl/pr/noPrintlnInDefaultSHClosures
Remove println statements from default registered sh closure
2019-02-13 09:03:10 +01:00
Marcus Holl
ff88bfa79f Merge remote-tracking branch 'github/master' into HEAD 2019-02-13 08:51:26 +01:00
SarahNoack
26ba407e9c Doc: Change size of figure title (#504) 2019-02-11 08:57:31 +01:00
SarahNoack
f42b2502da Add CAP Scenario in Navigation (#502) 2019-02-08 15:45:24 +01:00
SarahNoack
ced1cebc4b
Merge pull request #493 from SAP/CAP_Scenario
📄 Describe Cloud Application Programming Model Scenario
2019-02-08 14:40:53 +01:00
Christoph Szymanski
0402811f2f
Merge branch 'master' into CAP_Scenario 2019-02-08 14:23:36 +01:00
SarahNoack
04c0316983
Remove ", buildTarget:'CF'"
Remove ", buildTarget:'CF'" from  Jenkinsfile example
2019-02-08 13:51:41 +01:00
SarahNoack
a5597a447c
Add SAP CP to CF account 2019-02-08 13:48:09 +01:00
SarahNoack
5d0daafe00
Remove note
Exchange note that this is a basic scenario with a single sentence in the paragraph before
2019-02-08 13:43:33 +01:00
Christoph Szymanski
40ff8fa2e3
Build Target from Parameter to Configuration
as discussed with @marcusholl
2019-02-08 13:09:30 +01:00
Christopher Fenner
d657f0dc28
testsPublishResults: add option to fail the build on test errors (#472)
* add option to fail the build on test errors

* fix typo

* add test cases

* adjust docs

* set build result

* add hasTestFailure utils method

* use utils method

* use dedicated type

* adapt tests

* handle missing test actions

* Update testsPublishResults.md

* Update JenkinsUtils.groovy

* Update JenkinsUtils.groovy

* Update JenkinsUtils.groovy

* remove comments

* adapt test case

* Update TestsPublishResultsTest.groovy
2019-02-08 12:30:59 +01:00
Christopher Fenner
3f12015364
dockerExecuteOnKubernetes: generate documentation (#487)
* fix whitespace

* correct key order

* add docs annotation

* add key documentation

* remove generated documentation

* fix code climate finding
2019-02-08 12:20:45 +01:00
Marcus Holl
8b13164d74 [fix] remove inapproriate package statement (#497)
The test class is in the default package and not in a package 'steps'.
2019-02-08 12:03:41 +01:00
Marcus Holl
3a8bd80f09 fix: table not generated by mkdocs due to wrong syntax (#498) 2019-02-08 11:35:58 +01:00
Marcus Holl
df90255739 publish docu for step uiVeri5ExecuteTests (#499) 2019-02-08 11:15:32 +01:00
Marcus Holl
d369d3cd4a Remove println statements from tests
Nobody will have a look at println statements emitted by tests. Proper way is to assert.

* log is empty, not sure if it makes sense to assert that the log is empty.
* result is already asserted, so everything is fine there ...
2019-02-07 17:03:32 +01:00
Marcus Holl
6b4d2ba33e Remove println statements from default registered sh closure
We should try to avoid promting statements to the log during tests. This is basically
some kind of manual/visual checking of conditions. This does not work since in most cases
nobody scans test logs manually/visually. I think this is often a smell for missing assertions.
2019-02-07 16:58:49 +01:00
SarahNoack
b186e95dec
Fix another code climate issue 2019-02-07 16:44:04 +01:00
SarahNoack
ed99ac6bf7
Fix code climate issues 2019-02-07 16:42:18 +01:00
SarahNoack
214bc7a7c3
Make minor linguistic changes 2019-02-07 16:33:33 +01:00
SarahNoack
287eab8fae
Rework scenario 2019-02-07 16:16:10 +01:00
Noack
8e99bd4c63 Add CAP scenario 2019-02-07 13:57:57 +01:00
weloli
826e216cd5
Lookup mtar in the whole workspace (#492)
* allow mtar lookup in the whole workspace

* minor fixes
2019-02-07 08:58:00 +01:00
SarahNoack
aa6e42fbfc
Merge pull request #485 from SAP/SarahNoack-patch-1
Doc: Change title and add parameters
2019-02-06 14:29:30 +01:00
SarahNoack
d0f547861c
Merge branch 'master' into SarahNoack-patch-1 2019-02-06 14:25:01 +01:00
SarahNoack
0c3840dd08
Merge pull request #488 from SAP/SarahNoack-patch-2
Adapt scenario so that it matches the template
2019-02-06 14:11:14 +01:00
SarahNoack
005f0c824e
Fix training space 2019-02-06 14:06:03 +01:00
SarahNoack
ea34ebd847
Merge branch 'master' into SarahNoack-patch-2 2019-02-06 14:01:24 +01:00
SarahNoack
588ab54b8d
Change links to scenario files 2019-02-06 11:29:59 +01:00
SarahNoack
d2252c0eaf
Adapt scenario so that it matches the template
Adapt scenario title, add figure title, and minor linguistic and layout changes
2019-02-06 11:06:00 +01:00
Marcus Holl
00e8ad180b
Merge pull request #479 from marcusholl/pr/seeAnnotationInDocu
implement @see strategy
2019-02-06 10:50:03 +01:00
Christopher Fenner
887c8d0186
Merge branch 'master' into pr/seeAnnotationInDocu 2019-02-06 10:07:57 +01:00
Christoph Szymanski
2f2131b56b
Merge branch 'master' into SarahNoack-patch-1 2019-02-06 09:12:52 +01:00
Marcus Holl
1b202f879a Provide flag for skipping docker image pulls (#407)
* Provide flag for skipping docker image pulls

Usefull for testing while developing images. Without pulling images it is possible to
use images available in the local registry only.
2019-02-06 08:48:33 +01:00
Christoph Szymanski
139ed7b15d Align Navigation Text with Header 2019-02-05 18:46:27 +01:00
SarahNoack
47fc15f2e3
Change title and add parameters
Change title to be consistent with other scenarios and add links to detailed description of the parameters used in this scenario.
2019-02-05 16:58:29 +01:00
Marcus Holl
34b7c24faf Merge remote-tracking branch 'github/master' into HEAD 2019-02-05 16:37:49 +01:00
Marcus Holl
5bb495b389
Merge pull request #482 from marcusholl/pr/allowSingleLineDocuComments
allow single line comments
2019-02-05 16:07:33 +01:00
Oliver Nocon
567d31797c
Merge branch 'master' into pr/seeAnnotationInDocu 2019-02-05 15:44:10 +01:00
Marcus Holl
afc6158ba4 Merge remote-tracking branch 'github/master' into HEAD 2019-02-05 15:41:52 +01:00
Oliver Nocon
74366631b5
Project "Piper" Template: framework and structure (#476)
* Project "Piper" Template: framework and structure

This is the first in a series of Pull-Requests to provide a fully functional Pipeline template into the library.

This PR contains:
* general Pipeline structure incl. tests
* Pipeline initialization incl. tests
* Hollow pipeline stages incl. tests
* first set of default values
* add gitUrls to commonPipelineEnvironment
* set correct git information on commonPipelineEnvironment
2019-02-05 15:37:59 +01:00
Thorsten Duda
7222a250b7
Merge pull request #478 from SAP/remove-validation-from-mtabuild
Remove Tool Validation in mtaBuild
2019-02-05 14:35:21 +01:00