1
0
mirror of https://github.com/SAP/jenkins-library.git synced 2025-07-17 01:42:43 +02:00
Commit Graph

1845 Commits

Author SHA1 Message Date
3821b96b3f add coveralls repo token 2018-01-31 08:31:01 +01:00
5e2939f1fd add JaCoCo code coverage 2018-01-30 21:36:49 +01:00
ccd7819465 add performance reporting 2018-01-30 21:19:55 +01:00
a6a55e31e3 add new step testResultPublish 2018-01-30 20:40:04 +01:00
abb8a7e985 add file StaticChecks_Threshold.png 2018-01-30 19:43:02 +01:00
d691c8d2cf Update checkResultsPublish.md 2018-01-30 19:42:27 +01:00
6fba26acb2 Merge pull request #57 from marcusholl/pr/fixInvalidBackwardCompatibilityHandling
Fix wrong backward compatibility handling for deployHost, deployAccount.
2018-01-30 17:18:00 +01:00
e3590c8603 [fix] ensure backward compatitility for credentials id 2018-01-30 17:09:17 +01:00
9d4a9304db add further test cases 2018-01-30 15:26:54 +01:00
653a66b841 add unit test 2018-01-30 13:33:28 +01:00
8710495e17 add @NonCPS annotations 2018-01-30 13:15:49 +01:00
790f2b7ea3 remove body parameter from step 2018-01-30 13:15:08 +01:00
00b44315ec remove deprecated testMode parameter 2018-01-30 13:14:37 +01:00
55166f3cac fix issue with pattern 2018-01-30 13:14:05 +01:00
573ded75dc correct step file name 2018-01-30 11:17:01 +01:00
2d2cc3a893 Merge branch 'master' into publishCheckResults3 2018-01-30 11:15:26 +01:00
dad65ba5ff change name of class parameter 2018-01-30 10:06:35 +01:00
a95b74afcf add step documentation 2018-01-29 16:49:25 +01:00
a0bc00870d correct eslint default pattern 2018-01-29 16:47:40 +01:00
5f6ba2f4b6 add step javadoc, correct step name 2018-01-29 16:47:22 +01:00
795eece19a add new step checkResultsPublish 2018-01-29 16:29:00 +01:00
f52cbbe36a Fix wrong backward compatibility handling for deployHost, deployAccount. 2018-01-29 15:11:02 +01:00
ef0b1bd9dd [refactoring] Rule handling
Starting point for that refactoring: it turned out that the tests
was not independent. The DefaultValueCache which is a singleton
keeps the status over various tests. Success of test execution depends
on the order test execution.

We have now
  * a dedicated rule for resetting the default value cache
  * JenkinsConfiguration rule (which already provided facilities for
    dealing with the configuration) has been replaced by a readYaml rule.
    From the PipelineUnit test framework we get already a handler for
    libraryResource, which is also part of the setup of the default
    values.
  * An auxiliar class which combines the
      * JenkinsSetupRule (registers the lib)
      * JenkinsReadYamlRule (provides facilities for Yaml parsing)
      * JenkinsResetDefaultValueCacheRule (cleans up the DefaultValueCache)
    into a rule chain. By using this rule chain we ensure that our
    setup OK (piper lib registered, and default config can be setup in
    a clean way).
2018-01-29 09:42:23 +01:00
0d87348c21 Replace JenkinsConfigRule by more speaking readYaml rule
and reset default cache rule.
2018-01-29 09:42:23 +01:00
437abcf225 Merge pull request #41 from marcusholl/pr/neoDeployWithNewConfigFramework
neo deploy with new config framework and introduce docker execute
2018-01-29 09:12:17 +01:00
8e3e60f1d5 Avoid interdependencies between tests 2018-01-26 15:39:04 +01:00
678b55e771 null docker image in case of missing docker daemon. 2018-01-25 16:41:27 +01:00
147d29a714 Check for running docker daemon with docker ps. 2018-01-25 16:41:27 +01:00
9a96acff57 change default for neo toolset from neo to neo.sh
The bash script is named 'neo.sh', not 'neo'. 'neo' as default will not work
despite somebody takes extra action to make it work.
2018-01-25 16:41:27 +01:00
bc2fb93551 Use dockerExecute inside neoDeploy 2018-01-25 16:41:27 +01:00
b843ac0794 Adjust neo deploy docu wrt new config framework. 2018-01-25 16:41:26 +01:00
1ff46861e0 Introduce new config framework into neoDeploy 2018-01-25 16:41:26 +01:00
2001816318 Remove unused variables inside test 2018-01-25 16:41:22 +01:00
e267622309 [refactor/streamline ]Use CPE is case the script is not available 2018-01-25 09:07:06 +01:00
3270c8dbec Merge pull request #48 from o-liver/neoDeploy
Use fileExists to check whether archivePath really exists
2018-01-25 08:57:46 +01:00
ec9895ec3e Improve fileExists mock
Before this commit the fileExists mock was not doing the same as the
real fileExists method. To stay close to reality we changed it construct
the absolute path and check for that when the fileExists method is
called.
Refactored to archiveName instead of archivePath, as this makes more
sense now.
2018-01-25 08:48:38 +01:00
58d3907093 Use fileExists to check whether archivePath really exists
When running on a slave we have to use the Pipeline method fileExists,
using the File class' exist on the absolute path fails.
The neo deployment uses the relative path as well.
The fileExists method is mocked with LesFurets.
2018-01-24 13:11:04 +01:00
ac14b8b00e Bump Version to 0.2 2018-01-24 12:08:52 +01:00
5f1e398f07 Update pom.xml 0.1 2018-01-24 12:07:26 +01:00
c9d7cc8856 Merge pull request #53 from marcusholl/pr/testCleanup
Beautify the tests
2018-01-24 11:51:31 +01:00
808170b88a Call pipeline steps directly, without using a pipeline snippet 2018-01-24 11:43:25 +01:00
749aa5e7ed InfluxDB support (#52)
* adding step for writing metrics to InfluxDB including dependencies
* added documentation
* incorporated PR feedback
2018-01-24 09:55:38 +01:00
e8363e9637 introduce JenkinsConfigRule 2018-01-23 15:02:25 +01:00
106a8b4693 Make use of JenkinsShellCallRule 2018-01-23 15:02:25 +01:00
1089e192f3 added JenkinsShellCallRule class 2018-01-23 14:51:18 +01:00
492d4a1f68 Make use of Jenkins setup and logging rules 2018-01-23 14:51:18 +01:00
b9eedda38e Merge pull request #44 from milkotodorov/master
Neo deploy - Add support for WAR file deployment/rolling-update
2018-01-23 09:42:02 +01:00
d9e8128860 Unit test for warAction: rolling-update 2018-01-17 14:01:15 +01:00
48fb7c76e3 Bug when checking for valid warAction 2018-01-17 13:48:26 +01:00
62b0cae3ac Changing IllegalArgumentException to general Exception
Requested by Oliver Nocon
2018-01-17 11:19:02 +01:00