Closed nagaraju-sunkara closed 5 years ago
here is my confluence task
confluence { authentication 'base64-encoded user:pass' restApiUrl 'https://confluence.domain.com/rest/api' spaceKey 'ABC' sslTrustAll true parseTimeout 2000L pages { page { parentTitle 'ABC - Report' title "TS - ABC Validation" srcFile file("${buildDir}/reports/report.md") } } }
I have added required plugins and dependency as mentioned in the page.
Error:
10:41:10 AM: Executing task 'confluence'...
:confluence FAILED
FAILURE: Build failed with an exception.
<!DOCTYPE html>Apache Tomcat/8.0.47 - Error report HTTP Status 401 - Basic Authentication Failure - Reason : AUTHENTICATED_FAILEDtype Status reportmessage Basic Authentication Failure - Reason : AUTHENTICATED_FAILEDdescription This request requires HTTP authentication.Apache Tomcat/8.0.47
<!DOCTYPE html>
type Status report
message Basic Authentication Failure - Reason : AUTHENTICATED_FAILED
description This request requires HTTP authentication.
@nagaraju-sunkara check your authentication For example, if your user is "admin" password is "admin", auth authentication will be YWRtaW46YWRtaW4=
YWRtaW46YWRtaW4=
here is my confluence task
I have added required plugins and dependency as mentioned in the page.
Error:
10:41:10 AM: Executing task 'confluence'...
:confluence FAILED
FAILURE: Build failed with an exception.