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

1958 Commits

Author SHA1 Message Date
Oliver Nocon
5bb6d59753
Add step buildExecute (#527)
This step should serve as generic entry point in pipelines for building artifacts.

Build principle: build once.

Purpose of the step:
- build using a defined build technology
- store build result for future use in testing etc.
2019-07-02 13:00:36 +02:00
Oliver Nocon
d84e81f88e merge duplicate test classes (#760) 2019-06-28 09:00:05 +02:00
Christopher Fenner
52ad001917 Update piperStageWrapper.groovy (#767) 2019-06-27 10:53:46 +02:00
Oliver Nocon
3e46254701
dockerExecuteOnKubernetes - hide sensitive information (#733)
* dockerExecuteOnKubernetes - hide yaml by default
* hide step parameters to not leak sensitive parameter values into the log
* add more details to log output
2019-06-26 08:38:47 +02:00
Marcus Holl
9330b34bb6
Merge pull request #737 from marcusholl/pr/prepareDefaultValues
prepare default values
2019-06-25 09:43:41 +02:00
Marcus Holl
ea5a3ed5ce Merge remote-tracking branch 'github/master' into HEAD 2019-06-25 08:49:30 +02:00
Christopher Fenner
93e1796455
karmaExecuteTests: fix multi module execution (#765)
* add test case for multi module execution

* fix multi module issue
2019-06-24 15:29:32 +02:00
andre2007
36c029b344 Add dubExecute step (#754)
* Add dubExecute step
* Fix test
2019-06-19 16:52:18 +02:00
Oliver Nocon
79894bb36f
Fix docker versioning with registry port (#686)
Fix issue when retrieving version via tag in `FROM` section.
We also need to consider that the registry may contain a port.

* Update DockerArtifactVersioning.groovy
* add error message for missing image tag in FROM line
2019-06-19 13:00:56 +02:00
Oliver Nocon
d66607c31a
dockerExecuteOnKubernetes - support nodeSelector (#747)
support nodeSelector to run on dedicated nodes inside the Kubernetes cluster if required.
2019-06-19 12:26:16 +02:00
Marcus Holl
dfe5374221 Add kanikoExec to docu index (#714)
was missing in mkdocs.yml
2019-06-19 11:08:09 +02:00
Oliver Nocon
bd0eaa26d3
docGenerator - fix retrieval of stage init configuration (#748) 2019-06-19 09:46:10 +02:00
Christopher Fenner
68c657b2c1
Update handlePipelineStepErrors.groovy (#743) 2019-06-17 12:23:36 +02:00
Thorsten Duda
4343891004
Merge pull request #751 from SAP/it/mtafixcodecomment
added comment to explain escaped variable
2019-06-13 17:47:05 +02:00
Thorsten Duda
ff684ea692 added comment to explain escaped variable 2019-06-13 15:33:18 +02:00
Thorsten Duda
9d955f61c0
Merge pull request #750 from SAP/pr/fixmta
Fix PATH substitution
2019-06-13 14:57:09 +02:00
Thorsten Duda
13b1611a96 Fix review comment 2019-06-13 14:06:57 +02:00
Thorsten Duda
2257762c97 Fix tests 2019-06-13 13:51:57 +02:00
Thorsten Duda
1c904b9f11 Fix PATH substitution 2019-06-13 13:33:03 +02:00
rodibrin
c138504147
Merge pull request #728 from rodibrin/reviewdoc
Project Piper Documentation - Guided Tour
2019-06-12 15:04:15 +02:00
Roland Stengel
2313a83dd6 Merge branch 'master' of github.com:SAP/jenkins-library into revdoc 2019-06-12 11:47:37 +02:00
Roland Stengel
4da85c1a56 readme.md introduction 2019-06-11 15:06:34 +02:00
Oliver Nocon
e7cbf02b8e
dockerExecuteOnKubernetes - revert #739 (#745)
stashing .git directory had negative side-effects.
Solution would be to stash `.git` folder and unstash in `dockerExecuteOnKubernetes` only if required for a dedicated scenario.
2019-06-06 17:22:25 +02:00
Christopher Fenner
a6e11e7fd3
add HaDoLint to docs (#744) 2019-06-06 13:52:20 +02:00
Roland Stengel
d9dd1dbb57 public to private git 2019-06-06 13:39:20 +02:00
Sven Merk
3afc64ce16
Merge pull request #740 from SAP/nevskrem-patch-1
Add missing compatibility for productVersion
2019-06-06 13:03:39 +02:00
Sven Merk
21e0e16bf3
Merge branch 'master' into nevskrem-patch-1 2019-06-06 12:00:38 +02:00
Oliver Nocon
09086518e3
fix tests for dockerExecuteOnKubernetes (#741)
depending on the execution order tests may fail.
This solves this issue
2019-06-05 14:00:04 +02:00
Oliver Nocon
8455761fe9
Merge branch 'master' into nevskrem-patch-1 2019-06-05 11:25:03 +02:00
Oliver Nocon
121b23fdaa
dockerExecuteOnKubernetes - stash also .git folder (#739)
Make sure that complete workspace is available in Kubernetes Pod.
So far e.g. git repository information were missing.
2019-06-05 11:24:32 +02:00
Sven Merk
0f12bc8000
Add missing compatibility for productVersion 2019-06-04 12:00:22 +02:00
Sven Merk
111080cbfe Add new step for Dockerfile linting (#723)
* Add new step for Dockerfile linting

* Add documentation template file

* Remove newlines

* Remove internal URL

* Rephrase comment

* Ammend stash

* Fix test

* move dockerImage to general

* use explicit curl options

* small changes

* small changes

* skip GIT blame

* First comments

* Also add remark to URL parameter

* Second set of comments

* Fix return code handling

* Switch type to set

* Revert unrelated changes

* Avoid modification of config

* add quality gate defaults

* Update hadolintExecute.groovy

* fix code climate issue
2019-06-04 08:01:43 +02:00
Roland Stengel
6dd2ea50d7 add reference to s4sdk 2019-06-03 11:48:43 +02:00
Marcus Holl
45a2bfc4f7 shift coding for preparing defaultValueCache into that class
rather than having it in a pipeline step.

With that we avoid going back from a class in the src folder into
a pipeline step (vars).
2019-05-31 14:26:25 +02:00
Oliver Nocon
f171f88b13
whiteSourceExecuteScan - allow passing projects via cpe (#734) 2019-05-29 13:22:16 +02:00
Oliver Nocon
309f79d5b7
bump version (#735) 2019-05-29 12:40:56 +02:00
Roland Stengel
8221dd6039 fix code climate and travis reports 2019-05-29 10:54:32 +02:00
Roland Stengel
e2256779ba fix some code climate issues 2019-05-28 18:58:19 +02:00
Roland Stengel
176c160201 review fixes 2019-05-28 18:47:31 +02:00
Roland Stengel
da502df5b7 review fixes 2019-05-28 18:18:45 +02:00
Marcus Holl
7dee57dfbf
Merge pull request #615 from marcusholl/pr/avoidHavingNeoLogFolderStringLiteralThreeTimes
Avoid having the same string literal for the neo log folder three times
2019-05-27 09:55:20 +02:00
Marcus Holl
6a551884e0 Merge remote-tracking branch 'github/master' into HEAD 2019-05-27 09:14:28 +02:00
Marcus Holl
a8648a48ef
Merge pull request #617 from marcusholl/pr/resolvePlugins
Resolve plugins
2019-05-24 16:53:11 +02:00
Marcus Holl
6d95b031ce Review feedback 2019-05-24 16:40:31 +02:00
Marcus Holl
c66a02ca68 Fix code climate issues 2019-05-24 16:18:45 +02:00
Marcus Holl
ec6e743689 Merge remote-tracking branch 'github/master' into HEAD 2019-05-24 16:14:19 +02:00
Marcus Holl
0c2ccb26b4 Advertize jenkins-master image 2019-05-24 16:12:20 +02:00
Marcus Holl
bcc2c34a87 No 'beta' anymore 2019-05-24 15:50:30 +02:00
Marcus Holl
fcc470271c More speaking name in doc wrt jenkins plugin deps 2019-05-24 15:44:31 +02:00
Marcus Holl
ca4e756317 Relocated dependency docu 2019-05-24 15:41:49 +02:00