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
lndrschlz
e60bdb94a6
feat(uiVeri5): golang implmementation for uiVeri5ExecuteTests ( #2394 )
...
* added uiVeri5ExecuteTests step files
* added confPath an regenerated step
* added test for uiVeri5ExecuteTests
* config modified
* added groovy wrapper
* ambiguous method fixed
* uiveri5 wrapper
* removed install command
* fixed defaults
* added testOptions as confPath arg
* test set env
* test npm install local
* changed env settings
* tests regenerated
* go generate
* fix code climate
* overwrite groovy step
* remove groovy wrapper go
* unstash piper bin
* test older node version
* test piperExecuteBin
* wip
* wip
* wip
* wip
* wip
* wip
* wip
* refactored params
* wip
* wip
* wip
* wip
* wip
* wip
* wip
* wip
* wip
* wip
* wip
* wip
* wip
* wip
* wip
* wip
* wip
* wip
* wip
* set testServerUrl as os env for uiveri5
* Update config.yml
* fix naming of testServerUrl param
* wip
* refactored setEnv and fixed tests
* wip
* step param for NPM_CONFIG_PREFIX
* fix runCommand
* refactored step param, regenerate, docu, fix tests
* fix groovy wrapper test
* cleanup
* add to CommonStepsTest field whitelist
* fixed default pipeline environment vars
* fix []string default
* fix metadata.go bug
* added test for docu metadata gen
* fix metadata_test.go in doc gen
* Update metadata_generated.go
* Update metadata_generated.go
* remove npm config prefix param; doc fix
* remove tab
* changed npm config prefix
* removed groovy wrapper test
* removed groovy step defaults
* modify path variable
* modified npm config prefix
* fix error wrapper and tests
* doc update
* add testRepository support
* wip
* fix testRepository param
* wip
* add utils
* init stash content
* wip
* wip
* wip
* add comment for deprecated parameters
* fixed commonStepTest
* fixed commonStepTest
* added error category for testOptions failure
* Update vars/uiVeri5ExecuteTests.groovy
Co-authored-by: Christopher Fenner <26137398+CCFenner@users.noreply.github.com>
* Update vars/uiVeri5ExecuteTests.groovy
Co-authored-by: Christopher Fenner <26137398+CCFenner@users.noreply.github.com>
* fix condition
Co-authored-by: Christopher Fenner <26137398+CCFenner@users.noreply.github.com>
2021-01-28 11:31:24 +01:00
Christopher Fenner
b219fb6514
fix(typo): found by misspell ( #2064 )
...
* fix typos in step yamls
* fix typos in go files
* regenerate step code
* fix typos in md files
* fix typos in groovy files
* fix further typos
2020-09-24 07:41:06 +02:00
Stephan Aßmus
8169d56ef7
Groovy: Load step defaults also from stages section in defaults ( #1943 )
...
Co-authored-by: Christopher Fenner <26137398+CCFenner@users.noreply.github.com>
2020-08-26 15:32:58 +02:00
Oliver Nocon
067eb0ba6a
Improve error messages for test failures ( #1417 )
2020-04-17 11:59:51 +02:00
Oliver Nocon
4061881b53
UIVeri5 & Newman: provide better error messages ( #1410 )
2020-04-16 09:14:39 +02:00
Maximilian Lenkeit
2021c8215a
Expose seleniumHubCredentialsId to higher-level Jenkins steps ( #1265 )
...
* expose seleniumHubCredentialsId in karmaExecuteTests
* expose seleniumHubCredentialsId in uiVeri5ExecuteTests
* refer to documentation of seleniumExecuteTests
2020-03-11 13:35:49 +01:00
Maximilian Lenkeit
6271784e21
log node.js and npm version in related steps ( #1182 )
2020-02-17 13:24:56 +01:00
Sven Merk
46fb4ad5e8
Exchange NonSerializable template engine with GStringTemplateEngine
2019-10-23 13:38:31 +02: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
Christopher Fenner
4953a894c5
uiVeri5ExecuteTests: add testServerUrl ( #543 )
2019-03-13 17:45:41 +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