首页 > 解决方案 > Azure Artifacts maven 发布今天早上停止工作

问题描述

直到今天早上,使用 maven-publish 插件发布到 Azure Artifactsgradle一直没有问题。在没有更改配置的情况下,管道.yml文件或build.gradle发布的文件停止工作,并出现以下消息

Could not PUT 'https://pkgs.dev.azure.com/jamarston/_packaging/jason0845/maven/v1/uk/co/jasonmarston/platform/framework/0.0.1-SNAPSHOT/framework-0.0.1-20210519.094547-14.pom'. Received status code 400 from server: Bad Request - System.Xml.XmlException: Invalid character in the given encoding. Line 1, position 1.    at System.Xml.XmlTextReaderImpl.Throw(Exception e)    at System.Xml.XmlTextReaderImpl.InvalidCharRecovery(Int32& bytesCount, Int32& charsCount)    at System.Xml.XmlTextReaderImpl.GetChars(Int32 maxCharsCount)    at System.Xml.XmlTextReaderImpl.ReadData()    at System.Xml.XmlTextReaderImpl.SwitchEncoding(Encoding newEncoding)    at System.Xml.XmlTex (DevOps Activity ID: 21839509-D780-4424-BEE5-01AAC1A6D2E4)

有人知道原因或有同样的问题吗?

标签: javaazuremavengradleartifacts

解决方案


它是固定的。MSFT 恢复了他们的更改。 https://status.dev.azure.com/_event/241774972


推荐阅读