use of org.jboss.pnc.coordinator.builder.BuildTasksInitializer in project pnc by project-ncl.
the class ReadDependenciesTest method createBuildSetTask.
public BuildSetTask createBuildSetTask(BuildConfigurationSet buildConfigurationSet, User user) throws CoreException {
BuildTasksInitializer buildTasksInitializer = new BuildTasksInitializer(datastoreAdapter, 1L);
AtomicInteger atomicInteger = new AtomicInteger(1);
BuildOptions buildOptions = new BuildOptions();
buildOptions.setRebuildMode(RebuildMode.FORCE);
return buildTasksInitializer.createBuildSetTask(buildConfigurationSet, user, buildOptions, () -> Sequence.nextBase32Id(), buildQueue.getUnfinishedTasks());
}
use of org.jboss.pnc.coordinator.builder.BuildTasksInitializer in project pnc by project-ncl.
the class StatusUpdatesTest method createBuildSetTask.
public BuildSetTask createBuildSetTask(BuildConfigurationSet buildConfigurationSet, User user) throws CoreException {
BuildTasksInitializer buildTasksInitializer = new BuildTasksInitializer(datastoreAdapter, 1L);
AtomicInteger atomicInteger = new AtomicInteger(1);
BuildOptions buildOptions = new BuildOptions();
buildOptions.setRebuildMode(RebuildMode.FORCE);
return buildTasksInitializer.createBuildSetTask(buildConfigurationSet, user, buildOptions, () -> Sequence.nextBase32Id(), buildQueue.getUnfinishedTasks());
}
Aggregations