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

2077 Commits

Author SHA1 Message Date
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
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
Marcus Holl
1a34d679d4
cm scenario: mta and node only required in case we are not running in… (#889)
* cm scenario: mta and node only required in case we are not running in a docker enviroment

* Update documentation/docs/scenarios/changeManagement.md

Co-Authored-By: SarahNoack <44202907+SarahNoack@users.noreply.github.com>

* Update documentation/docs/scenarios/changeManagement.md

Co-Authored-By: SarahNoack <44202907+SarahNoack@users.noreply.github.com>
2019-10-01 11:24:07 +02:00
Marcus Holl
afb33f78c7
cm client only required in case we are not running via docker (#890) 2019-09-30 12:54:16 +02:00
Marcus Holl
facebdbdbb
Provide the logs for cf deploy (#865)
* Provide the logs for cf deployx

* Surround cf trace output by comments so that it can be easily retrieved

* Tests
2019-09-27 16:10:43 +02:00
Marcus Holl
e418c15b6e
Revert "Back commonPipelineEnvironment step by shared class (#821)" (#885)
This reverts commit eb57c8df7b.
2019-09-26 14:18:18 +02:00
Marcus Holl
eb57c8df7b
Back commonPipelineEnvironment step by shared class (#821)
* Back commonPipelineEnvironment step by shared class

Each pipeline step comes with its own instance of a commonPipelineEnvironment.
Properties stored on one instance was not shared with the other instances.

Now we strip down the commonPipelineEnvironment step and forward basically
everything to a shared singleton instance.

With that approach all instances of commonPipelineEnvironment shares the
same data and can now be really used for information exchange between the steps.
Before that change only the commonPipelineEnvironment instance associated with
the pipeline script itself could be used for that purpose.

* Remove unneeded commented line
2019-09-26 12:23:36 +02:00
Marcus Holl
61a91b5f25
Add containerPushToRegistry to docu index (#862) 2019-09-25 11:00:35 +02:00
Marcus Holl
96365d29f7
Add buildExecute to docu index. (#860) 2019-09-25 08:55:51 +02:00
TheFonz2017
6dabdff8d5 Added (optional) Variable Substitution to CloudFoundryDeploy Step (#866) 2019-09-24 08:49:25 +02:00
Shanuson
05301eaf16 Refactoring Only PR for cloudFoundryDeployStep (#881) 2019-09-20 09:57:28 +02:00
Florian Wilhelm
e041f45183
Streamline documentation to reflect project "piper" (#875) 2019-09-19 14:17:41 +02:00
SarahNoack
68758d1073
Merge pull request #880 from SAP/saranoack/extensionWithTms-scenario-docu
Add TMS extension scenario
2019-09-19 12:37:13 +02:00
Sarah Noack
1c8ba63053 Change node decription 2019-09-19 09:47:03 +02:00
Sarah Noack
a0bdc4f4c9 Add description in Jenkinsfile section 2019-09-18 14:56:41 +02:00
Sarah Noack
f5ff55e3df minor language editing 2019-09-18 14:15:02 +02:00
Sarah Noack
54cbc403c0 Add SAP Cloud Platform Transport Management scenario 2019-09-18 13:46:40 +02:00
Sven Merk
37ec5d4a1f
Merge pull request #876 from SAP/mail-culprits
mailSendNotification: Avoid full merge trace being added to culprits
2019-09-17 14:35:08 +02:00