设置历史构建版本的用户名和分支名
插件build user vars
设置用户名:
BUILD_USER |
Full name (first name + last name) |
BUILD_USER_FIRST_NAME |
First name |
BUILD_USER_LAST_NAME |
Last name |
BUILD_USER_ID |
Jenkins user ID |
BUILD_USER_EMAIL |
Email address |
Build Name Setter:
构建历史获取用户名.
设置项目的时候钩上build环境的2个选项:
获取名字的方式:
#${BUILD_NUMBER}—构建人[${BUILD_USER}]—分支名[${ENV,var="branch"}]