Commit Graph
92 Commits
Author SHA1 Message Date
Daniel KurzynskiandStephan Aßmus 9a18489cc4 Refactor maven utils and add tests for install artifacts (#2318)
Co-authored-by: Stephan Aßmus <stephan.assmus@sap.com>
2020-11-10 17:14:55 +01:00
Daniel Kurzynski 7946265e21 Install maven artifacts before running Detect (#2292) 2020-11-03 11:08:23 +01:00
Daniel Kurzynski a2656a5f71 Install artifacts before whitesource scan (#2280) 2020-10-30 15:05:14 +01:00
Daniel Kurzynski 1015371efd Pass settings file also to install-file (#2279) 2020-10-30 10:04:38 +01:00
Daniel KurzynskiandStephan Aßmus 6ba8b7968b Add option to install artifacts before running static code checks (#2270)
Co-authored-by: Stephan Aßmus <stephan.assmus@sap.com>
2020-10-29 18:58:40 +01:00
Daniel Kurzynski 6afb0ae507 Pass project settings to flatten command (#2269) 2020-10-29 16:33:58 +01:00
Daniel Kurzynski f5df553dae Change defaultimage for npmExecuteLint (#2262) 2020-10-28 18:07:40 +01:00
Daniel KurzynskiandStephan Aßmus 63756dc81c Fix cloudFoundryDeploy documentation (#2236)
Co-authored-by: Stephan Aßmus <stephan.assmus@sap.com>
2020-10-26 16:59:51 +01:00
Daniel Kurzynski c42299177e Also stash war files as build result (#2196) 2020-10-16 11:27:50 +02:00
Daniel Kurzynski 64596a556d Install artifacts before running integration tests (#2179) 2020-10-15 09:38:10 +02:00
Daniel KurzynskiandStephan Aßmus f5b19a79e4 Infer project name (#2119)
Co-authored-by: Stephan Aßmus <stephan.assmus@sap.com>
2020-10-05 19:34:43 +02:00
Daniel Kurzynski 265541354d Archive debug report in piper post action stage (#2101) 2020-10-01 10:14:14 +02:00
8ee0d358b9 Support maven params in detect scan (#1855)
Co-authored-by: Florian Wilhelm <florian.wilhelm02@sap.com>
Co-authored-by: Stephan Aßmus <stephan.assmus@sap.com>
2020-07-30 10:35:46 +02:00
Daniel KurzynskiandStephan Aßmus 41d0b761f7 Add mta alias for maven parameter (#1856)
Co-authored-by: Stephan Aßmus <stephan.assmus@sap.com>
2020-07-29 15:39:41 +02:00
Daniel KurzynskiandFlorian Wilhelm bcab73d332 Support m2path for mtaBuild (#1850)
Co-authored-by: Florian Wilhelm <florian.wilhelm02@sap.com>
2020-07-28 17:06:17 +02:00
Daniel Kurzynski 4814bea547 Fix npmExecuteEndToEndTests (#1818) 2020-07-17 17:54:28 +02:00
Daniel Kurzynski 26e817ca29 Make stage locking more flexible (#1811) 2020-07-17 14:27:21 +02:00
Daniel Kurzynski f933788d86 Pass stageName through to steps (#1796) 2020-07-17 13:32:49 +02:00
Daniel Kurzynski 61a669778a Apply alias to secrets (#1802) 2020-07-15 21:05:22 +02:00
Daniel Kurzynski 82d8db2423 Reuse mtar file from mtaBuild in tmsUpload and cloudFoundryDeploy (#1794) 2020-07-15 08:32:05 +02:00
Daniel Kurzynski fbf2b29a32 NpmExecuteScripts add script options (#1780) 2020-07-09 14:57:41 +02:00
Daniel Kurzynski fb3c6b5978 Ignore wrong type of alias (#1778) 2020-07-09 14:13:06 +02:00
Daniel KurzynskiandKevin Hudemann 15926684cb Fix lint tests (#1773)
Co-authored-by: Kevin Hudemann <kevin.hudemann@sap.com>
2020-07-08 11:57:21 +02:00
Daniel Kurzynski 5749b47c75 Fix containers map and add test (#1769) 2020-07-07 12:07:44 +02:00
3b8253958e Add documentation to scale the infrastructure with Kubernetes or Jenkins agents (#1740)
Co-authored-by: Kevin Hudemann <kevin.hudemann@sap.com>
Co-authored-by: Florian Wilhelm <florian.wilhelm02@sap.com>
2020-07-03 10:28:48 +02:00
Daniel Kurzynski e6ab6f815f Default source for maven deployments to neo (#1755) 2020-07-03 09:56:14 +02:00
Daniel Kurzynski bfb6fa8b33 Multicloud change config order (#1754) 2020-07-02 16:53:03 +02:00
Daniel Kurzynski be97e07f1c Expose enableZeroDowntimeDeployment as step parameter (#1751) 2020-07-02 10:50:37 +02:00
Daniel Kurzynski 0f6a48bede Remove defaults for mtaBuild (#1734)
Defaults should only be defined in the metadata file.
2020-07-01 10:14:59 +02:00
654dea4b3e Load global extensions in setupCommonPipelineEnvironment (#1688)
Co-authored-by: Stephan Aßmus <stephan.assmus@sap.com>
Co-authored-by: Florian Wilhelm <florian.wilhelm02@sap.com>
2020-06-22 17:52:11 +02:00
Daniel Kurzynski 7c0c5242e3 Revert go mod change (#1696) 2020-06-22 10:04:25 +02:00
Daniel KurzynskiandStephan Aßmus 8f9ed0766c Let json patcher fail if file not found (#1694)
Co-authored-by: Stephan Aßmus <stephan.assmus@sap.com>
2020-06-19 20:13:20 +02:00
Daniel Kurzynski 0d1b94adb3 Add sysadmin capabilities to npmExecuteScripts (#1691) 2020-06-19 16:39:07 +02:00
Daniel Kurzynski 7c441f552f Make version command a high level command like get-config without resolving the configuration (#1689) 2020-06-19 14:39:19 +02:00
Daniel KurzynskiandStephan Aßmus be01dd3869 Add schema patch step in go (#1683)
Co-authored-by: Stephan Aßmus <stephan.assmus@sap.com>
2020-06-18 14:50:46 +02:00
6dfd83d246 Add ability to load custom defaults from secured resource (#1680)
Co-authored-by: Oliver Nocon <33484802+OliverNocon@users.noreply.github.com>
Co-authored-by: Stephan Aßmus <stephan.assmus@sap.com>
2020-06-18 12:39:55 +02:00
498e527c6c Add npmExecuteScripts to integration stage (#1674)
Co-authored-by: Stephan Aßmus <stephan.assmus@sap.com>
Co-authored-by: Oliver Nocon <33484802+OliverNocon@users.noreply.github.com>
2020-06-17 18:17:05 +02:00
Daniel KurzynskiandStephan Aßmus 743fca43e1 Remove projectVersion from fortify documentation (#1628)
Co-authored-by: Stephan Aßmus <stephan.assmus@sap.com>
2020-06-17 17:47:59 +02:00
0222bf83d1 Run npm scripts in virtual frame buffer and extend command.go to run executable asynchronously (#1669)
Co-authored-by: Stephan Aßmus <stephan.assmus@sap.com>
Co-authored-by: Florian Wilhelm <florian.wilhelm02@sap.com>
2020-06-16 11:42:51 +02:00
Daniel Kurzynski 9a30758115 Consider stage config from custom defaults (#1670) 2020-06-16 09:06:37 +02:00
Daniel Kurzynski 41c1653a06 Fix checkmarx (#1655) 2020-06-12 09:22:22 +02:00
Daniel Kurzynski d1cdf4449c Fix reading download cache variables on node (#1660) 2020-06-11 21:59:55 +02:00
Daniel KurzynskiandChristopher Fenner d9a8537eb5 Revert to again use curl to download binary (#1637)
Revert "Remove curl for unstashing binary (#1580)"
This reverts commit 8b296f74

Improve error message

Co-authored-by: Christopher Fenner <26137398+CCFenner@users.noreply.github.com>
2020-06-10 10:11:20 +02:00
Daniel Kurzynski 1ee13b358b Store build tool in commonPipelineEnvironment (#1645) 2020-06-09 14:52:03 +02:00
Daniel KurzynskiandStephan Aßmus cf9a41850e Needed CLI separator for Fortify tools depends on platform (#1616)
* Update fortify.yaml
* src, exclude and pythonAdditionalPaths are now lists of strings
* Re-implement pythonIncludes and pythonExcludes as aliases of src and exclude
* Fix using the correct separator (; on windows, : on everything else)
* Tokenize also python "includes"
* mvnCustomArgs was removed

Co-authored-by: Stephan Aßmus <stephan.assmus@sap.com>
2020-06-02 13:47:07 +02:00
Daniel Kurzynski ae6853ee4d Use fixed versions for docker images for mtaBuild (#1615) 2020-05-29 13:51:33 +02:00
Daniel KurzynskiandStephan Aßmus 0a4309a2c2 Add build project name (#1610)
Co-authored-by: Stephan Aßmus <stephan.assmus@sap.com>
2020-05-28 10:45:06 +02:00
Daniel Kurzynski 3992f17b32 Fix injection of download cache parameters (#1605)
- NPMRegistry was always an empty string
- MTA did not use npm registry
2020-05-27 18:20:10 +02:00
Daniel KurzynskiandStephan Aßmus aa5566d8af Add fortify docs (#1598)
Co-authored-by: Stephan Aßmus <stephan.assmus@sap.com>
2020-05-27 13:36:40 +02:00
Daniel Kurzynski 8b296f7420 Remove curl for unstashing binary (#1580) 2020-05-27 13:30:04 +02:00
Daniel Kurzynski 89ef622c2b Let users configure the sap npm registry for mta builds via config.yml (#1499) 2020-05-06 13:05:54 +02:00
Daniel Kurzynski 1e252ea556 Disable duplicate go integration tests (#1442) 2020-05-06 10:00:24 +02:00
Daniel Kurzynski 6bebfbfced Fix nexus upload to pass correct environment variable (#1480) 2020-04-28 21:09:19 +02:00
974327d16e Use mavenExecute from go (#1388)
Also establish mavenExecute() via new JenkinsMavenExecuteRule in Groovy Unit Tests.

Co-authored-by: Stephan Aßmus <stephan.assmus@sap.com>
Co-authored-by: Christopher Fenner <26137398+CCFenner@users.noreply.github.com>
2020-04-24 10:41:49 +02:00
Daniel Kurzynski 689976c892 Document mavenBuild (#1439) 2020-04-22 16:43:10 +02:00
Daniel Kurzynski 168b82b92c Fix integration tests on master (#1440) 2020-04-22 16:41:43 +02:00
Daniel Kurzynski 76d24e560e Fix documentation generation for cloud foundry (#1420) 2020-04-22 11:50:30 +02:00
Daniel Kurzynski a37ef48570 Document new identifier (#1392) 2020-04-22 11:25:51 +02:00
Daniel Kurzynski 52822ded5e Log command which is executed (#1300) 2020-04-22 11:06:00 +02:00
Daniel Kurzynski 9bf8e60ba0 Run integration tests on github action instead of travis (#1402) 2020-04-22 10:35:13 +02:00
Daniel Kurzynski 1c247de9d0 Add option to always run stages in a pod (#1414) 2020-04-17 10:31:04 +02:00
Daniel Kurzynski 0e4bff7aa6 Configure default jenkins agent for kubernetes (#1412) 2020-04-16 15:08:09 +02:00
Daniel Kurzynski ce4be51362 Mask secrets (#1382) 2020-04-16 14:37:45 +02:00
Daniel Kurzynski 0740cbe328 Use new piper identifier in tests (#1391) 2020-04-11 12:27:27 +02:00
Daniel Kurzynski 6d5b634278 Prepare consumer tests for being tested in Actions (#1369) 2020-04-09 13:04:10 +02:00
Daniel Kurzynski b32214ee78 Inherit from Kubernetes pod template (#1361) 2020-04-08 19:54:06 +02:00
Daniel Kurzynski a3c18d403f Allow MEMBERs to trigger integration tests (#1376) 2020-04-08 11:43:24 +02:00
Daniel Kurzynski 0c70ddbbf2 Allow MEMBERs to trigger integration tests (#1375) 2020-04-08 11:33:17 +02:00
Daniel Kurzynski 56b76dfad5 Trigger integration test with command (#1368) 2020-04-08 10:33:41 +02:00
Daniel Kurzynski ea007c0d1f Fix test by resetting application context after each test (#1352) 2020-04-01 11:51:20 +02:00
Daniel Kurzynski a40ac015a8 Add tests for maven build (#1276) 2020-03-26 08:23:21 +01:00
Daniel Kurzynski 04cdf4b2fe Always pull sidecar images by default (#1317) 2020-03-25 20:03:17 +01:00
Daniel Kurzynski 9ed39cfa3f Maven build groovy (#1303) 2020-03-23 09:58:54 +01:00
Daniel Kurzynski 6bd259e5d4 Fix sidecar env vars (#1292) 2020-03-20 11:36:16 +01:00
Daniel Kurzynski 4e9e31810c Config maven in general 2020-03-17 12:09:08 +01:00
Daniel Kurzynski a923e4cfc2 Add maven build/install step (#1245) 2020-03-13 13:32:37 +01:00
Daniel Kurzynski c87c72ca7b Document new sdk config location (#1228) 2020-02-27 10:36:04 +01:00
Daniel Kurzynski eb82851502 Disable or fail on blue green deployment if not supported by manifest structure (#1160) 2020-02-07 18:46:03 +01:00
Daniel Kurzynski 462c293c9c User piper docker images (#920) 2019-10-25 17:49:54 +02:00
Daniel Kurzynski af740e1092 Make source for neo deployments configurable in the config file (#564) 2019-03-18 14:55:51 +01:00
Daniel Kurzynski 9f4a597778 Wait for sidecar container to be ready (#567) 2019-03-18 14:05:42 +01:00
Daniel Kurzynski 95af03279a Show correct logs in integration tests (#571) 2019-03-18 13:17:11 +01:00
Daniel Kurzynski 9055dd1ea0 Merge branch 'master' into pr/neoDeployParamChecksEarly 2019-03-14 12:52:55 +01:00
Daniel Kurzynski ea81e97127 Merge branch 'master' into marcusholl/integrationtests/removeRedundanciesInIntegrationTests 2019-03-07 13:23:42 +01:00
Daniel Kurzynski 1bd1b01a7a Merge branch 'master' into remove-compatability 2019-03-07 12:54:04 +01:00
Daniel Kurzynski 09a2e3f090 Remove compatibility for neoDeploy 2019-01-28 12:35:35 +01:00
Daniel Kurzynski 6e26d78047 Improve neo deploy (#440)
The following features were added:
Lock resources for deployment
New parameters: environment, vmArguments
Assert password does not start with @
Link to cloud cockpit
Only execute rolling update if app is running
Show logs if deployment failed
Restart app after normal deployment
Use neo namespace for parameters
Align parameter names with neo sdk: size, application, source
Remove vmSize check as done by the tool itself
2019-01-28 11:32:24 +01:00
Daniel Kurzynski 322a437763 Revert "Merge branch 'master' of https://github.com/SAP/jenkins-library"
This reverts commit 65220efb4e, reversing
changes made to cf17510641.
2018-06-08 11:55:38 +02:00
Daniel Kurzynski e8fb41aab6 Add configuration support for postActions (#135) 2018-05-07 10:50:21 +02:00
Daniel Kurzynski 540e8c36db Fix merging if default values do not exist (#130) 2018-04-23 13:41:22 +02:00
Daniel Kurzynski 3d5a97ab71 Annotate docker plugin check as non cps (#134) 2018-04-20 12:59:17 +02:00
Daniel Kurzynski b29de61f3c Fix referencing script in setVersion (#128)
In order to use the configuration the script needs to be forwarded to

* Fix reference to script in tests and steps
2018-04-05 11:36:51 +02:00