代码之家  ›  专栏  ›  技术社区  ›  Nital

如何为Jenkins中基于maven的项目创建标记

  •  1
  • Nital  · 技术社区  · 8 年前

    我正试图为我的 Java Maven 基于 helloworld-api 项目通过 Jenkins 完成构建并运行测试后。

    我的git回购(位于Bitbucket上)中只有“master”分支。

    我已经把Jenkins的工作和 Bitbucket 成功,并且正在从 钻头铲斗 服务器并进行构建。但在构建结束时,我还想创建一个标记,我不知道该怎么做。

    我不确定我需要在红色显示的必填字段中指定什么。

    我已经将git回购作为:

    https://jdoe@bitbucket.org/jdoe/helloworld-api.git
    

    enter image description here

    1 回复  |  直到 8 年前
        1
  •  2
  •   sumit singh    8 年前

    在Git中,remote name是您为远程存储库配置的别名。默认情况下,git使用 起源 作为单个远程副本的远程名称。

    所以目标远程名称可以是“ 起源 “考虑到您只有一个远程配置到git repo