【问题标题】:Bamboo Artifactory Generic Deploy configuration - how to use bamboo variables in artifactory spec filesBamboo Artifactory Generic Deploy 配置 - 如何在工件规范文件中使用竹变量
【发布时间】:2018-03-08 16:57:48
【问题描述】:

我正在使用 Bamboo 6.3.2 和 Artifactory Plugin 2.4.1。 我想使用“规格”将工件上传到 Artifactory 如何包含 Bamboo 变量? 现在变量被忽略了。

`

{
  "files": [
    {
      "pattern": "Konfig6000/FMZ6000-Konfiguration.zip",
      "target": "{${bamboo.planRepository.branch}}/${bamboo.buildNumber}/FMZ6000-Konfiguration.zip",
      "props": "configversion="+${bamboo.inject.configversion}+";modellversion="+${bamboo.inject.modellversion}
    }
  ]
}

`

【问题讨论】:

    标签: plugins artifactory bamboo specs


    【解决方案1】:

    使用以下规格时,Bamboo 变量已为我正确扩展:

        {
            "files": [
                {
                  "pattern": "${bamboo.build.working.directory}/BuildOutput/bin/x86/Release",
                  "target": "Appx/${bamboo.planRepository.branch}/${bamboo.buildNumber}/"
                }
            ]
        }
    

    我正在使用相同的 Artifactory 插件版本。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2020-09-16
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2014-05-02
      • 2016-07-31
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多