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

2093 Commits

Author SHA1 Message Date
OliverNocon
4302066327 Merge master 2019-11-04 16:11:13 +01:00
OliverNocon
6256a0b9aa Update githubPublishRelease 2019-11-04 16:07:30 +01:00
Christopher Fenner
742a67fc60 Add GO logging with logrus (#938)
* add log package
* add logrus dependency
* add logging to karma step
* add log stepName to generator, respect verbose flag
2019-11-04 14:43:33 +01:00
Marcus Holl
5b2d3a1663
Version command for piper go (#922) 2019-10-31 13:57:29 +01:00
OliverNocon
d24644c0c2 Merge branch 'master' of https://github.com/SAP/jenkins-library into goGithub 2019-10-31 11:18:31 +01:00
Marcus Holl
3a128001f2 Cleanup: remove commented line (leftover ?) (#939) 2019-10-30 21:47:48 +01:00
OliverNocon
6817dac0fa Merge branch 'master' of https://github.com/SAP/jenkins-library 2019-10-30 10:09:27 +01:00
Oliver Nocon
101ccaf7f6
Add karma command (#937) 2019-10-30 10:08:41 +01:00
OliverNocon
803d9ccbef Merge branch 'master' of https://github.com/SAP/jenkins-library 2019-10-30 10:05:16 +01:00
Marcus Holl
74dd263834 Prepare testing command/shell executions (#930)
* Move shell call related mocks to piper_test.go
2019-10-30 09:52:41 +01:00
OliverNocon
b6884832ba Add karma command 2019-10-30 09:20:25 +01:00
Maximilian Lenkeit
a5548ab443 Add UI5 artefacts to default stash configuration (#896)
* consider ui5.yaml as build descriptor
* add common ui5 artefacts to tests stash
2019-10-30 08:21:34 +01:00
Thorsten Duda
97a140bce9
Merge pull request #923 from SAP/it/doc-navigator-patch-1
remove duplicated navigation entries from docs
2019-10-30 08:03:00 +01:00
Oliver Nocon
c62a3b4974
Merge branch 'master' into it/doc-navigator-patch-1 2019-10-29 17:23:00 +01:00
Oliver Nocon
e01b3327fd
Go configuration - add aliasing functionality (#925)
* Go configuration - add aliasing functionality

This assists in backward compatibility cases.
It is now possible to define per parameter aliases.
2019-10-29 10:58:24 +01:00
Thorsten Duda
6604a82eb1 remove double scenarios entry 2019-10-28 16:47:57 +01:00
Thorsten Duda
800eeffeae remove double navigation entry 2019-10-28 13:56:11 +01:00
Sven Merk
0f3436d1a5 sonarExecuteScan: avoid working directory being deleted before scan detection ends (#882) 2019-10-28 13:01:51 +01:00
Sven Merk
bb59e68df3 sonarExecuteScan: Fix links in documentation (#883)
* Update sonarExecuteScan.groovy

* Update sonarExecuteScan.groovy

* Update vars/sonarExecuteScan.groovy

* Update vars/sonarExecuteScan.groovy
2019-10-28 12:55:27 +01:00
Irina Kirilova
2f00e36682 correct typos in xsDeploy documentation (#921) 2019-10-28 12:05:52 +01:00
Daniel Kurzynski
462c293c9c User piper docker images (#920) 2019-10-25 17:49:54 +02:00
Oliver Nocon
84ad9d49e6
Enhance CONTRIBUTING.md (#916)
close #213
2019-10-25 15:44:58 +02:00
Oliver Nocon
d053653a93
Add golang implementation for karma tests (#919)
* Provide golang based karma step
2019-10-25 14:58:59 +02:00
Sven Merk
1c5df085d5
Merge pull request #918 from SAP/disable-return-check
Disable return statement maintainability check
2019-10-25 09:06:06 +02:00
Sven Merk
763496d8fb
Merge branch 'master' into disable-return-check 2019-10-25 08:46:18 +02:00
Christoph Szymanski
77e9b04e69 Document MTA (Java) Deployment Limitation (#854)
* Update neoDeploy.md

* Clarification + hint to trial limitation

* Mention Java explicitly

* Fix typo

* DeployMode MTA --> mta

according to other parts of the docu and according to the source code,
the deploy mode is in lower case.
2019-10-24 16:35:11 +02:00
Oliver Nocon
1f34511407
Provide golang based Piper library (#915)
* Provide golang based Piper  library

This includes the main command
and a sub command for config resolution
2019-10-24 10:59:58 +02:00
Sven Merk
f92bd31114
Merge pull request #917 from SAP/fix-non-serializable
Exchange non serializable template engine with GStringTemplateEngine
2019-10-23 17:38:04 +02:00
Sven Merk
4e6104ebb4
Disable return statement maintainability check 2019-10-23 14:56:29 +02:00
Sven Merk
a16ca05669
Merge branch 'master' into fix-non-serializable 2019-10-23 14:34:06 +02:00
Marcus Holl
3046f121c1
Check against containerMap from config rather than params (#835)
The parameter map is directly handed over from outside into the step via signature of the call method.

The container map is defined as step parameters, not as parameter handed over (only) via the parameters map.

With the current approach only the container map from the parameters is taken into account. In case the
parametersMap is defined elsewhere it is not taken into account.
2019-10-23 14:31:49 +02:00
Sven Merk
46fb4ad5e8 Exchange NonSerializable template engine with GStringTemplateEngine 2019-10-23 13:38:31 +02:00
Marcus Holl
945599c109
docu xsdeploy scenario (#840) 2019-10-23 11:03:17 +02:00
Oliver Nocon
c1eb9f5c70
Provide first parts for golang implementation (#905)
* Provide first parts for golang implementation
2019-10-22 15:41:27 +02:00
Marcus Holl
8e987c46e1
[refactoring] condence common coding for cf deploy (#895)
* [refactoring] condence common coding for cf deploy

Small change beyond refactoring: for mtaDeploy the user is now quoted.

* more general name: logoutAction -> postDeployAction
2019-10-22 13:53:08 +02:00
Marcus Holl
514755e4ef
Fail early if file which should be uploaded does not exist. (#909)
Right now we fail with some error message from curl.
2019-10-22 12:28:43 +02:00
Shanuson
8cfac8d43f new step cloudFoundryServiceCreate (#892)
# Changes
This PR adds a new step: cloudFoundryServiceCreate

There is a cf community plugin [Create-Service-Push](https://github.com/dawu415/CF-CLI-Create-Service-Push-Plugin) available to apply infrastructure as code  to Cloud Foundry. The plugin uses a manifest.yml to create services in a targeted CF space. 

The proposed step provides an interface to this plugin. 

Already done:
- [x] Tests
- [x] Documentation

Further actions:
- a Refactoring: Move varOptions and varsFileOption code into a class and make us of this here and in cloudFoundryDeploy step. -> Is it ok to use the CfManifestUtils, or add it as a new class to variablesubstitiion package? 
- enhance the s4sdk cf cli docker image to include the plugin.
2019-10-22 11:15:03 +02:00
Sven Merk
c85b9fa67d
Merge pull request #904 from SAP/ws-logs-cp
whitesourceExecuteScan: Transfer logs into workspace to allow archiving
2019-10-18 09:13:12 +02:00
Sven Merk
5bf5a6013c
Update whitesourceExecuteScan.groovy 2019-10-17 15:24:09 +02:00
Sven Merk
3d1da388c8
Update whitesourceExecuteScan.groovy 2019-10-16 14:58:54 +02:00
Sven Merk
cf64a0d098
whitesourceExecuteScan: Transfer logs into workspace to allow archiving 2019-10-16 13:49:47 +02:00
Sven Merk
489e089ebc
Merge pull request #903 from SAP/ws-logs-archiving
whitesourceExecuteScan: Fix path for archiving UA logs
2019-10-16 11:46:25 +02:00
Sven Merk
88ab65cf7b Fix UA log path for archiving 2019-10-16 10:54:17 +02:00
Sven Merk
492bfd5637
Merge pull request #900 from SAP/ws-logs
whitesourceExecuteScan: Add archiving of new UA log files
2019-10-15 16:11:17 +02:00
Sven Merk
cf231d7353
Merge branch 'master' into ws-logs 2019-10-15 15:36:31 +02:00
Sven Merk
43dd966887
Merge pull request #902 from SAP/fwilhe-patch-2
Use openjdk8 in travis build
2019-10-15 14:50:52 +02:00
Florian Wilhelm
0dffbaedb1
openjdk8 2019-10-15 14:06:02 +02:00
Sven Merk
f2ce3d5b2d Extend default configuration 2019-10-15 13:19:39 +02:00
Sven Merk
79348f68de Add archiving of new UA log files 2019-10-15 11:50:35 +02:00
Marcus Holl
8b26406fc7
Provide additional opts for cf deploy (#872)
* Provide additional opts for cf deploy

Inside cloudFoundyDeploy we use these cf commands

 o login
 o plugins
 o blue-green-deploy
 o push
 o deploy
 o bg-deploy
 o stop
 o logout

 o logout and stop does not provide any options
 o plugins provides options (--checksum --outdated) but it is unlikely that
   these options can be used in a reasonable way during the deploy process.
 o login now uses `loginOpts`
 o The other commands uses now `deployOpts`

* provide additional opts also for cf api calls

* Provide more log when verbose

* re-use mtaDeployParameters and adjust names of other params (api, login) accordingly

* Streamline naming

* distinuish between cfNative and mta deploy params

* Add cfNativeDeployParam default

* login and api paramters are not under cloudFoundry
2019-10-02 13:28:54 +02:00