从bitbucket管道推送git标签?

问题描述 投票:1回答:1

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

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

我怎么能做到这一点?

git jgit bitbucket-server bitbucket-pipelines axion-release-plugin
1个回答
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

© www.soinside.com 2019 - 2024. All rights reserved.