I think the best way to do this is using Maven.
But if you want to keep this way, you can add another step "Execute shell"
to the job (or "Execute Windows batch command" depending of your OS) that
rename your generated WAR manually.

You can use $BUILD_NUMBER and $SVN_REVISION to rename your war file like
you want.


2013/9/16 Kamal Ahmed <[email protected]>

> Hi,
> I am running a maven build and the output artifact is saved as
> dite-application.war
>
> I would like to append versioning to the war file, like:
>
> build23_345767 < which is svn head >.dite-application.war
>
> Any idea how ? i can do this, without adding some plugin and setup to the
> pom.xml ? and JUST using Jenkins
>
> Thanks,
> -Kamal.
>
> --
> You received this message because you are subscribed to the Google Groups
> "Jenkins Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> For more options, visit https://groups.google.com/groups/opt_out.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to