maven - Jenkins Build Number stamp -
when build new version of project jenkins, new build number placed in project? there way can access in code?
it not placed default: build number used jenkins visible/accesible during job execution environment variable build_number.
there plugins helping infer more meaningful version number:
but again, generate environment variables, don't "place" version number project.
have do, part of build steps. see concrete example in "how include jenkins ci build number in android apk name & app label"
Comments
Post a Comment