首页 > 解决方案 > 从 bitbucket 管道推送 git 标签?

问题描述

我想使用axion-release-plugin哪个将标签添加到 git 存储库。

现在我想找到一种方法让 git 能够从 bitbucket 管道推送标签。

我怎样才能做到这一点?

标签: gitjgitbitbucket-serverbitbucket-pipelinesaxion-release-plugin

解决方案


好的,这很简单。

在从命令行运行 gradle 任务时,我需要添加-Dhttp.proxyHost=localhost -Dhttp.proxyPort=29418

这是因为 bitbucket 引入了与 git 存储库交互的新方法:

https://community.atlassian.com/t5/Bitbucket-Pipelines-articles/Pushing-back-to-your-repository/ba-p/958407


推荐阅读