提交 b5d4e566 编写于 作者: K kohsuke

use empty value if trunk.


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@3737 71c3de6d-444a-0410-be80-ed276b4c234a
上级 cb0a3826
......@@ -728,8 +728,7 @@ public class CVSSCM extends SCM implements Serializable {
public void buildEnvVars(AbstractBuild build, Map<String, String> env) {
if(cvsRsh!=null)
env.put("CVS_RSH",cvsRsh);
if(branch!=null)
env.put("CVS_BRANCH",branch);
env.put("CVS_BRANCH",Util.fixNull(branch));
String cvspass = getDescriptor().getCvspassFile();
if(cvspass.length()!=0)
env.put("CVS_PASSFILE",cvspass);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册