1
0
mirror of https://github.com/SAP/jenkins-library.git synced 2025-01-04 04:07:16 +02:00
Jenkins shared library for Continuous Delivery pipelines.
Go to file
lndrschlz dea96a3ba0
feat(newmanExecute): golang implmementation for newmanExecute (#2513)
* Automates first parts of newmanExecute.groovy

Signed-off-by: Fabian Reh <fabian.reh@sap.com>

* Adds newman installation

Signed-off-by: Fabian Reh <fabian.reh@sap.com>

* Removes warning

Signed-off-by: Fabian Reh <fabian.reh@sap.com>

* makes tests robust for later shell calls

Signed-off-by: Fabian Reh <fabian.reh@sap.com>

* Adds version logging

Signed-off-by: Fabian Reh <fabian.reh@sap.com>

* Adds tests for version logging

Signed-off-by: Fabian Reh <fabian.reh@sap.com>

* Adds newman shell execution

Signed-off-by: Fabian Reh <fabian.reh@sap.com>

* Prepare cloud foundry apps with secrets handling

Signed-off-by: Fabian Reh <fabian.reh@sap.com>

* Adds further process to CF Utils

Signed-off-by: Fabian Reh <fabian.reh@sap.com>

* Fixes unit test

Signed-off-by: Fabian Reh <fabian.reh@sap.com>

* Adds error category

Signed-off-by: Fabian Reh <fabian.reh@sap.com>

* Add fix to execute step locally

Currently only tested on windows machine locally in powershell.

Signed-off-by: Fabian Reh <fabian.reh@sap.com>

* Adapt unit test to fix of runCommand

Signed-off-by: Fabian Reh <fabian.reh@sap.com>

* refactored golang step to newmanExecute

* wip

* added test config

* refactored newmanExecute groovy wrapper step

* exclude newmanExecute from common step test

* cleaups

* add credential support

* fix groovy credential providing

* add import

* add stageName

* define script

* remove unused vars

* add import

* fix iterator ref

* golang secret handling and cleanups

* wip

* wip

* wip

* update go step

* implement cf credential proposal

* testRepository functionality implemented

* register secrets to logger

* add missing dependecies

* test xsuaa credential handling

* wip

* wip

* cleanups

* add import

* remove mandatory params

* add container definition

* test runCommand

* test runCommand

* fix npm path

* fix npm path

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* added newmanEnvironment to templating

* wip

* use env and globals params in runCommand when no templating

* fix condition

* wip

* reverted config edit

* updated documentation

* install with shell

* wip

* wip

* fix tests

* refactor tests

* wip

* remove old test

* wip

* escape go tmpl

* escape go tmpl

* fix defaults

* add doc comment

* remove test case

* refactored newman commands

* add cli reporter

* refactor options

* mock os getenv and fix all tests

* refactoring and doc update

* go generate

* small refactor

* spelling

* fix newman doc

* remove MaskPasswords wrapper; fix stash bug;

* docu fix

Co-authored-by: Fabian Reh <fabian.reh@sap.com>
2021-03-17 08:08:33 +01:00
.github chore(voter): show changes caused by git diff (#2633) 2021-03-12 10:12:40 +01:00
.hooks chore(go): add pre-commit hook (#1006) 2019-11-27 21:16:01 +01:00
.pipeline Update config.yml (#2371) 2020-11-13 16:51:25 +01:00
.reuse compliance with reuse (#1910) 2020-08-11 11:53:42 +02:00
cfg
cmd feat(newmanExecute): golang implmementation for newmanExecute (#2513) 2021-03-17 08:08:33 +01:00
consumer-test Run consumer tests in GPP instead of Cloud SDK Pipeline (#2405) 2020-11-20 15:27:27 +01:00
contrib Allow to trigger release manually (#1359) 2020-04-03 16:26:53 +02:00
documentation feat(newmanExecute): golang implmementation for newmanExecute (#2513) 2021-03-17 08:08:33 +01:00
integration add token revocation (#2686) 2021-03-10 08:36:50 +01:00
LICENSES compliance with reuse (#1910) 2020-08-11 11:53:42 +02:00
pkg SAP BTP ABAP Environment: addon build with supported Languages (#2689) 2021-03-15 20:24:43 +01:00
resources feat(newmanExecute): golang implmementation for newmanExecute (#2513) 2021-03-17 08:08:33 +01:00
src/com/sap/piper feat(whitesourceExecuteScan): UA for all build tools, e.g. maven & npm (#2501) 2021-02-03 14:52:48 +01:00
template
test feat(newmanExecute): golang implmementation for newmanExecute (#2513) 2021-03-17 08:08:33 +01:00
vars feat(newmanExecute): golang implmementation for newmanExecute (#2513) 2021-03-17 08:08:33 +01:00
.codeclimate.yml chore: fix markdownlint findings (#2385) 2020-11-17 09:20:47 +01:00
.editorconfig Add golang implementation for karma tests (#919) 2019-10-25 14:58:59 +02:00
.gitignore chore(git): add binary file to ignore list (#2110) 2020-10-02 11:15:36 +02:00
.markdownlint.yml chore: fix markdownlint findings (#2385) 2020-11-17 09:20:47 +01:00
config.toml Add revive config for proper linting 2020-02-26 09:44:18 +01:00
DEVELOPMENT.md Add section about signing commits in git. (#2488) 2020-12-22 10:09:35 +01:00
Dockerfile Reduce go binary size by updating to go 1.15 (#1968) 2020-09-17 08:44:42 +02:00
go.mod feat(sonar): add output of measurements (#2218) 2021-02-24 15:44:23 +01:00
go.sum add token revocation (#2686) 2021-03-10 08:36:50 +01:00
LICENSE compliance with reuse (#1910) 2020-08-11 11:53:42 +02:00
main.go Step generation: allow usage of go generate (#1793) 2020-07-17 08:06:11 +02:00
pom.xml Protecode as GoLang (#1119) 2020-02-06 16:16:34 +01:00
README.md fix: markdownlint findings for MD012 (#2383) 2020-11-16 18:22:38 +01:00

Maintainability Test Coverage Go Report Card REUSE status

Project Piper Repository

The Project "Piper" offers default pipelines to easily implement CI/CD processes integrating SAP systems. The corresponding "Shared Library" provides a set of "steps" to build your own scenarios beyond defaults.

User Documentation

If you want to view the User Documentation of Project Piper please follow this Piper Pages Link.

Known Issues

A list of known issues is available on the GitHub issues page of this project.

How to obtain support

Feel free to open new issues for feature requests, bugs or general feedback on the GitHub issues page of this project.

Register to our google group in order to get updates or for asking questions.

Contributing

Read and understand our contribution guidelines before opening a pull request.