Jenkins-Artifactory - revision or build number in file name.

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

Jenkins-Artifactory - revision or build number in file name.

asabigue

Hi all.

I am trying to include build (or SVN revision number) in the artifact being published.

I modifyied the Artifact Pattern variable in order to include the variable like:

[organisation]/[module]/[revision]/[artifact]-[revision](-[classifier]).s${SVN_REVISION}.[ext]


The problem is that the generated POM does not include the .s${SVN_REVISION}. part of the artifact name, thus, other builds are unable to use the build artifact.

Could you please provide guidance on what we are trying to do or confirm that it is impossible to do it?

Thanks in advance


ariel

------------------------------------------------------------------------------
Mobile security can be enabling, not merely restricting. Employees who
bring their own devices (BYOD) to work are irked by the imposition of MDM
restrictions. Mobile Device Manager Plus allows you to control only the
apps on BYO-devices by containerizing them, leaving personal data untouched!
https://ad.doubleclick.net/ddm/clk/304595813;131938128;j
_______________________________________________
Artifactory-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/artifactory-users
Reply | Threaded
Open this post in threaded view
|

Jenkins-Artifactory - revision or build number in file name.

asabigue
Hi all.

I am trying to include build (or SVN revision number) in the artifact being published.

I modifyied the Artifact Pattern variable in order to include the variable like:

[organisation]/[module]/[revision]/[artifact]-[revision](-[classifier]).s${SVN_REVISION}.[ext]


The problem is that the generated POM does not include the .s${SVN_REVISION}. part of the artifact name, thus, other builds are unable to use the build artifact.

Could you please provide guidance on what we are trying to do or confirm that it is impossible to do it?

Thanks in advance


ariel

------------------------------------------------------------------------------
Mobile security can be enabling, not merely restricting. Employees who
bring their own devices (BYOD) to work are irked by the imposition of MDM
restrictions. Mobile Device Manager Plus allows you to control only the
apps on BYO-devices by containerizing them, leaving personal data untouched!
https://ad.doubleclick.net/ddm/clk/304595813;131938128;j
_______________________________________________
Artifactory-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/artifactory-users