jfrog / artifactory-maven-plugin

A Maven plugin to resolve artifacts from Artifactory, deploy artifacts to Artifactory, capture and publish build info.
https://www.jfrog.com/confluence/display/JFROG/Maven+Artifactory+Plugin
Apache License 2.0
24 stars 26 forks source link

Reintroduce replacement of system and environment variables #4

Closed yahavi closed 3 years ago

yahavi commented 4 years ago

Reintroduce expression syntax algorithm of environment and system variables that had been removed in 3.0.0. Usage example:

<publisher>
    <contextUrl>{{ARTIFACTORY_CONTEXT_URL|"https://oss.jfrog.org"}}</contextUrl>
    ...
</publisher>
<buildInfo>
    <buildNumber>{{DRONE_BUILD_NUMBER|TRAVIS_BUILD_NUMBER|CI_BUILD_NUMBER|BUILD_NUMBER|"333"}}</buildNumber>
    <buildUrl>{{DRONE_BUILD_URL|CI_BUILD_URL|BUILD_URL}}</buildUrl>
</buildInfo>
zumby commented 3 years ago

@yahavi @eyalbe4 when is this going to be tagged, guys ?

yahavi commented 3 years ago

@bzumby, Artifactory Maven plugin 3.1.0 is released. Feel free to use it. We'd appreciate your feedback on that.