从bitbucket管道中推送git标签?

时间:2019-02-13 17:45:38

标签: git jgit bitbucket-server bitbucket-pipelines axion-release-plugin

我想使用axion-release-plugin来向git存储库添加标签。

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

我该如何实现?

1 个答案:

答案 0 :(得分:1)

好吧,很简单。

在从命令行运行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