Get Jenkins environment variable as input

15 views
Skip to first unread message

Thilina Madhusanka

unread,
Dec 1, 2015, 12:22:04 AM12/1/15
to Jenkins Developers
Hi 

I need to get input from user for a file name. if user enter file name like  "nameoffile$BUILD_NUMBER" 

how can i resolve this $BUILD_NUMBER to jenkins build number? 

i see it is been done in most of the plugins. like ext-email. 

can some one tell how to achieve this ?  

Thanks. 

Tomas Bjerre

unread,
Dec 1, 2015, 1:27:25 AM12/1/15
to Jenkins Developers
Reply all
Reply to author
Forward
0 new messages