1
0
mirror of https://github.com/SAP/jenkins-library.git synced 2025-11-06 09:09:19 +02:00

Enable wdi5 autologin (#4522)

* Enable wdi5 autologin

By also providing the basic auth credential on the env vars wdi5_username and wdi5_password we enable the wdi5 autologin feature, where the user does not have to remap the credentials in their wdi5 configuration. See https://ui5-community.github.io/wdi5/#/authentication?id=credentials

* Add documentation

* Add wdi5 parameter

* Add tests
This commit is contained in:
Oliver Feldmann
2023-09-12 10:11:28 +02:00
committed by GitHub
parent 3eb4f165b2
commit 1aac091497
3 changed files with 126 additions and 1 deletions

View File

@@ -5,3 +5,9 @@
## ${docGenParameters}
## ${docGenConfiguration}
## Examples
### Passing credentials
When running acceptance tests in a real environment, authentication will be enabled in most cases. WDI5 includes [features to automatically perform the login](https://ui5-community.github.io/wdi5/#/authentication). For this, if the step parameter `wdi5` is set to `true`, the provided basic auth credential (`credentialsId`) are mapped to the environment variables `wdi5_username` and `wdi5_password`.