本文整理了Java中hudson.model.AbstractBuild.calcChangeSet()
方法的一些代码示例,展示了AbstractBuild.calcChangeSet()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。AbstractBuild.calcChangeSet()
方法的具体详情如下:
包路径:hudson.model.AbstractBuild
类名称:AbstractBuild
方法名:calcChangeSet
暂无
代码示例来源:origin: jenkinsci/jenkins
/**
* Gets the changes incorporated into this build.
*
* @return never null.
*/
@Exported
@Nonnull public ChangeLogSet<? extends Entry> getChangeSet() {
synchronized (changeSetLock) {
if (scm==null) {
scm = NullChangeLogParser.INSTANCE;
}
}
ChangeLogSet<? extends Entry> cs = null;
if (changeSet!=null)
cs = changeSet.get();
if (cs==null)
cs = calcChangeSet();
// defensive check. if the calculation fails (such as through an exception),
// set a dummy value so that it'll work the next time. the exception will
// be still reported, giving the plugin developer an opportunity to fix it.
if (cs==null)
cs = ChangeLogSet.createEmpty(this);
changeSet = new WeakReference<ChangeLogSet<? extends Entry>>(cs);
return cs;
}
代码示例来源:origin: org.jenkins-ci.main/jenkins-core
/**
* Gets the changes incorporated into this build.
*
* @return never null.
*/
@Exported
@Nonnull public ChangeLogSet<? extends Entry> getChangeSet() {
synchronized (changeSetLock) {
if (scm==null) {
scm = NullChangeLogParser.INSTANCE;
}
}
ChangeLogSet<? extends Entry> cs = null;
if (changeSet!=null)
cs = changeSet.get();
if (cs==null)
cs = calcChangeSet();
// defensive check. if the calculation fails (such as through an exception),
// set a dummy value so that it'll work the next time. the exception will
// be still reported, giving the plugin developer an opportunity to fix it.
if (cs==null)
cs = ChangeLogSet.createEmpty(this);
changeSet = new WeakReference<ChangeLogSet<? extends Entry>>(cs);
return cs;
}
代码示例来源:origin: org.eclipse.hudson.main/hudson-core
changeSet = calcChangeSet();
} finally {
代码示例来源:origin: hudson/hudson-2.x
changeSet = calcChangeSet();
} finally {
代码示例来源:origin: org.jvnet.hudson.main/hudson-core
changeSet = calcChangeSet();
} finally {
代码示例来源:origin: org.eclipse.hudson/hudson-core
changeSet = calcChangeSet();
} finally {
内容来源于网络,如有侵权,请联系作者删除!