提交 cb0a3826 编写于 作者: K kohsuke

exposed CVS_BRANCH environment variable.


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@3736 71c3de6d-444a-0410-be80-ed276b4c234a
上级 393725ec
......@@ -728,6 +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);
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.
先完成此消息的编辑!
想要评论请 注册