0

I am trying to get and display the current build number from Jenkins into a jsp. I have come to know that jenkins have the environment variable BUILD_NUMBER which potentially can give me what I am looking for but how can I display it in a jsp.

May I do something like ${BUILD_NUMBER} in my jsp, so after running the Maven build command in Jenkins the build number would show up?

I don't have any code to show.

Thanks.

Mike
  • 727
  • 2
  • 13
  • 37

0 Answers0