From 8d79487735b0415f3ff4302fb71cde2076a250d4 Mon Sep 17 00:00:00 2001 From: ChristophW Date: Tue, 13 Dec 2022 11:22:32 +0100 Subject: [PATCH 1/2] Fix documentation for TEST-GUIDE upload step (#30) --- README.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index e0efa51f..5caf840d 100644 --- a/README.md +++ b/README.md @@ -79,7 +79,7 @@ node('windows') { ttGenerateReports 'HTML' } stage('Upload Reports') { - ttUploadReports testGuideUrl: 'http://HOST:Port', authKey: 'ApIAUTheNtiCatIOnKeY0123456789', projectId: 1 + ttUploadReports credentialsId: 'tgAuthKey', projectId: 1, testGuideUrl: 'http://HOST:Port' } stage('Stop Tools') { ttStopTool 'ECU-TEST' @@ -87,6 +87,9 @@ node('windows') { } ``` +The [TEST-GUIDE](https://www.tracetronic.com/products/test-guide/) authentication key has to be set as a Jenkins +[credential](https://www.jenkins.io/doc/book/using/using-credentials/) (username and password) to be used in the *ttUploadReports* step. + ## Migration See [migration guide](docs/Migration.md) for information about how to migrate from previous plugin version 2.x to 3.x using the new pipeline syntax. From 76780cab6fe770dd05475809e38d805313c7a360 Mon Sep 17 00:00:00 2001 From: ChristophW Date: Fri, 16 Dec 2022 12:59:36 +0100 Subject: [PATCH 2/2] Add changes to migration.md according to README (#30) --- docs/Migration.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/Migration.md b/docs/Migration.md index 03a06d4b..e9a70524 100644 --- a/docs/Migration.md +++ b/docs/Migration.md @@ -75,7 +75,7 @@ node('windows') { } stage('Upload Reports') { // upload generated reports into project (projectId) of TEST-GUIDE - ttUploadReports testGuideUrl: 'http://HOST:Port', authKey: 'ApIAUTheNtiCatIOnKeY0123456789', projectId: 1 + ttUploadReports credentialsId: 'tgAuthKey', projectId: 1, testGuideUrl: 'http://HOST:Port' } stage('Stop Tools') { // shutdown ECU-TEST instance