how to include Jenkins Build Number in Ant script - quick question
2,251 views
Skip to first unread message
Z W
unread,
Nov 29, 2012, 10:20:34 PM11/29/12
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to jenkins...@googlegroups.com
Hi
We like to sync up Jenkins build number with our version.xml file.
Is there a way to include Jenkins build number in our main ant script
build.xml so that it would write to our version.xml ?
Thanks
Benjamin Lau
unread,
Nov 29, 2012, 10:22:51 PM11/29/12
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to jenkins...@googlegroups.com
Take a look at XmlTask for Ant. You can then update your xml file using xpath.
Andreas Schilling
CAE Processes & Data Management
-------------------------------------------------------------------
Dipl. Inf. Andreas Schilling
Senior Software Architect