use of org.jenkinsci.test.acceptance.plugins.tasks.TasksFreestyleSettings in project acceptance-test-harness by jenkinsci.
the class AnalysisCollectorPluginTest method addAndConfigureTasksPublisher.
private void addAndConfigureTasksPublisher(final FreeStyleJob job) {
TasksFreestyleSettings taskScannerSettings = job.addPublisher(TasksFreestyleSettings.class);
AnalysisConfigurator<TasksFreestyleSettings> configurator = settings -> {
settings.setHighPriorityTags("PRIO1");
settings.setNormalPriorityTags("PRIO2,TODO");
settings.setLowPriorityTags("PRIO3");
};
configurator.accept(taskScannerSettings);
}
Aggregations