0

如何将pom.xml(maven)版本号添加到管道中的 Artifactory 存储库路径。

resource_types:
  - name: artifactory
    type: docker-image
    source:
      repository: pivotalservices/artifactory-resource

resources:
  - name: artifactory-racer-webapi-app
    type: artifactory
    check_every: 167h
    source:
      endpoint: https://artifactory.xxxx/artifactory
      repository: "/xxx-libs-releases/xxxx-webapi-app/<version>"
      regex: xxx-webapi-app-(?<version>.*).jar
      username: ((username))

与我对正则表达式的想法相同。

4

0 回答 0