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

2161 Commits

Author SHA1 Message Date
Thorsten Duda
d77f0f8fac
Merge branch 'master' into pr/allCPEsCanBeUsed2 2019-11-12 07:56:29 +01:00
Oliver Nocon
da0935c0e5
Patch Urls (#929)
* Patch Urls
* fix test
2019-11-11 17:40:23 +01:00
Christopher Fenner
de465f2e20
fix: correct ldflags (#969) 2019-11-11 16:38:25 +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
Sven Merk
5b598e82ce
Merge pull request #966 from SAP/fix-docs
Fix documentation of cfManifestSubstituteVariables step
2019-11-11 11:12:11 +01:00
Sven Merk
c9dcfd5578 Fix comment format 2019-11-11 11:08:20 +01:00
Sven Merk
b590e57d16
Merge pull request #965 from SAP/fix-for-nexus-stage-step
Fix docu generation for nexus stage step
2019-11-11 11:02:27 +01:00
Sven Merk
4e9fef433a
Update createDocu.groovy 2019-11-11 10:44:03 +01:00
Marcus Holl
c9883bf5b0
Pr/read project config only if it exists (#959)
* Read the project config only if it exists

This avoid trying reading the file and have the control flow based
on errors. Beside that it helps troubleshooting when we have some
logging (debug level only).

* formatting only

* Adjust log level
2019-11-11 09:52:44 +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
Sven Merk
27b5545ab6
Merge pull request #962 from SAP/karma-fix-metadata
Fix karma metadata
2019-11-08 11:58:17 +01:00
Sven Merk
4fb5f63cfd
Merge branch 'master' into karma-fix-metadata 2019-11-08 11:30:43 +01:00
Sven Merk
92054ad8aa Fix karma metadata 2019-11-08 11:28:42 +01:00
Oliver Nocon
fedfb74910
Export step generator (#958)
* Export step generator
* Fix CodeClimate finding
2019-11-07 15:42:22 +01:00
Daniel Mieg
2e0bf3ac34 Add step to pull repository to ABAP in SAP Cloud Platform (#907) 2019-11-07 15:40:45 +01:00
Marcus Holl
2a6c075001
streamline git url retrieval (#850)
* Streamline url parsing in piperPipelineStageInit

* Remove .git appendix only once

* Improve the regex for parsing urls

now the colon for the port is contained in the port group. This increases the
understandability of the regex.

* Improve the regex for parsing the urls again

now the leading slash of the path is contained in the path group. This increases the
understandability of the regex.
2019-11-07 15:37:27 +01:00
rodibrin
4e03c81b94
Merge pull request #805 from rodibrin/harmonize-docker-arguments
harmonize docker configuration properties
2019-11-07 12:44:06 +01:00
Stengel
73b931441c Merge remote-tracking branch 'upstream/master' into harmonize-docker-arguments 2019-11-07 11:20:54 +01:00
Maximilian Lenkeit
06f63bc5de remove opa5 stash (#897)
* remove opa5 stash

* remove OPA5 test cases

* remove reference to opa5 stash
2019-11-07 11:02:27 +01:00
Marcus Holl
f4aa5fc377
Let the mocks fail if error is provided from a test (#940)
There was some command parsing with failure in case it started with fail. That is
IMO less transparent. Now we prepare more explicit with a failure from outside. This
enables us to prepare an error like we expect it in the free wild.
2019-11-07 09:02:11 +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
rodibrin
186204b37e
Merge pull request #944 from rodibrin/eclipsecomplains
Map with single parameter
2019-11-06 15:43:30 +01:00
rodibrin
620efb3d8b
Merge branch 'master' into eclipsecomplains 2019-11-06 15:42:11 +01:00
Oliver Nocon
a04489cd35
Add step spinnakerTriggerPipeline (#793) 2019-11-06 15:37:14 +01:00
rodibrin
61e9179cf8
Merge branch 'master' into eclipsecomplains 2019-11-06 15:33:43 +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
rodibrin
d50b0512a9
Merge branch 'master' into eclipsecomplains 2019-11-06 13:07:50 +01:00
Sven Merk
ee57a1e79d
Merge pull request #947 from SAP/goGithub
Add githubPublishRelease step
2019-11-06 12:33:05 +01:00
Christopher Fenner
ae221a8ea7
Merge branch 'master' into goGithub 2019-11-06 12:28:48 +01:00
Sven Merk
7205dbcdec
Merge pull request #945 from SAP/cfg-hierarchical-defaults
Add capability for hierarchical defaults in golang
2019-11-06 12:20:33 +01:00
Sven Merk
6721c59a30
Merge branch 'master' into cfg-hierarchical-defaults 2019-11-06 12:13:15 +01:00
Oliver Nocon
d385015437
Merge branch 'master' into goGithub 2019-11-06 11:29:16 +01:00
Oliver Nocon
de31cde9b8
Add PiperGoUtils for downloading piper binary (#928)
* Add PiperGoUtils for downloading piper binary

PiperGoUtils provide the link between a Jenkins library step and the library step execution running in a go binary.

It makes sure that an adequate binary is available.

* fix CodeClimate finding

* Remove Delimiter and add download resilience.
2019-11-06 11:28:10 +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
rodibrin
651683758d
Merge branch 'master' into eclipsecomplains 2019-11-06 10:29:20 +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
Stengel
84f9b262da Merge branch 'harmonize-docker-arguments' of github.com:rodibrin/jenkins-library into harmonize-docker-arguments 2019-11-06 10:09:52 +01:00
Stengel
1dbe7352c7 Merge remote-tracking branch 'upstream/master' into harmonize-docker-arguments 2019-11-06 10:02:58 +01:00
rodibrin
a0ee6357fb
Merge branch 'master' into eclipsecomplains 2019-11-06 10:00:34 +01:00
OliverNocon
deb965e2b4 Fix CodeClimate finding with generator update 2019-11-06 09:12:50 +01:00
OliverNocon
6dda86ea16 Merge branch 'goGithub' of https://github.com/SAP/jenkins-library into goGithub 2019-11-06 09:05:30 +01:00
OliverNocon
5c87d4775c Ensure asset update for latest release only 2019-11-06 09:05:07 +01:00
Oliver Nocon
147bc745af
Merge branch 'master' into cfg-hierarchical-defaults 2019-11-05 21:52:47 +01:00
Oliver Nocon
d2b2aae2da
Merge branch 'master' into goGithub 2019-11-05 21:52:19 +01:00
Marcus Holl
58128be970 apply formatter (#950) 2019-11-05 21:51:44 +01:00
Oliver Nocon
7b62775868
Merge branch 'master' into goGithub 2019-11-05 17:35:52 +01:00
OliverNocon
319066acf2 Merge branch 'goGithub' of https://github.com/SAP/jenkins-library into goGithub 2019-11-05 17:33:38 +01:00