Jenkins plugin: Environment property for Release Tag

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Jenkins plugin: Environment property for Release Tag

mattd
Hi,
I'm wondering if there is any build environment property/properties set by the Artifactory Jenkins plugin during it's special "Artifactory Release Staging" build?

The reason I ask is that we want to attach some SVN info to our artifacts' manifests telling where they came from, but on release, any SVN info we try to get still reflects the original checkout -- we'd ideally like this info to reflect the tag that's created.

Any help is appreciated.
Thanks!
Reply | Threaded
Open this post in threaded view
|

Re: Jenkins plugin: Environment property for Release Tag

itamarb
Hi Matt,

You may want to take a look at the "Deployment properties" field in the Jenkins job configuration page.
Basically, you can add properties to the artifacts using "property=value", you can type several sets of properties separated by a semicolon.
I'm not sure I fully understand your use case regarding release staging, maybe you can elaborate a bit or provide an example so I can give you the proper solution.

Regards,
Itamar
Reply | Threaded
Open this post in threaded view
|

Re: Jenkins plugin: Environment property for Release Tag

roomsg
In reply to this post by mattd