Stephan Aßmus
942e6dd18a
Don't check for isResilient, use failOnError
2020-02-03 12:37:20 +01:00
Stephan Aßmus
6e551dfc79
Add DebugReport facility
...
The DebugReport is a global instance where steps can store information relevant for diagnosing failed pipelines. In the SDK Pipeline, this is used to generate a debug report within the postActionArchiveDebugLog step. The reason for adding this to Piper is to feed information about extended or overwritten stages in piperStageWrapper into the DebugReport, as was done before in the SDK Pipeline's equivalent runAsStage step.
2020-02-03 12:37:20 +01:00
Oliver Nocon
152c4dc9d2
Pass container image via CPE ( #1113 )
...
* Pass container image via CPE
* Update generated step
* update map name to better represent content
2020-01-29 16:03:18 +01:00
Christopher Fenner
92441577d8
fix(NPM): change NodeJS image to LTS ( #1069 )
...
* change NodeJS image to current LTS
* Update default_pipeline_environment.yml
* Update SonarExecuteScanTest.groovy
* use node:lts-stretch image
2020-01-29 11:17:56 +01:00
Sven Merk
cbe368fe36
Checkmarx as golang ( #1075 )
...
* Added base functionality for checkmarx interaction
* Extend http client with file upload capabilities
* Latest changes
* Add debug logging
* Introduce Uploader interface
* Add tests for checkmarx client
* Hook new checkmarx command
* Improve coverage
* Add tests
* Improved test coverage and fixed code
* Add influx reporting
* Add alternation capabilities
* Add groovy step
* Try fix cmd
* Enhancements
* Fix report generation
* Final performance improvements
* Fix code
* Structure code, cleanup
* Improvements
* Fix codeclimate issue
* Update groovy
* Adapt latest changes to http
* Fix test
* Fix http tests
* Fix test
* Fix test
* Fix test 2
* Fix code
* Fix code 2
* Fix code
* Code
* Fix
* Fix
* Add report and link handling
* Fix returns, add groovy test
* Review comments
* Added doc template
* Docs update
* Remove SAP internals
* Better status display
* Add name to link
* Fix test
* Fix
* Fix verbose handling
* Fix verbose handling 2
* Fix verbose handling 3
* Fix
* Tiny improvements
* Regenerate
* Fix test
* Fix test code
* Fix verbosity issue
* Fix test
* Fix test
* Fix test
2020-01-27 23:40:53 +01:00
Oliver Nocon
73ab887f25
Add kubernetesDeploy step ( #1073 )
...
* Add kubernetesDeploy step
Co-authored-by: Sven Merk <33895725+nevskrem@users.noreply.github.com>
2020-01-24 14:30:27 +01:00
Oliver Nocon
a46b57e6b4
Persisted pipeline environment for golang library ( #1091 )
...
* Use commonPipelineEnvironment in go binary
* Update groovy part incl. tests
* Rework structure and naming
* Support influx resources in steps
* Update tests and some cleanups
* Add correct defer handling
* Address PR feedback
* Fix test
* Update resources.go
Co-authored-by: Sven Merk <33895725+nevskrem@users.noreply.github.com>
2020-01-15 12:16:25 +01:00
Christopher Fenner
686235613c
fix(sonar): run sonar scan in NodeJS container ( #1078 )
...
* fix(sonar): run sonar scan in NodeJS container
* fix typo
* adapt tests
2019-12-20 10:51:33 +01:00
Christopher Fenner
68ef5393c7
chore(go): add schema for go metadata files ( #1052 )
...
* chore(go): add schema for go metadata files
* chore(go): use k8s container definition in schema
* chore(go): add reusable schema definitions
* chore(go): add further schema definitions
* docs(schema): add description how to use metadata schema
2019-12-17 12:45:53 +01:00
Daniel Mieg
23d7058fdd
Authentication via Cloud Foundry Service Key ( #1034 )
2019-12-16 21:02:30 +00:00
Oliver Nocon
7597c7d228
Add step githubCreatePullRequest ( #1068 )
...
* Add step githubCreatePullRequest
2019-12-16 16:34:12 +00:00
Oliver Nocon
4f57738888
Detect: Add golang implementation ( #1049 )
...
Add detect golang implementation
2019-12-13 09:55:45 +00:00
Marcus Holl
fac10ba8bb
Better parmeter nameing (credentialsId)
...
Ensures also backward compatibility
2019-12-12 12:41:50 +01:00
Marcus Holl
481f635e32
Adjust image pull policy property in metadata for xs deploy ( #1044 )
2019-12-09 08:41:00 +01:00
Marcus Holl
9ee2926018
xs deploy go ( #931 )
...
introduce xs deploy
2019-12-05 14:22:38 +01:00
Daniel Mieg
2ad57f3d19
Add step cloudFoundryCreateServiceKey ( #989 )
2019-12-02 14:02:51 +01:00
Christopher Fenner
d627b39ba0
fix(mta): update docker image to fix npm.sap.com ssl issue ( #1021 )
...
* fix(mta): update docker image to fix npm.sap.com ssl issue
see https://github.com/SAP/cloud-mta-build-tool/issues/611
2019-11-29 10:03:24 +01:00
Christopher Fenner
4766f102c3
fix(mta): use updated container with provided grunt-cli ( #1009 )
2019-11-28 09:10:03 +01:00
Oliver Nocon
8e29b70ea2
Fix parameters for githubPublishrelease ( #1004 )
2019-11-22 15:58:24 +01:00
Christopher Fenner
5cec21fe3b
fix: mtaBuild: avoid parameter clash ( #1001 )
...
* fix: mtaBuild: avoid parameter clash
* correct typo
* rename parameter to mtaBuildTool
2019-11-22 12:31:32 +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
Oliver Nocon
e671094308
Use piper binary for githubPublishRelease ( #990 )
...
* Use piper binary for githubPublishRelease
2019-11-21 16:34:22 +01:00
Christopher Fenner
74d6df71ef
feat: enable mtaBuild to use cloudMBT ( #970 )
...
* enable mtaBuild to use cloudMBT
* change name to cloudMbt
* change name to cloudMbt
* use v1 of cloudMBT
2019-11-21 14:56:40 +01:00
Thorsten Duda
2568316c6e
Merge branch 'master' into pr/httpsPushArtifactSetVersion
2019-11-14 11:13:47 +01:00
Christopher Fenner
a89361449e
sonarExecuteScan: update to Sonar scanner 4.2.x ( #820 )
...
* Update to Sonar scanner 4.x.x
* switch to sonar-scanner 4.2.0
2019-11-13 09:24:36 +01:00
Shanuson
8f723caa31
Fix bug and added documentation for cloudFoundryCreateService step ( #967 )
...
* fix bug with wrong plugin parameter used
* provided default value for stash-content
* added documentation for step
2019-11-12 10:29:08 +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
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
Oliver Nocon
a04489cd35
Add step spinnakerTriggerPipeline ( #793 )
2019-11-06 15:37:14 +01:00
Oliver Nocon
7b62775868
Merge branch 'master' into goGithub
2019-11-05 17:35:52 +01:00
Oliver Nocon
8587452a3c
Update resources/metadata/githubrelease.yaml
...
Co-Authored-By: Christopher Fenner <Christopher.Fenner@sap.com>
2019-11-05 17:29:05 +01:00
Maximilian Lenkeit
5dfc90f386
Make cobertura defaults compatible with UI5 ( #941 )
...
* tests(testsPublishResults): evaluate file pattern for cobertura
* tests(testsPublishResults): test for cobertura in UI5 projects
* feat(testsPublishResults): collect cobertura of UI5 projects by default
2019-11-05 15:33:18 +01:00
OliverNocon
1a034aea4c
Update parameter names
2019-11-05 15:13:04 +01:00
OliverNocon
44473666a8
Address CodeClimate findings
2019-11-05 14:46:45 +01:00
OliverNocon
50153f42c7
Add tests
2019-11-05 14:37:44 +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
Marcus Holl
5b2d3a1663
Version command for piper go ( #922 )
2019-10-31 13:57:29 +01:00
Maximilian Lenkeit
a5548ab443
Add UI5 artefacts to default stash configuration ( #896 )
...
* consider ui5.yaml as build descriptor
* add common ui5 artefacts to tests stash
2019-10-30 08:21:34 +01:00
Daniel Kurzynski
462c293c9c
User piper docker images ( #920 )
2019-10-25 17:49:54 +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
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
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
e54f18e6bc
Introduce xsDeploy step ( #749 )
...
Introduce xs deploy
2019-09-11 13:42:38 +02:00
Christopher Fenner
f3f4c741be
sonarExecuteScan: add custom certificate support ( #819 )
...
* feat(sonar): load TLS certificates
* allow verbose property
* handle whitespaces
* cleanup
* disable default verbosity on wget
* correct test file name
* add test case for custom certificates
* import StandardCharsets
* change cleanup
* correct pull-request provider name
* correct pull-request provider name
* correct pull-request provider name
2019-08-11 22:42:34 +02:00
Sven Merk
b1b480a7e1
Merge branch 'master' into whitesourceExecuteScan
2019-07-19 14:28:26 +02:00
tobiaslendle
cb245b1ce2
TMS integration ( #782 )
2019-07-18 15:06:11 +02:00
Christopher Fenner
5bf7cda940
add new step piperPublishNotifications ( #652 )
...
* add new step for notification publication
* add test cases
* add helper method
* correct import
* Update pom.xml
* add step to post section
* add step piperPublishNotifications
* move step to end of pipeline to gather all findings
* use handlePipelineStepErrors step
* use commonPipelineEnvironment
* correct reporting
* add configuration
* fix typos
* fix rule setup
* remove test scope
* add method to fetch full build log
* add methods for warnings-ng parser creation
* remove warnings plugin coding
* add default parser settings
* change parameter handling for parser creation
* adapt step
* fix parser creation
* use ParserConfig.contains
* use correct parameter name
* correct parser regex
* change issue creation
* use classloader
* fix typo
* Revert "fix typo"
This reverts commit 446a201ae44ae0bf6bcfedd17e583183ceaabfaa.
* Revert "use classloader"
This reverts commit a89648703239f8cf3da465bfa570500608dc14f2.
* rename step to piperPublishWarnings
* extract recordIssuesSettings to defaults
* make addWarningsNGParser non-static
* remove node
* adjust test case
* add docs
* rename log file
* fix tests
* fix typos
* rename parameter
* add import for IOUtils
* check plugin activation
* add comment for class loader usage
2019-07-18 12:09:54 +02:00
Sven Merk
a5170bb878
Merge branch 'master' into whitesourceExecuteScan
2019-07-18 09:50:38 +02:00