Credentials used to publish the plugin are ignored
rodm opened this issue · 0 comments
rodm commented
Configuring the username and password in the publish configuration block are ignored so the publish task fails with the following exception
Caused by: java.lang.RuntimeException: Failed to upload plugin
... 61 more
Caused by: java.lang.RuntimeException: Username must be set for uploading
at org.jetbrains.intellij.pluginRepository.PluginRepositoryInstance.ensureCredentialsAreSet(pluginRepositoryRest.kt:111)
at org.jetbrains.intellij.pluginRepository.PluginRepositoryInstance.uploadPlugin(pluginRepositoryRest.kt:92)
at org.jetbrains.intellij.pluginRepository.PluginRepositoryInstance$uploadPlugin.call(Unknown Source)
at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:48)
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:113)
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:141)
at com.github.rodm.teamcity.tasks.PublishTask.publishPlugin(PublishTask.groovy:111)
... 51 more