qwazer / markdown-confluence-gradle-plugin

Gradle plugin to publish markdown pages to confluence
Apache License 2.0
12 stars 16 forks source link

Unable to authenticate confluence #15

Closed nagaraju-sunkara closed 5 years ago

nagaraju-sunkara commented 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.

qwazer commented 5 years ago

@nagaraju-sunkara check your authentication For example, if your user is "admin" password is "admin", auth authentication will be YWRtaW46YWRtaW4=