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

1309 Commits

Author SHA1 Message Date
Marcus Holl
aac570c5ef fix cc issues 2019-03-01 15:16:49 +01:00
Marcus Holl
1b6ed24b8c filter branch for integration tests. 2019-03-01 14:28:32 +01:00
Marcus Holl
ffb04e8948 fix: TEST_CASE_ROOT not updated after first loop
afterwards the same directory was used for all test cases.
2019-03-01 14:18:12 +01:00
Marcus Holl
31a10bc522 introduce function for notifying github 2019-03-01 14:18:11 +01:00
Marcus Holl
e69a690614 In case of PR: PR Hash, if not HEAD commit used for notification 2019-02-28 08:07:18 +01:00
Marcus Holl
2d583b1af4 commit hash used for status api was wrong
TRAVIS_COMMIT is the merge commit between base branch and PR HEAD, but here we need the
commit hash of the PR HEAD.
2019-02-27 16:59:07 +01:00
Marcus Holl
18cb767cee Provide build status 2019-02-27 15:55:54 +01:00
Marcus Holl
5452dd514d [fix] dont provide the same log twice. 2019-02-27 14:25:08 +01:00
Marcus Holl
f10f23bc4c Provide the log for the individual tests. 2019-02-27 13:09:06 +01:00
Marcus Holl
78dbbb751d Launch additional thread informing from time to time about still running integration tests. 2019-02-27 13:08:12 +01:00
Marcus Holl
0a6064745c Suspress output from cd - 2019-02-27 13:06:41 +01:00
Marcus Holl
caa5c588c5 finding test cases within any level inside test case folder 2019-02-27 09:18:02 +01:00
Marcus Holl
cb9dbc9c4c Move test cases into dedicated testCase folder 2019-02-27 09:12:38 +01:00
Marcus Holl
f09c243193 Avoid green test in case no test case has been found. 2019-02-27 08:56:09 +01:00
Marcus Holl
9a028e18dd Troubleshoot find command 2019-02-27 08:55:44 +01:00
Marcus Holl
fe28a9d07d remove type from find command
since this makes trouble during the central build.
2019-02-27 08:46:08 +01:00
Marcus Holl
f7e82ecd49 cc: fix code climate || exit message 2019-02-26 16:56:44 +01:00
Marcus Holl
050170036d cc: fix code climate comments 2019-02-26 16:51:47 +01:00
Marcus Holl
13f8a7d21d cc: fix indents. 2019-02-26 16:47:31 +01:00
Marcus Holl
407eca2714 Invoke integration test controller script from travis.yml 2019-02-26 16:17:03 +01:00
Marcus Holl
197e9263f1 Execute the test cases in parallel. 2019-02-26 16:10:13 +01:00
Marcus Holl
52400d0760 touch flag file in case of test cases succeds 2019-02-26 14:09:06 +01:00
Marcus Holl
1da57c47d5 Deliver log in test case root folder 2019-02-26 13:59:52 +01:00
Marcus Holl
5e0148238f variables for some files and folders & keep stdout/stderr clear 2019-02-26 13:36:50 +01:00
Marcus Holl
9558858626 Adjust naming exampleProjectName -> testCase 2019-02-26 13:03:30 +01:00
Marcus Holl
8543873a12 Move files controlling integration tests
Before: files contained inside s4sdk folder
Now: file resides one level higher

Reason: open integration test framework for other use cases,
not related to s4sdk. Idea: teams providing use cases provides
a corrsponding folder which hosts the test cases.
2019-02-26 12:59:31 +01:00
Marcus Holl
d60bb9f58c Remove redundant docker call in integration tests 2019-02-26 10:43:50 +01:00
Florian Wilhelm
b13c6e1202
Create s4sdk consumer tests for neo environment (#524) 2019-02-22 13:31:50 +01:00
Florian Wilhelm
35451738d0
Add jenkins controller utility classes for integration tests (#477) 2019-02-22 10:24:51 +01:00
yemengsap
38c5a0d779 Add npmExecute step (#491) 2019-02-21 19:14:48 +01:00
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