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

2132 Commits

Author SHA1 Message Date
Sven Merk
7fbf7ffdf1
Merge branch 'master' into whitesourceExecuteScan 2019-07-17 10:56:47 +02:00
Sven Merk
1d5b08f057
Update default_pipeline_environment.yml 2019-07-17 09:25:30 +02:00
Oliver Nocon
31b9874eff
githubPublishRelease - properly handle situation where no release exists yet (#792)
correct error handling to properly take care of non-existing initial release.
2019-07-16 20:31:46 +02:00
Sven Merk
2d84095b2f
Update WhitesourceExecuteScanTest.groovy 2019-07-11 11:33:34 +02:00
Sven Merk
a945823075
Merge branch 'master' into whitesourceExecuteScan 2019-07-11 10:56:47 +02:00
Sven Merk
b0eb9a7a6c
Merge pull request #783 from SAP/nevskrem-patch-1
Change WhiteSource UA download URL to new official channel
2019-07-11 10:55:13 +02:00
Andre Pany
0e990446fc whitesourceExecuteScan: Add scanType dub 2019-07-11 06:17:30 +02:00
Sven Merk
353cfa6fca
Update WhitesourceExecuteScanTest.groovy 2019-07-10 15:32:01 +02:00
Sven Merk
faed64bca9
Merge branch 'master' into nevskrem-patch-1 2019-07-10 11:41:25 +02:00
Sven Merk
e3b5586a9c
Merge pull request #785 from SAP/nevskrem-patch-2
Fix consumer test invocation
2019-07-10 11:34:23 +02:00
Sven Merk
da0c6260b8
Fix consumer test invocation 2019-07-10 11:23:24 +02:00
Sven Merk
cdc5d3dc7a
Update default_pipeline_environment.yml 2019-07-09 13:38:30 +02:00
Sven Merk
6d94fb652e
Adapt test 2019-07-09 12:16:41 +02:00
Sven Merk
215824b05f
Update default_pipeline_environment.yml 2019-07-09 12:13:28 +02:00
Oliver Nocon
225cf2485b
Docker Pipeline - fixes and small adoptions (#779)
* buildExecute: Docker case - minor fixes
* properly care for empty `containerBuildOptions`
* verbose output wrt stashing
* add stage ordinals
* fix wrong script reference
* fix null reference
* adapt stage defaults and allow bats tests
* propagate github org and repo
* add test for bats
2019-07-05 16:32:24 +02:00
andre2007
8f1b3e376c pipelineStashFiles: Add *.d, *.di (#774) 2019-07-05 15:58:22 +02:00
Christopher Fenner
4148652271
dockerExecuteOnKubernetes: hand ON_K8S env var down into container (#778)
* hand ON_K8S env var down into container

* fix Sonar findings

* add ON_K8S to SystemEnv

* remove ON_K8S handling from step
2019-07-04 13:46:27 +02:00
andre2007
fc5cf8a54f pipelineStashFiles: Add dub.json/dub.sdl to buildDescriptors (#761) 2019-07-04 11:08:32 +02:00
Sven Merk
06e546917d
Merge pull request #777 from SAP/nonSerializableException
Use GStringTemplateEngine instead of SimpleTemplateEngine
2019-07-03 15:23:54 +02:00
Sven Merk
3fa3b39ab6 Use GStringTemplateEngine instead of SimpleTemplateEngine
* avoid the use of SimpleTemplateEngine in areas that underly CPS transformation since it uses a non serializable java.io.StringWriter
2019-07-03 14:24:28 +02:00
andre2007
44f745d327 Rename dlang to dub (#762) 2019-07-03 11:27:07 +02:00
Oliver Nocon
9e539e68ee
Piper pipeline - enhance stages (#755)
* fill PRVoting stage with content
* add prVoting stage incl. tests
* add Build stage incl. Tests
* add docs pages
* add additional unit test stage
* add acceptance stage and additional documentation ...
* add release stage content
* add promote stage
* add Security stage, fix defaults for Promote stage
* fix issue in doc generation
2019-07-03 10:13:26 +02:00
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
Marcus Holl
5c3307d71b Add hasSnippet 2019-06-27 12:20:59 +02:00
Marcus Holl
f6f1e0df5a fileExists also with map 2019-06-27 11:12:53 +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