I'm using Jenkins for my Android app builds. On every build, I get some info, like build number, etc...
I'm searching a way to read the versionName
value of in the build.gradle
when Jenkins build the job. I know we can get the buildNumber with the $BUILD_NUMBER
env variable, but how to get the versionName
?