redehnroV
0b3bfcbcd5
fixed docu generation layout ( #1014 )
2019-11-26 15:26:37 +01:00
Oliver Nocon
69bb2c9e60
Fix issues in config resolution ( #1000 )
...
* Respect defaults from step definition everywhere
* prevent empty config to overwrite default in aliasing
Address PR feedback
2019-11-22 10:30:44 +01:00
redehnroV
9559832a19
Merge branch 'master' into sv-docuGen
2019-11-22 07:49:40 +01:00
Oliver Nocon
e671094308
Use piper binary for githubPublishRelease ( #990 )
...
* Use piper binary for githubPublishRelease
2019-11-21 16:34:22 +01:00
Sven Merk
79e002cc5e
Merge branch 'master' into sv-docuGen
2019-11-21 16:13:50 +01:00
Oliver Nocon
0f33f7a2ef
Consider custom defaults in config.yml ( #995 )
...
* Consider custom defaults in config.yml
2019-11-21 16:09:57 +01:00
Sascha Vornheder
7558884f0b
fixed wrong format
2019-11-21 11:18:56 +01:00
Sascha Vornheder
f79f5e64ad
fixed codeclimate
2019-11-21 11:15:08 +01:00
Sascha Vornheder
957bd6ad4b
fixed codeclimate
2019-11-21 11:12:30 +01:00
Sascha Vornheder
c61b3a6e6c
removed unused code
2019-11-20 15:08:03 +01:00
Sascha Vornheder
39f6fd57c6
fixed issue with context defaults during docu generation
2019-11-20 14:36:07 +01:00
Sascha Vornheder
75b62547e3
fixed test
2019-11-20 11:29:13 +01:00
Sascha Vornheder
cdaa7dfd52
added dockerOptions to the docu generation
2019-11-20 10:50:23 +01:00
Sascha Vornheder
049dc95b1d
Merge remote-tracking branch 'origin/master' into docuGen
2019-11-20 09:05:22 +01:00
Sascha Vornheder
001895a228
added dockerOptions to the docu generator
2019-11-20 09:05:10 +01:00
Sven Merk
ceac2b2b73
Merge branch 'master' into sv-VolumeBind
2019-11-19 15:20:28 +01:00
Marcus Holl
e6f9d541ca
Add stdout/stderr to the interfaces (shellRunner, execRunner) ( #948 )
...
Otherwise we cannot set the streams on the level of the interfaces.
2019-11-19 14:29:53 +01:00
Sascha Vornheder
81b949685f
added docker options to the step meta data
2019-11-19 11:52:34 +01:00
Sascha Vornheder
5ba375250d
removed complexity added volumeMount
2019-11-18 11:14:45 +01:00
Sascha Vornheder
1da0f8d064
fixed order of mount path and name
2019-11-18 09:16:12 +01:00
Sascha Vornheder
4c747c05ca
fixed findings
2019-11-18 08:15:08 +01:00
Sascha Vornheder
90449d6226
added volume bindings to the step meta data
2019-11-15 10:34:38 +01:00
Sascha Vornheder
737e0e9c5b
added more tests
2019-11-14 15:09:12 +01:00
Sascha Vornheder
e763194779
added some tests, fixed CodeClimat findings
2019-11-14 13:59:31 +01:00
Sascha Vornheder
1a609e5418
fixed some codeclimate issues
2019-11-13 14:43:53 +01:00
Sascha Vornheder
c6f5dbf5ee
refactored docuHelper and added general test
2019-11-13 14:34:04 +01:00
Sascha Vornheder
b5b4f60bc4
fixed helper test
2019-11-12 14:21:23 +01:00
Sascha Vornheder
85570095c5
Fix CodeClimate finding
2019-11-12 13:55:32 +01:00
Sascha Vornheder
d87d27325c
Added docu generation to step generator
2019-11-12 13:19:49 +01:00
Christopher Fenner
2bb400910a
assign library field in logger with respect of containing repository ( #968 )
...
* set loggers library entry to repository url
* remove comment
2019-11-11 15:31:02 +01:00
Oliver Nocon
d7efd33a5b
Fix bug in step generator ( #964 )
...
When using step generator outside of the current package the `PrepareConfig` call was not done using the prefix.
2019-11-11 09:42:47 +01:00
Oliver Nocon
dca4a079b7
Refactor structure of generator ( #960 )
2019-11-08 15:35:11 +01:00
Oliver Nocon
fedfb74910
Export step generator ( #958 )
...
* Export step generator
* Fix CodeClimate finding
2019-11-07 15:42:22 +01:00
Marcus Holl
7c5a8a73bc
Helper for fileExists ( #954 )
...
Since we need it at several places (next use case will be step xsDeploy) we should
have a helper for that.
2019-11-07 08:17:42 +01:00
Oliver Nocon
ede322c8bb
Export general configuration - part 2 ( #957 )
...
* Export general configuration - part 2
First part in #956 missed to export the elements of the struct ...
* Add comment for exported struct
* Add function for opening config files
2019-11-06 16:22:50 +01:00
Oliver Nocon
bb230d3b9b
Export general configuration ( #956 )
...
Allow for package external access to general configuration.
Use-case: re-use individual steps
2019-11-06 14:07:41 +01:00
Christopher Fenner
ae221a8ea7
Merge branch 'master' into goGithub
2019-11-06 12:28:48 +01:00
Sven Merk
6721c59a30
Merge branch 'master' into cfg-hierarchical-defaults
2019-11-06 12:13:15 +01:00
Oliver Nocon
d9a7faed0f
Merge branch 'master' into goGithub
2019-11-06 10:32:22 +01:00
OliverNocon
57540d3127
Fix bug in replacement function
2019-11-06 10:32:02 +01:00
Marcus Holl
a456282d6a
fix: getting config should also work in case there is no project config ( #951 )
2019-11-06 10:28:15 +01:00
OliverNocon
deb965e2b4
Fix CodeClimate finding with generator update
2019-11-06 09:12:50 +01:00
Sven Merk
04d288a13f
Merge branch 'cfg-hierarchical-defaults' of https://github.com/SAP/jenkins-library into cfg-hierarchical-defaults
2019-11-05 16:31:50 +01:00
Sven Merk
376419e0db
Add mixin of dependent defaults
2019-11-05 16:30:41 +01:00
Sven Merk
0ba9baab6a
Merge branch 'master' into cfg-hierarchical-defaults
2019-11-04 16:31:02 +01:00
Sven Merk
c241066e21
Add capability for hierarchical defaults in golang
2019-11-04 16:29:39 +01:00
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
3a128001f2
Cleanup: remove commented line (leftover ?) ( #939 )
2019-10-30 21:47:48 +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
Oliver Nocon
d053653a93
Add golang implementation for karma tests ( #919 )
...
* Provide golang based karma step
2019-10-25 14:58:59 +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
Oliver Nocon
c1eb9f5c70
Provide first parts for golang implementation ( #905 )
...
* Provide first parts for golang implementation
2019-10-22 15:41:27 +02:00