jenkins 发布release 版本 [ERROR] Failed to execute goal org.apache.maven.plugins:maven-release-plugin:2.5.3:prepare (default-cli) on project recharge-parent: An error is occurred in the checkin process: Exception while executing SCM command. Detecting the current branch failed: fatal: ref HEAD is not a symbolic ref -> [Help 1] 后来发现 jenkins的工作区间中当前git 的分支是一个HEAD detached,查了下资料说切成master 就行,但是怎么在jenkins 上面配置??