コード例 #1
0
ファイル: JoinAction.java プロジェクト: abayer/join-plugin
 public JoinAction(
     JoinTrigger joinTrigger, BuildTrigger buildTrigger, ArrayList<String> otherDownstream) {
   this.pendingDownstreamProjects = new LinkedList<String>();
   if (buildTrigger != null) {
     for (AbstractProject project : buildTrigger.getChildProjects()) {
       if (!project.isDisabled()) {
         this.pendingDownstreamProjects.add(project.getName());
       }
     }
   }
   for (String proj : otherDownstream) {
     this.pendingDownstreamProjects.add(proj.trim());
   }
   this.joinProjects = joinTrigger.getJoinProjectsValue();
   this.joinPublishers = joinTrigger.getJoinPublishers();
   this.evenIfDownstreamUnstable = joinTrigger.getEvenIfDownstreamUnstable();
   this.completedDownstreamProjects = new LinkedList<String>();
   this.consideredBuilds = new LinkedList<String>();
   this.overallResult = Result.SUCCESS;
 }
コード例 #2
0
ファイル: AbstractBuild.java プロジェクト: mervynli/hudson
 public void cleanUp(BuildListener listener) throws Exception {
   BuildTrigger.execute(AbstractBuild.this, listener);
   buildEnvironments = null;
 }