提交 885edeb2 编写于 作者: K kohsuke

defined a getter.

git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@11282 71c3de6d-444a-0410-be80-ed276b4c234a
上级 f09a9ead
......@@ -198,6 +198,15 @@ public abstract class AbstractBuild<P extends AbstractProject<P,R>,R extends Abs
return false;
}
/**
* Gets the version of Hudson that was used to build this job.
*
* @since 1.246
*/
public String getHudsonVersion() {
return hudsonVersion;
}
protected abstract class AbstractRunner implements Runner {
/**
* Since configuration can be changed while a build is in progress,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册