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

795 Commits

Author SHA1 Message Date
Chris Bo
5e67c9c014
added steps to docu page (#1812) 2020-07-17 10:59:47 +02:00
Pierre Fritsch
fef38cec0a
fix(docs): typo: articale -> article (#1810) 2020-07-16 13:11:48 +02:00
Oliver Nocon
43f51ba90a
Revamp documentation generation for golang steps (#1781)
* Revamp documentation generation for golang steps

* Add and update tests

* Add tests, add step outputs

* Add tests, add step outputs

* Update rendering

* fix merge conflict

* update generated files

* Update pkg/config/stepmeta.go

* Update pkg/config/stepmeta.go

* Update pkg/generator/helper/docuHelper.go

Co-authored-by: Christopher Fenner <26137398+CCFenner@users.noreply.github.com>

* Include PR feedback

* update tests

* Fix Jenkins dependecy indication

Co-authored-by: Christopher Fenner <26137398+CCFenner@users.noreply.github.com>
2020-07-16 09:10:15 +02:00
Chris Bo
9558b47268
Introducing new step 'gctsExecuteABAPUnitTests' (#1532)
* add new step 'gctsExecuteABAPUnitTests'

* added new step entries

* small wording improvement

* regenerated

* fixed unit tests

* adjusted prerequisites

* removed telemetry

* remove command

* moved functions to http package

* newly generated

* remove commented code

* use credentials ID in config.yaml

* add supported protocols to docu

Co-authored-by: Oliver Nocon <33484802+OliverNocon@users.noreply.github.com>
2020-07-14 10:58:57 +02:00
Kevin Hudemann
fd98d6279f
Add step for end to end test execution (#1786)
This change adds the end to end test execution capabilities of the SAP
Cloud SDK pipeline, i.e., the consumer can define a npm script which is
then executed using the npmExecuteScripts step.

The handling of generated results will be provided in a follow up PR.

Co-authored-by: Daniel Kurzynski <daniel.kurzynski@sap.com>
2020-07-13 15:10:12 +02:00
MuellerHenrik
b0b7eb607c
Adapt documentation for abap pipeline (#1776)
* Adapt documentation

* Fix typo organization
2020-07-08 15:39:53 +02:00
Dominik Lendle
509607f69f
Host parameter fix (#1752) 2020-07-07 16:19:57 +02:00
Anke Ravalitera
9fbf3c9dbd
TMS_Extension.md changed (#1697)
Co-authored-by: Christopher Fenner <26137398+CCFenner@users.noreply.github.com>
Co-authored-by: Marcus Holl <marcus.holl@sap.com>
2020-07-07 15:07:24 +02:00
Daniel Mieg
42208b6774
Improve documentation for the ABAP Environment Pipeline (#1753)
* Sort sidebar alphabetically

* Add separate configuration section

* Improve Introduction to ABAP Pipeline

* Improve wording

* Remove lines at end of file

* Fix indentation

* Adapt Indentation
2020-07-07 10:06:15 +02:00
Oliver Feldmann
cd4e4eb3b4
docs: Fix old protecode host url (#1745)
* Fix old protecode host url

* Update documentation/docs/steps/protecodeExecuteScan.md

* fix trailing space

Co-authored-by: Oliver Nocon <33484802+OliverNocon@users.noreply.github.com>
Co-authored-by: Christopher Fenner <26137398+CCFenner@users.noreply.github.com>
2020-07-06 11:26:37 +02:00
Daniel Kurzynski
3b8253958e
Add documentation to scale the infrastructure with Kubernetes or Jenkins agents (#1740)
Co-authored-by: Kevin Hudemann <kevin.hudemann@sap.com>
Co-authored-by: Florian Wilhelm <florian.wilhelm02@sap.com>
2020-07-03 10:28:48 +02:00
Florian Wilhelm
ca425954f9
Update docs on js linting in Cloud SDK Pipeline (#1750) 2020-07-02 10:09:36 +02:00
MuellerHenrik
de3afe9476
Change parameters/alias for CfServiceKeyName (#1726)
* Fix alias cfServiceKeyName

* Adapt documentation

* Fix alias use in go files

Co-authored-by: Daniel Mieg <56156797+DanielMieg@users.noreply.github.com>
2020-06-30 15:46:07 +02:00
Daniel Mieg
f348c53989
Add ABAP Environment Pipeline (#1555) 2020-06-23 15:56:56 +02:00
Daniel Kurzynski
654dea4b3e
Load global extensions in setupCommonPipelineEnvironment (#1688)
Co-authored-by: Stephan Aßmus <stephan.assmus@sap.com>
Co-authored-by: Florian Wilhelm <florian.wilhelm02@sap.com>
2020-06-22 17:52:11 +02:00
Kevin Hudemann
60fa1d5bbf
Add Java-/Typescript linting capabilities (#1636)
This change adds linting support for Java-/TypeScript projects based on the checkDefaultLint and checkUserLint steps from Cloud SDK Pipeline.

Following options are supported:

1. Define a linting script named ci-lint in the package.json file(s) of the project
2. Provide a configuration for ESLint as part of the project
3. If none of the above: ESLint is executed with a general purpose configuration.

Co-authored-by: Daniel Kurzynski <daniel.kurzynski@sap.com>
2020-06-22 10:12:28 +02:00
Chris Bo
e9ad8c5e9c
Introducing new step 'gctsCloneRepository' (#1468)
* added new step gctsCloneRepository

* enhanced docu

* adjusted test case name

* enhanced docu

* refined error messages

* regenerated & remove unused Groovy imports

* small change

* remove execRunner

* Update documentation/docs/steps/gctsCloneRepository.md

* regenerated

Co-authored-by: Christopher Fenner <26137398+CCFenner@users.noreply.github.com>
Co-authored-by: Oliver Nocon <33484802+OliverNocon@users.noreply.github.com>
2020-06-18 07:45:22 +02:00
Florian Wilhelm
1d3bd11621
Adapt mavenExecute example call to new api (#1672)
The old one won't work
2020-06-16 12:43:40 +02:00
Marcus Holl
7a132206a9
transport request upload file: Short notice about not working CTS upload (#1631)
Co-authored-by: Thorsten Duda <thorsten.duda@sap.com>
2020-06-16 08:13:49 +02:00
Florian Wilhelm
4295f7a24e
Restore alphabetical order of docs (#1643) 2020-06-09 09:05:28 +02:00
Florian Wilhelm
edef158e61
Document new npmExecuteScripts and mavenBuild steps (#1632) 2020-06-09 08:46:54 +02:00
Stephan Aßmus
56699ab019
Run artifactPrepareVersion in maven container if necessary (#1634)
* The metadata for artifactPrepareVersion-go specifies a container for when the buildTool is maven.
* The alias to 'mavenExecute' was removed. The problem with this is that when a section containers is included in the metadata, dockerImage will always be picked up from mavenExecute, the conditional dependency on buildTool will not even be considered. Parameters such as m2Path, projectSettingsFile and globalSettingsFile should be configured in general/maven if necessary.
* When the step ends up being executed within dockerExecuteOnKubernetes, we need to preserve the .git folder. This folder would normally be excluded by the default excludes of the stash step. There was already a comment that suppressing this behavior by passing useDefaultExcludes: false was problematic (unfortunately without going into details), so I've added a new parameter to dockerExecute and dockerExecuteOnKubernetes named stashNoDefaultExcludes (note the reverted meaning to ease preserving the default behavior when this parameter is not provided). This parameter is passed to piperExecuteBin from the artifactPreferVersion groovy wrapper.
2020-06-08 17:08:05 +02:00
Srinikitha Kondreddy
c2de96ab43
Fix credential parameter in the docu (#1597)
Co-authored-by: Christopher Fenner <26137398+CCFenner@users.noreply.github.com>
2020-06-02 10:04:56 +02:00
Daniel Kurzynski
aa5566d8af
Add fortify docs (#1598)
Co-authored-by: Stephan Aßmus <stephan.assmus@sap.com>
2020-05-27 13:36:40 +02:00
Sven Merk
af2a01c064
Fortify implementation in golang (#1428) 2020-05-25 19:48:59 +02:00
Florian Wilhelm
620681f0ff
Fix typo in docs (#1586) 2020-05-25 15:12:47 +02:00
Chris Bo
abdc3f736b
Introducing new step 'gctsDeployCommit' (#1476)
* added new step gctsDeployCommit

* suggested PR fixes applied

* fixed test

* Remove unused imports

Co-authored-by: Christopher Fenner <26137398+CCFenner@users.noreply.github.com>

* added URL encoding for 'request' parameter

* regenerate after change

* minor changes

* renamed step to 'gctsDeploy'

* changed name

* remove space

Co-authored-by: Christopher Fenner <26137398+CCFenner@users.noreply.github.com>

Co-authored-by: Christopher Fenner <26137398+CCFenner@users.noreply.github.com>
Co-authored-by: Oliver Nocon <33484802+OliverNocon@users.noreply.github.com>
2020-05-18 21:39:35 +02:00
Dominik Lendle
4a82eb5aaa
Docu changes to abapEnvironmentRunATCCheck step (#1557)
* minor changes

* minor changes

* minor changes

* minor changes

* minor changes

* minor changes

* minor changes

* minor changes

* minor changes

* Changed yaml aliases

* Adapted naming conventions

* Removed error code at the end

* Adapted configuration

* Minor changes

* Minor changes

* Minor changes

* Removed spaces

* Removed docker-related config from groovy file

* Minor changes

* Minor changes

* Removed container config

* Corrected testing function name

* Deleted unnecessary parts

* Changed service deletion message

* Changed service deletion message

* Logging out before throwing error service deletion step fails

* Minor changes

* Minor changes

* Minor changes

* Delete .DS_Store

* Delete .DS_Store

* Delete .DS_Store

* Delete .DS_Store

* Minor changes

* Minor changes

* Minor changes

* Added newline at end of file

* Added newline at end of file

* Changes for Pull request optimization

* added documentaion

* Adapted documentation

* Adapted documentation

* Adapted documentation

* Adapted documentation

* Adapted documentation

* Added CFDeleteServiceKeys

* Added ServiceKey deletion tests

* added cfServiceKeys flag explanation to documentation

* removed trailing spaces from documentation

* resolving conflicts

* Changed deletion message an variable naming

* Changed tests

* Changed tests

* Changed tests

* Changed tests

* Changed CloudFoundryDeleteServiceOptions to options

* Changed CloudFoundryDeleteServiceOptions to options

* Minor changes

* Minor changes

* Changed variable naming

* Changed error handling

* Changed error handling and logging

* Changed documentation

* Simplified code

* Fixed CodeClimate issues

* Changed from returning err to nil where no errur returned needed

* Add cloudFoundryCreateServiceKey Go Step

* Changed Groovy File

* Changed aliases

* Removed unneccessary parts

* Minor changes

* Minor changes

* Adapted documentation

* Adapted tests

* Adapted Groovy File

* Changed Groovy file

* Minor changes

* Minor changes

* Minor changes

* Minor changes

* Minor changes

* Minor changes

* Minor changes

* Minor changes

* Minor changes

* Minor changes

* Minor changes

* Minor changes

* Minor changes

* Minor changes

* Minor changes

* Minor changes

* Minor changes

* Minor changes

* Minor changes

* Minor changes

* Removed Groovy Tests for cfCreateServiceKey

* Minor changes

* Added ATC Check YAML

* Added ATC Check generated files

* Added test class

* Added abapEnvironmentRunATCCheck

* Minor changes

* Minor changes

* Changed groovy

* Minor changes

* Changed groovy

* Changed groovy

* Minor changes

* Adapted Groovy imports

* Adapted Groovy imports

* Adapted Groovy imports

* Adapted Groovy

* Getting ATC results

* Changed error message

* changed groovy

* removed trailing spaces

* Added login check

* Minor changes

* Added step to whitelistScriptReference

* Added ATC error message handling

* Added groovy file

* Added step to groovy tests

* corrected metadata file

* Debugging

* Debugging

* Added yaml config parameter for ATC run

* Adapted file location of ATC run config to jenkins specific location

* Implementing universal pipeline logic for finding yaml config regardless of pipeline

* Changed error handling for reading config yaml file

* Changed atcrunconfig alias

* minor changes

* Minor changes

* Minor changes

* Changed back to dynamic file reading

* Minor changes

* filepath changes

* Removing CF Login

* Minor changes

* Minor changes

* Minor changes

* Minor changes

* Minor changes

* Minor changes

* Removed whitespaces

* Added CF functions unit tests

* Added invalid parameter handling

* Removed package and SC flag

* Minor changes

* Changed tests

* Changed tests

* Changed tests

* Minor changes

* Changed tests

* removed unnecessary logout

* Added documentation

* Changed docu

* Changed docu

* Changed docu

* Changed docu

* Changed docu

* Changed docu

* Changed docu

* Changed docu

* Changed docu

* Changed docu

* Removed trailing spaces

* Added newline at end of file

* code climate fixes

* code climate fixes

* code climate fixes

* Minor changes

* Minor changes

* Minor changes

* Changed tests

* Test changes

* Splitted Cloud Foundry functions into two classes

* Removed two steps from whtielistScriptReference

* removed atcrunConfig alias

* issue fixes

* Changed docu

* Changed docu

* Changed docu

* Removed trailing spaced from docu

* Changed docu

* Go generator run

* Issue fixes

* Remove unnecessary imports

Co-authored-by: Christopher Fenner <26137398+CCFenner@users.noreply.github.com>

* Update whitelistScript

Co-authored-by: Christopher Fenner <26137398+CCFenner@users.noreply.github.com>

* Adding piperutils for writing xml file

* Persisting ATC Results with piperutils

* Set failonMissingReports to true

* Refactoring for CodeClimate

* Changed result file name

* Changed credentials aliases

* changing secret name

* Removing trailing spaces

* Added secret name and alias to docu

* Docu changes

* CodeClimate fixes

* Minor docu changes

* Correct syntax highlighting

Co-authored-by: Oliver Nocon <33484802+OliverNocon@users.noreply.github.com>
Co-authored-by: Christopher Fenner <26137398+CCFenner@users.noreply.github.com>
Co-authored-by: Daniel Mieg <daniel.mieg@sap.com>
2020-05-18 12:49:52 +02:00
Daniel Mieg
00149b27d7
Improve documentation of abapEnvironmentPullGitRepo (#1559)
Co-authored-by: Oliver Nocon <33484802+OliverNocon@users.noreply.github.com>
2020-05-18 09:44:15 +02:00
Daniel Mieg
194d711e84
Adapt config for abapEnvironmentPullGitRepo, cloudFoundryCreateServiceKey and cloudFoundryDeleteService (#1520)
* Enable multiple repositories

* Improve readability

* Adapt documentation

* rerun generator

* Add initial info line

* Improve logging

* Enable configuration in GENERAL section

* Adapt yml abapEnvironmentPullGitRepo

* Add aliases for crendetialsId

* Change order of credentialsId aliases

* Change prio of different names of credentialsId

* Add docu to sidebar
2020-05-14 14:48:12 +02:00
dominiklendle
ac732b3065
Add abapEnvironmentRunATCCheck step (#1454)
* Minor changes

* Changed groovy file

* Changed generated file

* Changed yaml with container config

* Changed groovy config

* minor changes

* minor changes

* Changed yaml with aliases

* minor changes

* minor changes

* minor changes

* minor changes

* minor changes

* minor changes

* minor changes

* minor changes

* minor changes

* minor changes

* Changed yaml aliases

* Adapted naming conventions

* Removed error code at the end

* Adapted configuration

* Minor changes

* Minor changes

* Minor changes

* Removed spaces

* Removed docker-related config from groovy file

* Minor changes

* Minor changes

* Removed container config

* Corrected testing function name

* Deleted unnecessary parts

* Changed service deletion message

* Changed service deletion message

* Logging out before throwing error service deletion step fails

* Minor changes

* Minor changes

* Minor changes

* Delete .DS_Store

* Delete .DS_Store

* Delete .DS_Store

* Delete .DS_Store

* Minor changes

* Minor changes

* Minor changes

* Added newline at end of file

* Added newline at end of file

* Changes for Pull request optimization

* added documentaion

* Adapted documentation

* Adapted documentation

* Adapted documentation

* Adapted documentation

* Adapted documentation

* Added CFDeleteServiceKeys

* Added ServiceKey deletion tests

* added cfServiceKeys flag explanation to documentation

* removed trailing spaces from documentation

* resolving conflicts

* Changed deletion message an variable naming

* Changed tests

* Changed tests

* Changed tests

* Changed tests

* Changed CloudFoundryDeleteServiceOptions to options

* Changed CloudFoundryDeleteServiceOptions to options

* Minor changes

* Minor changes

* Changed variable naming

* Changed error handling

* Changed error handling and logging

* Changed documentation

* Simplified code

* Fixed CodeClimate issues

* Changed from returning err to nil where no errur returned needed

* Add cloudFoundryCreateServiceKey Go Step

* Changed Groovy File

* Changed aliases

* Removed unneccessary parts

* Minor changes

* Minor changes

* Adapted documentation

* Adapted tests

* Adapted Groovy File

* Changed Groovy file

* Minor changes

* Minor changes

* Minor changes

* Minor changes

* Minor changes

* Minor changes

* Minor changes

* Minor changes

* Minor changes

* Minor changes

* Minor changes

* Minor changes

* Minor changes

* Minor changes

* Minor changes

* Minor changes

* Minor changes

* Minor changes

* Minor changes

* Minor changes

* Removed Groovy Tests for cfCreateServiceKey

* Minor changes

* Added ATC Check YAML

* Added ATC Check generated files

* Added test class

* Added abapEnvironmentRunATCCheck

* Minor changes

* Minor changes

* Changed groovy

* Minor changes

* Changed groovy

* Changed groovy

* Minor changes

* Adapted Groovy imports

* Adapted Groovy imports

* Adapted Groovy imports

* Adapted Groovy

* Getting ATC results

* Changed error message

* changed groovy

* removed trailing spaces

* Added login check

* Minor changes

* Added step to whitelistScriptReference

* Added ATC error message handling

* Added groovy file

* Added step to groovy tests

* corrected metadata file

* Debugging

* Debugging

* Added yaml config parameter for ATC run

* Adapted file location of ATC run config to jenkins specific location

* Implementing universal pipeline logic for finding yaml config regardless of pipeline

* Changed error handling for reading config yaml file

* Changed atcrunconfig alias

* minor changes

* Minor changes

* Minor changes

* Changed back to dynamic file reading

* Minor changes

* filepath changes

* Removing CF Login

* Minor changes

* Minor changes

* Minor changes

* Minor changes

* Minor changes

* Minor changes

* Removed whitespaces

* Added CF functions unit tests

* Added invalid parameter handling

* Removed package and SC flag

* Minor changes

* Changed tests

* Changed tests

* Changed tests

* Minor changes

* Changed tests

* removed unnecessary logout

* Added documentation

* Changed docu

* Changed docu

* Changed docu

* Changed docu

* Changed docu

* Changed docu

* Changed docu

* Changed docu

* Changed docu

* Changed docu

* Removed trailing spaces

* Added newline at end of file

* code climate fixes

* code climate fixes

* code climate fixes

* Minor changes

* Minor changes

* Minor changes

* Changed tests

* Test changes

* Splitted Cloud Foundry functions into two classes

* Removed two steps from whtielistScriptReference

* removed atcrunConfig alias

* issue fixes

* Changed docu

* Changed docu

* Changed docu

* Removed trailing spaced from docu

* Changed docu

* Go generator run

* Issue fixes

* Remove unnecessary imports

Co-authored-by: Christopher Fenner <26137398+CCFenner@users.noreply.github.com>

* Update whitelistScript

Co-authored-by: Christopher Fenner <26137398+CCFenner@users.noreply.github.com>

* Adding piperutils for writing xml file

* Persisting ATC Results with piperutils

* Set failonMissingReports to true

* Refactoring for CodeClimate

* Changed result file name

* Changed credentials aliases

* changing secret name

* Removing trailing spaces

* Added secret name and alias to docu

Co-authored-by: Oliver Nocon <33484802+OliverNocon@users.noreply.github.com>
Co-authored-by: Christopher Fenner <26137398+CCFenner@users.noreply.github.com>
2020-05-13 14:51:48 +02:00
Kevin Hudemann
d7985dd1b5
Enable use of customDefaults from Project Config also in Groovy (#1521)
This change enables the setupCommonPipelineEnvironment step to handle
custom default configurations defined in customDefaults parameter of the
project configuration.

Previously, only the getConfig Go step was able to incorporate custom
default configurations.

Update documentation on custom defaults and sharing between projects.

Co-authored-by: Stephan Aßmus <stephan.assmus@sap.com>
2020-05-12 13:50:18 +02:00
Florian Wilhelm
b51230139a
Improve docs on new mavenExecute api (#1525) 2020-05-11 13:52:42 +02:00
Daniel Mieg
02ede6d28b
feat!: Mass enable abapEnvironmentPullGitRepo (#1516)
* Enable multiple repositories

* Improve readability

* Adapt documentation

* rerun generator

* Add initial info line

* Improve logging
2020-05-07 15:51:11 +02:00
Florian Wilhelm
eaf5479e9c
Fix maven parameter handling (#1493)
Avoid maven error `Unknown lifecycle phase \"-\"` when the value of a define contains `-`.

Don't split and trim maven arguments. Expect they come in as a list, keep them as list.

This is a breaking change compared to the old Groovy implementation which relied on using a shell for calling maven.

As an example, consider this diff:

```diff
-        goals: 'org.apache.maven.plugins:maven-help-plugin:3.1.0:evaluate',
-        defines: "-Dexpression=$pomPathExpression -DforceStdout -q",
+        goals: ['org.apache.maven.plugins:maven-help-plugin:3.1.0:evaluate'],
+        defines: ["-Dexpression=$pomPathExpression", "-DforceStdout", "-q"],
```
2020-05-06 17:43:32 +02:00
Christopher Fenner
d18f4a8ff0
docs: correct protecode sample (#1507) 2020-05-05 16:32:17 +02:00
Florian Wilhelm
0c75bfa944
Fix broken links in docs (#1505)
Co-authored-by: Christopher Fenner <26137398+CCFenner@users.noreply.github.com>
2020-05-05 09:00:09 +02:00
Marcus Holl
30850aec2d
Add groovy wrapper for malwarescanning (#1403) 2020-04-30 11:14:14 +02:00
Chris Bo
6c32df0b89
Minor improvements to gctsCreateRepository step docu and metadata (#1469)
* fix docu

* enhanced step docu and metadata

* regenerate after changing metadata

* small wording change

Co-authored-by: Marcus Holl <marcus.holl@sap.com>
2020-04-29 16:21:55 +02:00
dominiklendle
b8eaa47230
Removing JSON config for Service Key Creation as in-line parameter (#1434)
* Issue fixes

* Removed Logging
2020-04-29 13:11:06 +02:00
Florian Wilhelm
ba086f1e9d
Bootstrap documentation for Piper-NG CLI/GH Action (#1448) 2020-04-28 09:28:34 +02:00
Thorsten Duda
0fc5cbcd9c
adapt UI5 scenario docu (#1336) 2020-04-27 13:14:57 +02:00
Thorsten Duda
1235521553
Fixing Link to tmsUpload Step (#1433)
* Fixing Link to tmsUpload Step

* Using relative path
2020-04-27 13:08:56 +02:00
charly-lemee
0bba8f3d79
docs: fix typo in headline Prerequsites (#1461)
* fix: typo `Prerequsites`

* fix code climate finding

Co-authored-by: Christopher Fenner <26137398+CCFenner@users.noreply.github.com>
2020-04-26 19:50:39 +02:00
Chris Bo
fb4cfd84ec
Introducing new step: "gctsCreateRepository" (#1424)
With the step gctsCreateRepository it is possible to create a local gCTS repository on an ABAP server

Co-authored-by: Marcus Holl <marcus.holl@sap.com>
2020-04-24 15:31:41 +02:00
Arthur Lenz
b335387eac
feat(k8s): Add basic support for Helm 3 in kubernetesDeploy step (#1438)
* Extends kubernetesDeploy step to support Helm 3

Currently, the kubernetesDeploy step has no support to Helm 3 due to the fact that:
- the initialization command used works only for Helm 2
- the image used when running the helm CLI is based on Helm 2

The need for Helm 3 support comes from the fact that Helm 3 introduces major architectural changes,
more specifically, the removal of its server-side agent called Tiller - thus, being incompatible with
one another.

This commit adds this support by introducing a new configuration field (helmVersion).
By default, its values is set to 2 (Helm 2) to avoid breaking any existing functionalities.

* Use deployTool field to decide between Helm 2 or 3

* Remove helm init and replace wait for atomic in v3

* Update cmd/kubernetesDeploy.go

Nice catch!

Co-Authored-By: Christopher Fenner <26137398+CCFenner@users.noreply.github.com>

* Add documentation for kubernetesDeploy step

* Add helm3 example for kubernetesDeploy step using mandatory fields

* Add new line at the end of kubernetesDeploy documentation

* Link kubernetesDeploy step with docs generator

* Add possible values for deployTool in kubernetesDeploy

* dummy change

* Revert "dummy change"

Co-authored-by: Oliver Nocon <33484802+OliverNocon@users.noreply.github.com>
Co-authored-by: Christopher Fenner <26137398+CCFenner@users.noreply.github.com>
2020-04-24 09:37:11 +02:00
Daniel Kurzynski
689976c892
Document mavenBuild (#1439) 2020-04-22 16:43:10 +02:00
Daniel Kurzynski
a37ef48570
Document new identifier (#1392) 2020-04-22 11:25:51 +02:00
Christopher Fenner
171a063590
chore: add gh-action to generate docs (#1386)
* add workflow to generate docs

* Update documentation.yaml

* Update createDocu.sh

* add caching

* fix c&p error

* Update documentation.yaml

* Update documentation.yaml

* remove docs build from travis

* activate workflow for PRs
2020-04-17 17:44:31 +02:00
Kevin Hudemann
462a403d5c
Add documentation for the lint stage of Cloud SDK Pipeline (#1384)
This change adds documentation for the new behavior and capabilities of
the lint stage of the Cloud SDK Pipeline.
2020-04-14 10:18:07 +02:00
Oliver Nocon
ef99f710ae
artifactPrepareVersion: documentation (#1365)
* artifactPrepareVersion: documentation

* Fix CodeClimate finding

* Update generated file

* Update versioning.yaml

* Update docs wrt PR 1374

* update generated step

* Update resources/metadata/versioning.yaml

Co-Authored-By: Christopher Fenner <26137398+CCFenner@users.noreply.github.com>

* Update resources/metadata/versioning.yaml

Co-Authored-By: Christopher Fenner <26137398+CCFenner@users.noreply.github.com>

* update generated file

Co-authored-by: Christopher Fenner <26137398+CCFenner@users.noreply.github.com>
2020-04-08 09:28:03 +02:00
Stephan Aßmus
7dbf3ba5bf
Generate documentation for nexusUpload (#1356) 2020-04-01 23:48:51 +02:00
Dominik Lendle
5fba815fe8
Transformation of cfCreateServiceKey to Golang (#1253) 2020-04-01 11:45:31 +02:00
Srinikitha Kondreddy
27286deb59
Add env variable to control execution of extensions in project repo. (#1326)
* Introduce new env variable to restrict extension files exec

* Add docu on restricting exec of extension files

* Update documentation/docs/extensibility.md

Co-Authored-By: Christopher Fenner <26137398+CCFenner@users.noreply.github.com>

* Rename parameter

* Update documentation/docs/extensibility.md

Co-Authored-By: Christopher Fenner <26137398+CCFenner@users.noreply.github.com>

* Add test for restricting extensions exec

* Fix additional tests

* extract condition

* use binding for env vars

* mock env binding

* Update piperStageWrapper.groovy

🙄

Co-authored-by: Christopher Fenner <26137398+CCFenner@users.noreply.github.com>
Co-authored-by: Marcus Holl <marcus.holl@sap.com>
2020-03-31 12:51:34 +02:00
Marcus Holl
0e82c22215
failfast in case the test are failing (#1342)
Co-authored-by: Florian Geckeler <43751896+fgeckeler@users.noreply.github.com>
2020-03-31 12:24:14 +02:00
Florian Geckeler
bb72c38413
Add documentation for mavenExecuteStaticCodeChecks groovy part (#1339)
* Add documentation for mavenExecuteStaticCodeChecks groovy part

* Add import

* Remove wrong default

* Add markdown file

* Add mkdocs

* Update vars/mavenExecuteStaticCodeChecks.groovy

Co-Authored-By: Daniel Kurzynski <daniel.kurzynski@sap.com>

* remove import

* remove import

Co-authored-by: Daniel Kurzynski <daniel.kurzynski@sap.com>
2020-03-31 11:29:44 +02:00
Stephan Aßmus
20b65d5a2e
Implement nexusUpload command and tests (#1255)
Artifacts to upload are assembled for MTA projects and Maven projects with optional application sub-module. Then maven deploy:deploy-file is used as backend to upload bundles of artifacts plus sub-artifacts.

Co-authored-by: Florian Wilhelm <florian.wilhelm02@sap.com>
2020-03-20 18:20:52 +01:00
Oliver Nocon
622d559eae
Add ServiceKey deletion to cloudFoundryDeleteService step (#1177) 2020-03-05 15:35:43 +01:00
Sven Merk
507bf3f98d
Update handlePipelineStepErrors.md (#1247) 2020-03-05 10:19:02 +01:00
Christoph Szymanski
b4de8f2950
Fix documentation for XSA (#1189)
Co-authored-by: SarahNoack <44202907+SarahNoack@users.noreply.github.com>
Co-authored-by: Marcus Holl <marcus.holl@sap.com>
2020-02-28 09:08:56 +01:00
Daniel Kurzynski
c87c72ca7b
Document new sdk config location (#1228) 2020-02-27 10:36:04 +01:00
Marcus Holl
79475732f9
Upload to transport request scenario (#855)
Co-authored-by: Christoph Szymanski <spamerella@gmx.de>
Co-authored-by: SarahNoack <44202907+SarahNoack@users.noreply.github.com>
2020-02-21 16:16:15 +01:00
Florian Wilhelm
68295714ad
Add a link to Jenkins declarative pipeline docs (#1194) 2020-02-21 14:10:11 +01:00
Florian Wilhelm
1b6781c1e9
Move docs of Cloud SDK Pipeline (#1167) 2020-02-18 17:51:44 +01:00
Marcus Holl
444e664142
Remove reference to outdated neoHome setting (#1180)
Remove referencex to outdated neoHome setting
2020-02-17 10:52:05 +01:00
Florian Wilhelm
e65515fbe9
Fix broken link (#1186) 2020-02-17 09:18:36 +01:00
Florian Wilhelm
7bd76a97a4
Document how pipelines can be more flexible 2020-02-14 17:10:53 +01:00
Oliver Nocon
d5bc8db50e
Add missing pages to documentation (#1172)
* Create spinnakerTriggerPipeline.md
* Update mkdocs.yml
2020-02-12 08:53:32 +01:00
dominiklendle
2007a94174
Add step cloudFoundryDeleteService (#1097) 2020-02-10 14:53:12 +01:00
redehnroV
2ebf2010b7
Protecode as GoLang (#1119)
* Protecode as go implementation

Co-authored-by: Sven Merk <33895725+nevskrem@users.noreply.github.com>
Co-authored-by: Oliver Nocon <33484802+OliverNocon@users.noreply.github.com>
2020-02-06 16:16:34 +01:00
Daniel Mieg
6f0bde154b
Go implementation for abapEnvironmentPullGitRepo() (#1107) 2020-02-04 11:43:27 +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
RainerHimmeroeder
188686f5a7 add step materializeLogFile to jenkins library (#1046) 2019-12-16 21:09:25 +00:00
Daniel Mieg
23d7058fdd Authentication via Cloud Foundry Service Key (#1034) 2019-12-16 21:02:30 +00:00
Daniel Mieg
fa75c1ce1c Improve documentation for cloudFoundryCreateServiceKey (#1059)
* Improve documentation for cfCreateServiceKey
* Add service instance to prerequisites
2019-12-16 20:44:15 +00:00
Thorsten Duda
7b6a7a051c
Merge branch 'master' into xsa-docu-patch 2019-12-13 09:00:43 +01:00
Stengel
7c1d0a742f Merge remote-tracking branch 'upstream/master' into J365 2019-12-12 11:02:10 +01:00
Thorsten Duda
04177c8b1a
Add XSA scenario in navigation 2019-12-12 08:16:22 +01:00
Stengel
892c20be3a code climate 2019-12-10 12:19:18 +01:00
Roland Stengel
8b16e665b6
Apply suggestions from code review 2019-12-10 11:25:56 +01:00
Roland Stengel
a80177f259
Apply suggestions from code review
Co-Authored-By: SarahNoack <44202907+SarahNoack@users.noreply.github.com>
2019-12-10 11:21:38 +01:00
Stengel
cf53772af6 Change title of guided tour: PR800 once 2019-12-09 15:48:36 +01:00
Stengel
2defe65e87 Use Multibranch pipeline job type in guided tour 2019-12-09 15:39:00 +01:00
Roland Stengel
548b7781ec
Update documentation/docs/customjenkins.md
Co-Authored-By: Thorsten Duda <thorsten.duda@sap.com>
2019-12-09 10:10:37 +01:00
Florian Wilhelm
3caab5e10c
Recommend Multibranch pipeline job type in guided tour (#1041) 2019-12-06 09:54:43 +01:00
Thorsten Duda
09bf1fef96
Merge branch 'master' into J365 2019-12-06 08:51:20 +01:00
Stengel
4ba3928599 fix some codeclimate issues 2019-12-03 16:49:11 +01:00
Stengel
51375edc6f Apply suggestions from code review II 2019-12-03 16:26:35 +01:00
Roland Stengel
e6db069f62
Apply suggestions from code review
Co-Authored-By: SarahNoack <44202907+SarahNoack@users.noreply.github.com>
2019-12-03 16:11:07 +01:00
Stengel
470c8e1eb1 PCDES-365 - Describe Piper usage without cx-server
integrate into guided tour/mkdocs
remove static plugin list
2019-12-02 14:53:34 +01:00
Stengel
1c316dd44a PCDES-365 - Describe Piper usage without cx-server
Documentation only.
2019-12-02 14:26:16 +01:00
Daniel Mieg
2ad57f3d19 Add step cloudFoundryCreateServiceKey (#989) 2019-12-02 14:02:51 +01:00
Shanuson
77cd7e1025 Add link of step cloudFoundryCreateService to docu sidebar (#991) 2019-11-21 08:27:06 +01:00
Marius Lichtblau
62321e5ac4 Fix broken links in scenario documentation (#993)
Fixes broken links
2019-11-21 08:24:17 +01:00
Christoph Szymanski
b6e8987a31
Improve Documentation of fioriOnCloudPlatformPipeline
Feedback from @derGuteWolf : It's not obvious what fioriOnCloudPlatformPipeline actually does without looking into the source code.
2019-11-18 09:45:50 +01:00
Daniel Mieg
cac595b4bb Use credentialsId in step abapEnvironmentPullGitRepo (#974)
* Add option for credentialsId
* Remove mandatory username and password
* Add null checks
2019-11-12 17:40:59 +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
Oliver Nocon
da0935c0e5
Patch Urls (#929)
* Patch Urls
* fix test
2019-11-11 17:40:23 +01:00
Sven Merk
4e9fef433a
Update createDocu.groovy 2019-11-11 10:44:03 +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
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
Thorsten Duda
6604a82eb1 remove double scenarios entry 2019-10-28 16:47:57 +01:00
Thorsten Duda
800eeffeae remove double navigation entry 2019-10-28 13:56:11 +01:00
Irina Kirilova
2f00e36682 correct typos in xsDeploy documentation (#921) 2019-10-28 12:05:52 +01:00
Daniel Kurzynski
462c293c9c User piper docker images (#920) 2019-10-25 17:49:54 +02:00
Christoph Szymanski
77e9b04e69 Document MTA (Java) Deployment Limitation (#854)
* Update neoDeploy.md

* Clarification + hint to trial limitation

* Mention Java explicitly

* Fix typo

* DeployMode MTA --> mta

according to other parts of the docu and according to the source code,
the deploy mode is in lower case.
2019-10-24 16:35:11 +02:00
Marcus Holl
945599c109
docu xsdeploy scenario (#840) 2019-10-23 11:03:17 +02:00
Marcus Holl
1a34d679d4
cm scenario: mta and node only required in case we are not running in… (#889)
* cm scenario: mta and node only required in case we are not running in a docker enviroment

* Update documentation/docs/scenarios/changeManagement.md

Co-Authored-By: SarahNoack <44202907+SarahNoack@users.noreply.github.com>

* Update documentation/docs/scenarios/changeManagement.md

Co-Authored-By: SarahNoack <44202907+SarahNoack@users.noreply.github.com>
2019-10-01 11:24:07 +02:00
Marcus Holl
afb33f78c7
cm client only required in case we are not running via docker (#890) 2019-09-30 12:54:16 +02:00
Marcus Holl
61a91b5f25
Add containerPushToRegistry to docu index (#862) 2019-09-25 11:00:35 +02:00
Marcus Holl
96365d29f7
Add buildExecute to docu index. (#860) 2019-09-25 08:55:51 +02:00
Florian Wilhelm
e041f45183
Streamline documentation to reflect project "piper" (#875) 2019-09-19 14:17:41 +02:00
Sarah Noack
1c8ba63053 Change node decription 2019-09-19 09:47:03 +02:00
Sarah Noack
a0bdc4f4c9 Add description in Jenkinsfile section 2019-09-18 14:56:41 +02:00
Sarah Noack
f5ff55e3df minor language editing 2019-09-18 14:15:02 +02:00
Sarah Noack
54cbc403c0 Add SAP Cloud Platform Transport Management scenario 2019-09-18 13:46:40 +02:00
Marcus Holl
e54f18e6bc
Introduce xsDeploy step (#749)
Introduce xs deploy
2019-09-11 13:42:38 +02:00
Marcus Holl
f199d79ca9
replace absolute links inside docu with relative links for ui5-sapcp scenario (#867) 2019-09-09 10:16:02 +02:00
Marcus Holl
6f8cd0f88c
more output from generator (#868) 2019-09-09 09:34:21 +02:00
TheFonz2017
41dcebb3a5 Variable Substitution in YAML Files (#852)
* Changes:
- New YamlSubstituteVariables step to substitute variables in YAML files with values from another YAML
- New Tests, that check the different substitution patterns.
- Added test resources, including various manifest and variables files.
- Improved usage of JenkinsLoggingRule
- Improved JenkinsReadYamlRule to properly reflect the mocked library's behaviour.
- Added a new JenkinsWriteYamlRule.

* Changes:
- added a Logger that checks a config.verbose flag before it logs debug messages.
- changed error handling to rethrow Yaml parsing exception in case of wrongly-formatted Yaml files.
- changed JenkinsWriteYamlRule to capture Yaml file details of every invocation of writeYaml. This allows sanity checks at end of tests, even if there were multiple invocations.
- adjusted tests.

* Changes:
- Removed javadoc-code blocks from API documentation since they are not supported.
- Removed skipDeletion boolean.
- Added a new deleteFile script which deletes a file if present.
- Added a new JenkinsDeleteFileRule to mock deleteFile script and optionally skip deletion for tests.
- Adjusted yamlSubstituteVariables script.
- Adjusted tests to include new JenkinsDeleteFileRule.
- Changed code that deletes an already existing output file to produce better logs.

* Changes:
- Turned yamlSubstituteVariables into a script that works purely based on Yaml data (not files).
- Added a new cfManifestSubstituteVariables that uses yamlSubstituteVariables under the hood but works based on files.
- Adjusted tests, and added new ones.

* Adjusted documentation and a few log statements.

* Changed documentation to no longer include javadoc code statements.

* Made mocking of deletion of a file a default. Adjusted tests.

* Changed signature of yamlSubstituteVariables' call method to return void.

* Changes:
- Fixed naming issues in deleteFile.
- Renamed Logger to DebugHelper.
- Fixed some documentation.

* Changed implementation of deleteFile not to use java.io.File - which is evil when using it for file operations.

* PROPERLY Changed implementation of deleteFile not to use java.io.File - which is evil when using it for file operations.

* Changes:
- Added tests for deleteFile script
- Changed JenkinsFileExistsRule to also keep track of which files have been queried for existence.

* Changes:
- Removed java.io.File usage from cfManifestSubstituteVariables and using fileExists instead now.
- Adjusted tests.

* Wrapped file path inside ticks to allow spaces in file path when calling deleteFile.

* Removed null checks of mandatory parameters, and resorted to ConfigurationHelper.withMandatoryProperty

* Fixed a NullPointer due to weird Jenkins / Groovy behaviour.

* Changes:
- Turned yamlSubstituteVariables step into a utils class.
- Added tests
- Adjusted cfManifestSubstituteVariables to use utils class instead of step.
- Adjusted tests
- Adjusted APIs of DebugHelper.

* Re-introduced log statement that shows what variables are being replaced and with what.

* Changing API of YamlUtils to take the script and config as input.

* Test

* Test

* Test

* Test

* Test

* Fixing issue.

* Fixing issue.

* Changes:
- Refactored DebugHelper and YamlUtils to make usage nicer and rely on dependency injection.
- Removed Field for DebugHelper and turned it into local variable.
- Adjusted classes using the above.
- Adjusted tests where necessary.

* Added link to CF standards to YamlUtils also.

* Add docu for step cfManifestSubstituteVariables.md

* Added documentation.

* Added missing script parameter to documentation. Some steps document it, some don't. Right now you need it, so we document it.

* Fixed some layouting and typos

* Beautified exception listing.

* Removed trailing whitespaces to make code climate checks pass.

* Trying to get documentation generated, with all the exceptions to markup one should not use.

* cosmetics.

* cosmetics, part 2

* Code climate changes...

* Inlined deleteFile step.

* Added two more tests to properly check file deletion and output handling.

* Changes:
- adjusted API to take a list of variables files, as does 'cf push --vars-file'
- adjusted API to allow for an optional list of variable key-value-maps as does 'cf push --vars'
- reproduced conflict resolution and overriding behavior of variables files and vars lists
- adjusted tests and documentation

* Added missing paramter to doc comment.

* Re-checked docs for missing paramters or params that have no counterpart in the method signature.

* Adjusted documentation.

* Removed absolute path usage from documentation.

* corrected documentation.

* Changed javadoc comment to plain comment.

* Turned all comments to plain comments.
2019-09-06 10:20:35 +02:00
Marcus Holl
211827ac93
Remove template docu page for piperPipelinStagePost (#863)
There are at the moment no stage docu pages. I guess this has been added too early
by mistake. Maybe we should remove this for now since it triggers a warning during docu generation.
2019-08-30 09:03:08 +02:00
Christoph Szymanski
b3764f4c1b
Link the SAP Cloud SDK (#861)
SAP Cloud SDK implements a more comprehensive CAP pipeline.

Co-Authored-By: Florian Wilhelm <florian.wilhelm02@sap.com>
2019-08-23 13:33:38 +02:00
Marcus Holl
62d1e23e6c
[fix] custom defaults passed as String instead of String is a List to DefaultValueCache (#817) 2019-08-08 08:52:21 +02:00
Sven Merk
136ffa8204
Update createDocu.groovy 2019-07-31 12:51:55 +02:00
Sven Merk
9358da7ccb Merge branch 'master' of https://github.com/SAP/jenkins-library into nevskrem-patch-1-local 2019-07-30 13:50:08 +02:00
Sven Merk
ca88e10a7b Ensure stacktrace being printed in case of errors 2019-07-30 13:41:58 +02:00
Marcus Holl
3d94ce4770
Add tmpUpload to mkdocs index page (#801) 2019-07-22 12:08:11 +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 446a201ae4.

* Revert "use classloader"

This reverts commit a896487032.

* 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
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
andre2007
fc5cf8a54f pipelineStashFiles: Add dub.json/dub.sdl to buildDescriptors (#761) 2019-07-04 11:08:32 +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
Marcus Holl
ea5a3ed5ce Merge remote-tracking branch 'github/master' into HEAD 2019-06-25 08:49:30 +02:00
andre2007
36c029b344 Add dubExecute step (#754)
* Add dubExecute step
* Fix test
2019-06-19 16:52:18 +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
Roland Stengel
2313a83dd6 Merge branch 'master' of github.com:SAP/jenkins-library into revdoc 2019-06-12 11:47:37 +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
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
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
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
Marcus Holl
ef294eba71 Add reference to docker plugin if kubernetes is present 2019-05-24 15:09:21 +02:00
Roland Stengel
b65f0a2461 review fixes 2019-05-23 21:56:42 +02:00
Alejandra Ferreiro Vidal
927f199660 minor change in slackSendNotification documentation 2019-05-23 20:16:02 +02:00
Oliver Nocon
71edb2aaac
Doc generator - allow generation of stage documentation (#713)
* Doc generator - allow generation of stage documentation
2019-05-23 17:37:47 +02:00
Roland Stengel
5aa0a35934 Merge branch 'master' of github.com:SAP/jenkins-library into revdoc2 2019-05-23 09:33:32 +02:00
Roland Stengel
523f603071 review documentation
- clear separation of README.md from
  https://sap.github.io/jenkins-library/
- enhanced https://sap.github.io/jenkins-library/home
- introduction of guided tour
2019-05-23 09:21:41 +02:00
Oliver Feldmann
5fcefb55b8
Fix typo in yaml (#722) 2019-05-23 08:13:23 +02:00
Christopher Fenner
816256c266
Merge branch 'master' into pr/resolvePlugins 2019-05-22 11:27:58 +02:00
Marcus Holl
cb057fe797
Merge branch 'master' into pr/switchToNamedParametersWhenCreatingDocu 2019-05-22 09:07:53 +02:00
Tom Kiemes
e17753f3cd Fix formatting (#719)
* Fix formatting

Co-authored-by: Markus Winkler 

* Update createDocu.groovy
2019-05-22 08:16:07 +02:00
Marcus Holl
6add8d023e special bells and whistles for transport related steps 2019-05-21 17:04:42 +02:00
Marcus Holl
a0381ac34b Remark for kubernetes plugin 2019-05-21 17:04:18 +02:00
Marcus Holl
c954f048c9 we do not need to handle maps when resolving calls. 2019-05-21 16:15:19 +02:00
Marcus Holl
3680a11edc improve groovy script file naming 2019-05-21 16:15:19 +02:00
Marcus Holl
5145cb326a streamline transitive plugin calls 2019-05-21 16:15:19 +02:00
Marcus Holl
6b8197aac7 explict initialization with null 2019-05-21 16:15:19 +02:00
Marcus Holl
931e84b293 steamline names in bash file 2019-05-21 16:15:13 +02:00
Marcus Holl
600442c033 streamline bash coding 2019-05-21 16:15:13 +02:00
Marcus Holl
4fd253199d docu 2019-05-21 16:15:12 +02:00
Marcus Holl
d0e6b1a8ed wip 2019-05-21 16:15:12 +02:00
Marcus Holl
cc5cd1d047 resolve plugins before creating docu 2019-05-21 16:15:12 +02:00
Marcus Holl
c4fb2445e5 run condence steps within createDocu 2019-05-21 16:15:12 +02:00
Marcus Holl
f31dd80cdb relocate steps.groovy 2019-05-21 16:15:12 +02:00
Marcus Holl
a911cc400e run the tests (required for getting plugins deps) 2019-05-21 16:15:12 +02:00
Marcus Holl
71cfae4409 Resolved plugins as links 2019-05-21 16:15:11 +02:00
Marcus Holl
50a62c9b3e Introduce label for Jenkins plugin dependencies 2019-05-21 16:15:11 +02:00
Marcus Holl
955bd63495 remove syserrs and put comments 2019-05-21 16:15:11 +02:00
Marcus Holl
0f8148a7cd wip 2019-05-21 15:33:05 +02:00
Marcus Holl
818297aef0 wip 2019-05-21 15:33:05 +02:00
Marcus Holl
d21dd9c87b Dokumentation: Introduce Jenkins plugin dependencies 2019-05-21 15:33:05 +02:00
Christopher Fenner
41ee87d147 fix code climate issues II (#715)
* fix code climate issues

* fix code climate issues

* fix code climate issues
2019-05-21 15:33:05 +02:00
Christopher Fenner
77e344d181
fix code climate issues II (#715)
* fix code climate issues

* fix code climate issues

* fix code climate issues
2019-05-17 13:20:13 +02:00
Marcus Holl
887e8e93e2 Merge remote-tracking branch 'github/master' into HEAD 2019-05-17 10:06:01 +02:00
Christopher Fenner
4d9a4dbc6f
Merge branch 'master' into pr/docuFixNullValues 2019-05-16 11:07:26 +02:00
Christopher Fenner
6d5fdd41bf
fix code climate issues (#712)
* fix code climate issues

* fix code climate issues

* Update GitUtils.groovy
2019-05-16 10:46:13 +02:00
Marcus Holl
ca33a86ee6 Switch to named parameters when invoking docu generation 2019-05-16 10:27:00 +02:00
Marcus Holl
80e8473de5 Merge remote-tracking branch 'github/master' into HEAD 2019-05-16 09:18:30 +02:00
Christopher Fenner
9db487d189
move method to MapUtils (#709)
* move method to MapUtils

* use MapUtils

* fix indent

* Update src/com/sap/piper/MapUtils.groovy

* Update MapUtils.groovy

* remove obsolete test case

* fix typo
2019-05-15 20:52:45 +02:00
Marcus Holl
ee3f820e5f
explict null check in order to render also false
Co-Authored-By: Christopher Fenner <Christopher.Fenner@sap.com>
2019-05-15 15:20:14 +02:00
Marcus Holl
2ad52708fa fix: null is rendered when no default value is available instead of the empty string 2019-05-15 14:55:33 +02:00
Christopher Fenner
2fed3f231f
Merge branch 'master' into pr/DoNotReturnWrongValueIfOnlyAPartOfAPathCanBeResolved 2019-05-15 10:16:09 +02:00
Marcus Holl
9d43f7abb3 [fix] do not return a wrong config value if only a part of the path could be resolved. 2019-05-15 09:30:21 +02:00
Marcus Holl
0431c29063 Fix exception list for step neoDeploy (#697)
due to wrong indentation in the md file the excpetions are not rendered as expected. The reasons
why an exception occures is on the same level like the exception, but should have only level more.
2019-05-14 12:56:47 +02:00
Christopher Fenner
c52d1ceb0d
add Sonar docs link (#704) 2019-05-14 10:59:52 +02:00
Christopher Fenner
c8f9db71eb
add step for Sonar scan (#183)
* add new step sonarExecute

* simplify list

* add general credentials for SonarQube

* Update default_pipeline_environment.yml

* Update sonarExecute.groovy

* correct worker invocation

* switch step/stage config order

* add tests

* add webhook handling

* Update default_pipeline_environment.yml

* use withMandatoryProperty with condition

* Update ConfigurationHelper.groovy

* Update sonarExecute.groovy

* Update ConfigurationHelper.groovy

* rename step to sonarExecuteScan

* rename step to sonarExecuteScan

* rename step to sonarExecuteScan

* Update sonarExecuteScan.groovy

* change return type

* Update sonarExecuteScan.groovy

* stash

* update defaults

* update install path

* use quiet unzip

* use long option names

* optimize filename retrival

* rework PR voting

* fix path

* remove accitentially checked-in file

* add documentation, optimise coding

* correct test case

* add documentation

* remove option prefix

* rename config variable

* update docs

* update docs

* rename download url

* fix typo

* adjust test cases

* add test cases

* update docs
2019-05-13 12:29:07 +02:00
Oliver Nocon
729cd0ab30
detectExecuteScan - add doc to docs structure (#699) 2019-05-10 08:06:38 +02:00
Oliver Nocon
a67f850fdb
add step for Synopsis Detect Scans (#690)
* add step for Synopsis Detect Scans

tool was formerly calles Blackduck Hub Detect.
Details about the tool can be found here: https://synopsys.atlassian.net/wiki/spaces/INTDOCS/pages/62423113/Synopsys+Detect
2019-05-08 11:36:01 +02:00
Christopher Fenner
b66d95fb1c improve Slack setup documentation (#687) 2019-05-08 10:17:44 +02:00
Marcus Holl
5653484ddb Replace several replaceAll command by one. 2019-05-03 09:50:52 +02:00
Oliver Nocon
d207aeadd4
Merge branch 'master' into pr/collectDependingOn 2019-05-02 19:48:41 +02:00
Oliver Nocon
700a6e2e4e
Add step kanikoExecute for Docker builds using Kaniko (#684)
* Add step kanikoExecute for Docker builds using Kaniko
* Update kanikoExecute.md
* address PR feedback
2019-05-02 17:29:11 +02:00
Marcus Holl
0ce09f3578 Collect depending on configurations and provide it in docu as some kind of complex default 2019-05-02 15:29:12 +02:00
Christopher Fenner
e8f206b1a1
piperPipeline: add extensible post stage (#661)
* add post stage

* use post stage in template

* adjust test cases

* add docs skeleton

* add documentation

* Update piperPipelineStagePost.md
2019-05-02 12:26:28 +02:00
Oliver Feldmann
e566c2bb13 Use admonition for note 2019-04-24 13:50:30 +02:00
Alejandra Ferreiro Vidal
e3dd6fd665 add new step docu to index 2019-04-17 16:28:45 +02:00
SarahNoack
998b470f81
Correct typos "SAP UI5" 2019-04-16 13:54:54 +02:00
Alejandra Ferreiro Vidal
fac0f130b6
Merge branch 'master' into pr/docuMetaData 2019-04-13 21:03:51 +02:00
Alejandra Ferreiro Vidal
b1aeb2cdcd
Merge branch 'master' into docGeneration 2019-04-13 16:43:04 +02:00
Alejandra Ferreiro Vidal
f48577bd50
Merge branch 'master' into pr/fetchPossibleValues 2019-04-13 13:32:20 +02:00
Alejandra Ferreiro Vidal
0a4deaf69a pipelineStashFiles: generate docu 2019-04-12 22:45:31 +02:00
Alejandra Ferreiro Vidal
0df4df8d58 neoDeploy: generate docu 2019-04-12 21:35:27 +02:00
Alejandra Ferreiro Vidal
89f37ed1a0 influxWriteData: generate docu 2019-04-12 20:29:09 +02:00
Alejandra Ferreiro Vidal
5448385985 add multicloud deploy step 2019-04-12 17:51:38 +02:00
Marcus Holl
de539cc677 fetch possible values from @see
In case there is a @see tag provided for a parameter in the description,
the possible values are only fetched from the corresponding source in
case there is no explict value provided for the possible values.

In case the source does not contain a possible value tag nothing is
transfered.
2019-04-12 14:23:35 +02:00
Oliver Nocon
e296f5c5ed
Merge branch 'master' into docGeneration 2019-04-12 13:58:40 +02:00
OliverNocon
96d70d8eb1 Merge remote-tracking branch 'origin/docGeneration' into docGeneration 2019-04-12 13:57:07 +02:00
OliverNocon
d3dbc07c79 better name for parameter map 2019-04-12 13:56:53 +02:00
Alejandra Ferreiro Vidal
f9db4245e9 cloudFoundryDeploy: generate docu 2019-04-12 13:08:05 +02:00
Alejandra Ferreiro Vidal
c7998f4db4 artifactSetVersion: generate docu 2019-04-12 09:23:10 +02:00
Alejandra Ferreiro Vidal
0303d9baab githubPublishRelease: generate docu 2019-04-11 14:23:06 +02:00
Christopher Fenner
e67b9cff23
influxWriteData: hold data in dedicated object (#624)
* add InfluxData object

* add InfluxData rule

* use InfluxData

* include jenkins_custom_data into InfluxData object

* correct typo

* add missing import

* fix condition for influx reporting

* add test class

* Update influxWriteData.groovy
2019-04-11 11:39:41 +02:00
Oliver Nocon
5d9dc6541b
Merge branch 'master' into docGeneration 2019-04-10 19:50:31 +02:00
Alejandra Ferreiro Vidal
19f9005dc5 transportRequestRelease: generate docu 2019-04-10 15:27:06 +02:00
Oliver Nocon
761022d575
Merge branch 'master' into docGeneration 2019-04-10 15:08:51 +02:00
Alejandra Ferreiro Vidal
4c62102fa8 transportRequestUploadFile: generate docu 2019-04-10 13:58:46 +02:00
OliverNocon
a00e29ab0b extend documentation generation with custom defaults 2019-04-10 12:33:39 +02:00
Christopher Fenner
39bc7b043c
Travis: use GHPages deploy provider (#645)
* remove GHDeploy script

* build MKDocs from docs folder

* use GHDeploy provider
2019-04-10 12:26:54 +02:00
OliverNocon
2fb260c32a extend documentation generation with custom defaults 2019-04-10 12:17:29 +02:00
Alejandra Ferreiro Vidal
0565b5e63f transportRequestCreate: generate docu 2019-04-09 22:12:21 +02:00
Alejandra Ferreiro Vidal
a179dc6e3d checksPublishResults: generate docu 2019-04-09 19:46:23 +02:00
Alejandra Ferreiro Vidal
97ec7d78de remove outdated docu 2019-04-09 18:48:39 +02:00
Alejandra Ferreiro Vidal
ea71736939 testsPublishResults: generate docu 2019-04-09 15:19:33 +02:00
Alejandra Ferreiro Vidal
2af1b7c365 setupCommonPipelineEnvironment: generate docu 2019-04-09 13:58:35 +02:00
Alejandra Ferreiro Vidal
938d251a58 pipelineRestartSteps: generate docu 2019-04-09 13:18:51 +02:00
Alejandra Ferreiro Vidal
7a54118b2a gaugeExecuteTests: generate docu 2019-04-09 11:59:08 +02:00
Alejandra Ferreiro Vidal
bde8f388be containerExecuteStructureTests: generate docu 2019-04-09 11:12:38 +02:00
Alejandra Ferreiro Vidal
fa05b0bcb6 prepareDefaultValues: generate docu (#634) 2019-04-09 09:52:45 +02:00
Alejandra Ferreiro Vidal
998dd99cf5 batsExecuteTests: generate docu (#605) 2019-04-09 08:39:20 +02:00
Christopher Fenner
5c13a0e2a2
fix docs generation (#643) 2019-04-05 15:31:29 +02:00
Sven Merk
2ad3483233
Merge branch 'master' into whitesource-step 2019-04-04 22:19:16 +02:00
Alejandra Ferreiro Vidal
1e36df6a9c fix docs generation (#640) 2019-04-04 17:01:30 +02:00
Sven Merk
259619f00f
Merge branch 'master' into whitesource-step 2019-04-04 16:06:51 +02:00
LukasHeimann
54846ea0d6 Add a guide on authenticating UIVeri5 tests (#577)
* Add a guide on authenticating UIVeri5 tests

* Update documentation/docs/steps/uiVeri5ExecuteTests.md

Co-Authored-By: LukasHeimann <48723560+LukasHeimann@users.noreply.github.com>
2019-04-04 13:54:16 +02:00
Alejandra Ferreiro Vidal
fbddb910d0 fix docu 2019-04-04 10:50:46 +02:00
Oliver Nocon
138656b49b
Allow resilient error handling in pipelines (#583)
* add resilience to error handling
* adapt documentation
* make ConfigLoader more resilient
2019-04-04 08:38:54 +02:00
Sven Merk
dfa47ac4c7
Merge branch 'master' into whitesource-step 2019-04-03 22:18:39 +02:00
Alejandra Ferreiro Vidal
316ea83423 fix doc build error 2019-04-03 15:44:59 +02:00
Sven Merk
1fe05b8a56
Merge branch 'master' into whitesource-step 2019-04-03 12:19:34 +02:00
Alejandra Ferreiro Vidal
83ee7d0b28 mtaBuild: generate docu 2019-04-03 10:36:56 +02:00
Alejandra Ferreiro Vidal
92e895d34e pipelineExecute: generate docu 2019-04-03 09:41:27 +02:00
Alejandra Ferreiro Vidal
d863bb3209 durationMeasure: generate config 2019-04-03 08:16:33 +02:00
Alejandra Ferreiro Vidal
3d0aa51380 mavenExecute: generate docu 2019-04-02 22:03:23 +02:00
Alejandra Ferreiro Vidal
0397f152dc
Merge branch 'master' into healthExecuteCheck 2019-04-02 21:01:29 +02:00
Alejandra Ferreiro Vidal
f77d9957a5 handlePipelineStepErrors: generate docu 2019-04-02 20:06:47 +02:00
Alejandra Ferreiro Vidal
4f93f1f07a healthExecuteCheck: generate docu 2019-04-01 11:14:38 +02:00
Sven Merk
aaf969e0cf
Merge branch 'master' into whitesource-step 2019-03-29 11:01:15 +01:00
Alejandra Ferreiro Vidal
eba4c68a49 remove documentation 2019-03-29 08:44:36 +01:00
Marcus Holl
97c4ebf3dd provide the docu metadata as json 2019-03-27 17:21:08 +01:00
Sven Merk
da549bc2e6
Merge branch 'master' into whitesource-step 2019-03-27 14:36:37 +01:00
Sven Merk
6c85699689 Fix docu template 2019-03-27 11:57:48 +01:00
Oliver Nocon
27c4db47e4
Merge branch 'master' into whitesource-step 2019-03-26 16:46:45 +01:00
Marcus Holl
397ec0c2fc Prerequiste transportRequestCreate: SOLMAN ST720 SP08 or higher 2019-03-26 14:35:52 +01:00
Christopher Fenner
0e7ef41fab
newmanExecute: generate documentation (#591)
* generate docs for newmanExecute step

* fix typo
2019-03-26 13:26:21 +01:00
Christopher Fenner
f8c8e81958
generate docs for slackSendNotification step (#592) 2019-03-26 12:14:29 +01:00
Christopher Fenner
f138ae1499
mailSendNotification: generate documentation (#584) 2019-03-25 14:34:48 +01:00
Sven Merk
991dd5ec51
Merge branch 'master' into whitesource-step 2019-03-22 11:58:01 +01:00
Sven Merk
be814c62aa Included comments refactored docu generation 2019-03-21 13:25:22 +01:00
Irina Kirilova
90c0604471 sort parameters alphabetically 2019-03-21 10:44:42 +01:00
Irina Kirilova
a0eb77f3e6 update documentation for neoDeploy step parameters 2019-03-20 16:13:18 +01:00
Christopher Fenner
7177954e80
seleniumExecuteTests & uiVeri5ExecuteTests: improve documentation (#568)
* generate docs for seleniumExecuteTests

* inherit docs for uiVeri5ExecuteTests

* add description for failOnError
2019-03-19 15:38:52 +01:00
Daniel Kurzynski
af740e1092
Make source for neo deployments configurable in the config file (#564) 2019-03-18 14:55:51 +01:00
Christopher Fenner
7069f29ec5
snykExecute: add missing documentation (#570)
* add docs for snykExecute

* add link to new docs page
2019-03-18 11:08:41 +01:00
Marcus Holl
a1d8ea51f5 Merge remote-tracking branch 'github/master' into HEAD 2019-03-15 16:13:55 +01:00
Marcus Holl
bf48f18f3e take parameters keys into account again.
was removed since parameter keys does not appear anymore in the table denoting the
level where a parameter can be configured.

Nevertheless we need to take that parameter into account. We need to add the description for
that parameter, even if it cannot be configured on general or stage level.
2019-03-15 15:24:06 +01:00
Marcus Holl
52f3287cb3 Merge remote-tracking branch 'github/master' into HEAD 2019-03-15 15:01:12 +01:00
Marcus Holl
d8159e70d0 Adjust docu for npmExecute wrt docu generation 2019-03-15 14:14:15 +01:00
Marcus Holl
9a75c4a728 Update docu for neoDeploy: neo.sh needs to be contained in path 2019-03-15 08:23:47 +01:00
Sven Merk
c96f73866a Refactored to generally migrate config to deep structure 2019-03-14 15:18:01 +01:00
Marcus Holl
721aae4a8b configure docu generation for karmaExecuteTests 2019-03-14 14:01:48 +01:00
Marcus Holl
ad467a6ead Merge remote-tracking branch 'github/master' into HEAD 2019-03-14 13:21:19 +01:00
Marcus Holl
513ceee8cf
Merge branch 'master' into pr/fixStageDoc 2019-03-13 12:39:59 +01:00
Sven Merk
f2c7265986
Merge branch 'master' into whitesource-step 2019-03-13 12:13:16 +01:00
Christopher Fenner
6d7205377c generate karma docs (#555) 2019-03-13 12:01:05 +01:00
Sven Merk
6764e75551
Merge branch 'master' into whitesource-step 2019-03-13 10:43:23 +01:00
Sven Merk
0280fe56a9 Fix typo 2019-03-13 10:29:25 +01:00
Christopher Fenner
57911a5835
Merge branch 'master' into pr/fixStageDoc 2019-03-12 11:26:42 +01:00
Oliver Nocon
857bd2794a
uiVeri5ExecuteTests, documentation update (#545) 2019-03-11 17:27:37 +01:00
Sven Merk
4ae6675824 Revise docs 2019-03-08 13:56:07 +01:00
Sven Merk
6b61bc1b98 Updated documentation 2019-03-08 12:33:31 +01:00
Sven Merk
bfbee88620 Added documentation of parameters and step 2019-03-06 15:08:42 +01:00
yemengsap
38c5a0d779 Add npmExecute step (#491) 2019-02-21 19:14:48 +01:00
Florian Wilhelm
ada3ed909d
Don't print messages in all uppercase letters (#531) 2019-02-21 15:46:17 +01:00
weloli
47ba7ff035 reduce redunadancy in md files for doc generation 2019-02-18 08:20:16 +01:00
Florian Wilhelm
d2b6be4e25
Configure default mta build image to ppiper/mta-archive-builder (#515) 2019-02-15 13:48:34 +01:00
weloli
08edf94bd0 Merge branch 'master' of https://github.com/weloli/jenkins-library into pr/fixStageDoc 2019-02-15 09:31:28 +01:00
Oliver Nocon
793df723cf add step slackSendNotification (#338)
* add step slackSendNotification

This step allows to send Slack notifications in case of pipeline failures.

* add SWA reporting

* remove allowBuildFailure

* add GENERAL_CONFIG_KEYS

* update STEP_NAME

* add missing import

* fix MD findings

* adjust rule name to be aligned with #455
2019-02-13 16:45:35 +01:00
weloli
72adaf3dd5 Merge branch 'master' of https://github.com/weloli/jenkins-library into pr/fixStageDoc 2019-02-13 14:35:56 +01:00
weloli
0d0fe3a2a8 fix according to last agreement 2019-02-13 14:29:05 +01:00
SarahNoack
26ba407e9c Doc: Change size of figure title (#504) 2019-02-11 08:57:31 +01:00
weloli
184613a78b Merge branch 'master' of https://github.com/weloli/jenkins-library into pr/fixStageDoc 2019-02-08 16:09:41 +01:00
SarahNoack
f42b2502da Add CAP Scenario in Navigation (#502) 2019-02-08 15:45:24 +01:00
Christoph Szymanski
0402811f2f
Merge branch 'master' into CAP_Scenario 2019-02-08 14:23:36 +01:00
SarahNoack
04c0316983
Remove ", buildTarget:'CF'"
Remove ", buildTarget:'CF'" from  Jenkinsfile example
2019-02-08 13:51:41 +01:00
SarahNoack
a5597a447c
Add SAP CP to CF account 2019-02-08 13:48:09 +01:00
SarahNoack
5d0daafe00
Remove note
Exchange note that this is a basic scenario with a single sentence in the paragraph before
2019-02-08 13:43:33 +01:00
Christoph Szymanski
40ff8fa2e3
Build Target from Parameter to Configuration
as discussed with @marcusholl
2019-02-08 13:09:30 +01:00
Christopher Fenner
d657f0dc28
testsPublishResults: add option to fail the build on test errors (#472)
* add option to fail the build on test errors

* fix typo

* add test cases

* adjust docs

* set build result

* add hasTestFailure utils method

* use utils method

* use dedicated type

* adapt tests

* handle missing test actions

* Update testsPublishResults.md

* Update JenkinsUtils.groovy

* Update JenkinsUtils.groovy

* Update JenkinsUtils.groovy

* remove comments

* adapt test case

* Update TestsPublishResultsTest.groovy
2019-02-08 12:30:59 +01:00
Christopher Fenner
3f12015364
dockerExecuteOnKubernetes: generate documentation (#487)
* fix whitespace

* correct key order

* add docs annotation

* add key documentation

* remove generated documentation

* fix code climate finding
2019-02-08 12:20:45 +01:00
Marcus Holl
3a8bd80f09 fix: table not generated by mkdocs due to wrong syntax (#498) 2019-02-08 11:35:58 +01:00
Marcus Holl
df90255739 publish docu for step uiVeri5ExecuteTests (#499) 2019-02-08 11:15:32 +01:00
weloli
35e14f9667 fix stage definition 2019-02-08 10:10:02 +01:00
SarahNoack
b186e95dec
Fix another code climate issue 2019-02-07 16:44:04 +01:00
SarahNoack
ed99ac6bf7
Fix code climate issues 2019-02-07 16:42:18 +01:00
SarahNoack
214bc7a7c3
Make minor linguistic changes 2019-02-07 16:33:33 +01:00
SarahNoack
287eab8fae
Rework scenario 2019-02-07 16:16:10 +01:00
Noack
8e99bd4c63 Add CAP scenario 2019-02-07 13:57:57 +01:00
SarahNoack
d0f547861c
Merge branch 'master' into SarahNoack-patch-1 2019-02-06 14:25:01 +01:00
SarahNoack
005f0c824e
Fix training space 2019-02-06 14:06:03 +01:00
SarahNoack
ea34ebd847
Merge branch 'master' into SarahNoack-patch-2 2019-02-06 14:01:24 +01:00
SarahNoack
588ab54b8d
Change links to scenario files 2019-02-06 11:29:59 +01:00
SarahNoack
d2252c0eaf
Adapt scenario so that it matches the template
Adapt scenario title, add figure title, and minor linguistic and layout changes
2019-02-06 11:06:00 +01:00
Christopher Fenner
887c8d0186
Merge branch 'master' into pr/seeAnnotationInDocu 2019-02-06 10:07:57 +01:00
Christoph Szymanski
2f2131b56b
Merge branch 'master' into SarahNoack-patch-1 2019-02-06 09:12:52 +01:00
Marcus Holl
1b202f879a Provide flag for skipping docker image pulls (#407)
* Provide flag for skipping docker image pulls

Usefull for testing while developing images. Without pulling images it is possible to
use images available in the local registry only.
2019-02-06 08:48:33 +01:00
Christoph Szymanski
139ed7b15d Align Navigation Text with Header 2019-02-05 18:46:27 +01:00
SarahNoack
47fc15f2e3
Change title and add parameters
Change title to be consistent with other scenarios and add links to detailed description of the parameters used in this scenario.
2019-02-05 16:58:29 +01:00
Marcus Holl
34b7c24faf Merge remote-tracking branch 'github/master' into HEAD 2019-02-05 16:37:49 +01:00
Christopher Fenner
08d62eb303
Merge branch 'master' into pr/seeAnnotationInDocu 2019-02-04 14:39:00 +01:00
Christopher Fenner
d91fa6d29d
Merge branch 'master' into pr/allowSingleLineDocuComments 2019-02-04 14:38:22 +01:00
Christopher Fenner
bd32367c31
dockerExecute: generate docs (#480)
* correct key order

* add docs annotation and description

* describe parameters

* remove generated content from doc

* fix indent

* add further decumentations
2019-02-04 14:35:44 +01:00
Marcus Holl
22340ebb25 allow single line comments
like this /** short comment */
rather than
/**
  * short comment
  */
2019-02-04 12:41:38 +01:00
Marcus Holl
89fd30e84c implement @see strategy
in case there is a pseudo annotation '@see' found in a step docu the docu is retrived from
the parameter with the same name in the other step. Format is:

'@see <OTHER_STEP_NAME>'

This simplifies documentation for parameters with same name and same
semantics used in more than one step.
2019-02-01 16:59:54 +01:00
Oliver Nocon
3b2e42c74f
Add step containerExecuteStructureTest (#441)
* add step containerExecuteStructureTest
* include PR-review feedback
* documentation
2019-01-31 09:39:13 +01:00
Christopher Fenner
bca5b8ccf1
Add step uiVeri5ExecuteTests (#469)
* add defaults for uiVeri5 step

* add step and tests

* correct parameter names

* add empty docs

* add docs annotations

* remove not needed parameter

* add docs annotations
2019-01-31 09:16:34 +01:00
Marcus Holl
50edac02ca First char after docu asterisk is pruned
... with a blank after the asterisk the docu looks more beautifyfull.
2019-01-29 17:30:26 +01:00
Marcus Holl
8fb7c85e99 keep leading blanks in order to render 'git diff! Note' statements 2019-01-29 17:30:25 +01:00
Daniel Kurzynski
6e26d78047
Improve neo deploy (#440)
The following features were added:
Lock resources for deployment
New parameters: environment, vmArguments
Assert password does not start with @
Link to cloud cockpit
Only execute rolling update if app is running
Show logs if deployment failed
Restart app after normal deployment
Use neo namespace for parameters
Align parameter names with neo sdk: size, application, source
Remove vmSize check as done by the tool itself
2019-01-28 11:32:24 +01:00
Marcus Holl
ee58859cd9 Doc: Fix transportRequestCreate docu (transportRequestId) (#467) 2019-01-28 10:25:36 +01:00
SarahNoack
e9a9ae4a1a Refine Hybrid Development Documentation (#462) 2019-01-25 18:15:30 +01:00
Oliver Nocon
27c3891685
deployToCloudFoundry - patch mta blue-green deployment (#457)
mta deploy plugin has flag:
` --no-confirm` which is described as _"Do not require confirmation for deleting the previously deployed MTA apps"_

This flag is essentials for performing fully automated blue-green deployments.
2019-01-22 16:13:59 +01:00
SarahNoack
e452f79368 Doc: Add Image to SolMan Scenario (#453) 2019-01-18 17:42:32 +01:00
SarahNoack
c7564a6a99 Doc: Changed Heading for UI5 Scenario (#438) 2019-01-18 09:29:50 +01:00
SarahNoack
1f96a34f55 Update changeManagement.md (#437) 2019-01-18 09:23:00 +01:00
Christopher Fenner
4f804f8876 remove trailing line breaks 2019-01-18 08:57:54 +01:00
Marcus Holl
6f59627551 Create file containing classpath into build dir
and not into project root. With this appraoch the root folder get not
filled with temporary content.
2019-01-18 08:57:54 +01:00