Hi Chad,

I'm trying to figure out a way to get my Hudson build number onto my
> snapshot artifact names.
>

Did you see this thread on the Jenkins mailing list?
http://jenkins.361315.n4.nabble.com/Maven-Artifacts-using-Hudson-build-numbers-td372479.html

In particular, it references this article:
http://weblogs.java.net/blog/johnsmart/archive/2008/03/using_hudson_en.html

It does a similar thing (injects build number into the JAR manifest).

-Curtis

P.S. I think screwing around with the Maven snapshot naming scheme is
asking for trouble. Putting it in the manifest seems safer to me.
Unfortunately, you didn't elaborate on *why* you want to do this, so we
can't really comment on any alternative solutions.


On Wed, Feb 15, 2012 at 12:23 PM, <[email protected]> wrote:

> I'm trying to figure out a way to get my Hudson build number onto my
> snapshot artifact names.  I noticed that the timestamp in the snapshot
> unique version number is followed by a build number.  Is there way to
> inject my own value here, the Hudson build number for instance.
>

Reply via email to