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

165 Commits

Author SHA1 Message Date
Christopher Fenner
b27742314b
add plugin prerequisites 2018-02-06 21:36:31 +01:00
Christopher Fenner
02c983e374
remove wrapping RuleChain 2018-02-06 09:53:27 +01:00
Christopher Fenner
8c02b8bc86 mock step configuration change 2018-02-05 16:02:59 +01:00
Christopher Fenner
87de7417ca add further tests 2018-02-05 13:48:39 +01:00
Christopher Fenner
853bc963c0 add additional test case 2018-02-05 13:33:15 +01:00
Christopher Fenner
bf1a2a98e0 remove debug log 2018-02-02 15:08:22 +01:00
Christopher Fenner
f213f98f07 fix step renaming 2018-02-02 15:07:33 +01:00
Christopher Fenner
64046b6de2 rename step to checksPublishResults 2018-02-02 14:50:26 +01:00
Christopher Fenner
6a593744ab
remove unused method 2018-02-02 12:20:57 +01:00
Marcus Holl
87f899a731 Merge remote-tracking branch 'github/master' into HEAD 2018-02-02 09:34:27 +01:00
Christopher Fenner
3e1b0b6309 cleanup defauls 2018-02-02 09:33:39 +01:00
Christopher Fenner
e92c233913 adapt new test rules 2018-02-02 09:33:39 +01:00
Christopher Fenner
72251eb07e remove unused imports 2018-02-02 09:33:38 +01:00
Christopher Fenner
29b7dc931f adapt editor config foy yaml files 2018-02-02 09:33:38 +01:00
Christopher Fenner
c5188ef1cd use configuration framework 2018-02-01 12:57:25 +01:00
Christopher Fenner
134d8e0b50 provide default config for checkResultsPublish 2018-02-01 12:56:46 +01:00
Christopher Fenner
dc44fdba58 extend config merger to handle deep config structures 2018-02-01 12:16:21 +01:00
Alejandra Ferreiro Vidal
1eb035b5e1
Merge pull request #62 from alejandraferreirovidal/absolutePathBugFix
bugfix absolute path
2018-02-01 09:31:02 +01:00
Christopher Fenner
2f2ddb00f2
Merge pull request #61 from CCFenner/editorConfigYaml
specific settings for yaml file to fit currently used format
2018-02-01 09:21:43 +01:00
Christopher Fenner
5df94aee3a correct parameter name to fit purpose 2018-02-01 08:22:12 +01:00
Alejandra Ferreiro Vidal
485eff7175 bugfix absolute path 2018-01-31 18:53:14 +01:00
Christopher Fenner
22103fadca add step name to echo 2018-01-31 16:56:18 +01:00
Marcus Holl
c55673daea
Merge pull request #56 from marcusholl/pr/rules
Provide Rule chain for the common rules used as prerequisite in almost all tests
2018-01-31 10:34:14 +01:00
Christopher Fenner
1361c03202
adapt editor config foy yaml files 2018-01-31 10:09:45 +01:00
Christopher Fenner
abb8a7e985
add file StaticChecks_Threshold.png 2018-01-30 19:43:02 +01:00
Christopher Fenner
d691c8d2cf
Update checkResultsPublish.md 2018-01-30 19:42:27 +01:00
Christoph Szymanski
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
Marcus Holl
e3590c8603 [fix] ensure backward compatitility for credentials id 2018-01-30 17:09:17 +01:00
Christopher Fenner
9d4a9304db add further test cases 2018-01-30 15:26:54 +01:00
Christopher Fenner
653a66b841 add unit test 2018-01-30 13:33:28 +01:00
Christopher Fenner
8710495e17 add @NonCPS annotations 2018-01-30 13:15:49 +01:00
Christopher Fenner
790f2b7ea3 remove body parameter from step 2018-01-30 13:15:08 +01:00
Christopher Fenner
00b44315ec remove deprecated testMode parameter 2018-01-30 13:14:37 +01:00
Christopher Fenner
55166f3cac fix issue with pattern 2018-01-30 13:14:05 +01:00
Christopher Fenner
573ded75dc correct step file name 2018-01-30 11:17:01 +01:00
Christopher Fenner
2d2cc3a893 Merge branch 'master' into publishCheckResults3 2018-01-30 11:15:26 +01:00
Christopher Fenner
dad65ba5ff change name of class parameter 2018-01-30 10:06:35 +01:00
Christopher Fenner
a95b74afcf add step documentation 2018-01-29 16:49:25 +01:00
Christopher Fenner
a0bc00870d correct eslint default pattern 2018-01-29 16:47:40 +01:00
Christopher Fenner
5f6ba2f4b6 add step javadoc, correct step name 2018-01-29 16:47:22 +01:00
Christopher Fenner
795eece19a add new step checkResultsPublish 2018-01-29 16:29:00 +01:00
Marcus Holl
f52cbbe36a Fix wrong backward compatibility handling for deployHost, deployAccount. 2018-01-29 15:11:02 +01:00
Marcus Holl
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
Marcus Holl
0d87348c21 Replace JenkinsConfigRule by more speaking readYaml rule
and reset default cache rule.
2018-01-29 09:42:23 +01:00
Marcus Holl
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
Marcus Holl
8e3e60f1d5 Avoid interdependencies between tests 2018-01-26 15:39:04 +01:00
Marcus Holl
678b55e771 null docker image in case of missing docker daemon. 2018-01-25 16:41:27 +01:00
Marcus Holl
147d29a714 Check for running docker daemon with docker ps. 2018-01-25 16:41:27 +01:00
Marcus Holl
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
Marcus Holl
bc2fb93551 Use dockerExecute inside neoDeploy 2018-01-25 16:41:27 +01:00