提交 55bcec94 编写于 作者: K kohsuke

nah.


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@3738 71c3de6d-444a-0410-be80-ed276b4c234a
上级 b5d4e566
......@@ -728,7 +728,8 @@ public class CVSSCM extends SCM implements Serializable {
public void buildEnvVars(AbstractBuild build, Map<String, String> env) {
if(cvsRsh!=null)
env.put("CVS_RSH",cvsRsh);
env.put("CVS_BRANCH",Util.fixNull(branch));
if(branch!=null)
env.put("CVS_BRANCH",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.
先完成此消息的编辑!
想要评论请 注册