jenkinsci / coordinator-plugin

Make deployment done by a single click.
https://plugins.jenkins.io/coordinator/
Other
16 stars 10 forks source link

Increase Thread Pool from 10 #58

Open JamesAGrey opened 6 months ago

JamesAGrey commented 6 months ago

https://github.com/jenkinsci/coordinator-plugin/blob/7cd7b685db90190cffd72ee2e2db6745da9d053f/src/main/java/org/jenkinsci/plugins/coordinator/model/CoordinatorBuilder.java#L57

Are there any plans to make this number configurable? I propose changing this number from 10 to 20, or even higher. Is there a reason it is 10?

JamesAGrey commented 6 months ago

I am running into errors when building this project. Any help resolving this would be most appreciated.

Here is what I'm seeing on Fedora 39:

[INFO] --- resources:2.7:resources (default-resources) @ coordinator --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Copying 18 resources [INFO] [INFO] --- compiler:3.3:compile (default-compile) @ coordinator --- [INFO] Changes detected - recompiling the module! [INFO] Compiling 9 source files to /home/andy/swdev/coordinator-plugin/target/classes [INFO] /home/andy/swdev/coordinator-plugin/src/main/java/org/jenkinsci/plugins/coordinator/model/CoordinatorProject.java: /home/andy/swdev/coordinator-plugin/src/main/java/org/jenkinsci/plugins/coordinator/model/CoordinatorProject.java uses or overrides a deprecated API. [INFO] /home/andy/swdev/coordinator-plugin/src/main/java/org/jenkinsci/plugins/coordinator/model/CoordinatorProject.java: Recompile with -Xlint:deprecation for details. [INFO] ------------------------------------------------------------- [ERROR] COMPILATION ERROR : [INFO] ------------------------------------------------------------- [ERROR] java.nio.file.NoSuchFileException: /home/andy/swdev/coordinator-plugin/target/classes/META-INF/annotations/org.kohsuke.accmod.Restricted [ERROR] java.nio.file.NoSuchFileException: /home/andy/swdev/coordinator-plugin/target/classes/META-INF/annotations/com.infradna.tool.bridge_method_injector.WithBridgeMethods [ERROR] java.nio.file.NoSuchFileException: /home/andy/swdev/coordinator-plugin/target/classes/META-INF/annotations/org.kohsuke.stapler.export.ExportedBean [ERROR] java.nio.file.NoSuchFileException: /home/andy/swdev/coordinator-plugin/target/classes/META-INF/annotations/hudson.Extension [INFO] 4 errors [INFO] ------------------------------------------------------------- [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 5.719 s [INFO] Finished at: 2024-03-12T18:09:46-07:00 [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.3:compile (default-compile) on project coordinator: Compilation failure: Compilation failure: [ERROR] java.nio.file.NoSuchFileException: /home/andy/swdev/coordinator-plugin/target/classes/META-INF/annotations/org.kohsuke.accmod.Restricted [ERROR] java.nio.file.NoSuchFileException: /home/andy/swdev/coordinator-plugin/target/classes/META-INF/annotations/com.infradna.tool.bridge_method_injector.WithBridgeMethods [ERROR] java.nio.file.NoSuchFileException: /home/andy/swdev/coordinator-plugin/target/classes/META-INF/annotations/org.kohsuke.stapler.export.ExportedBean [ERROR] java.nio.file.NoSuchFileException: /home/andy/swdev/coordinator-plugin/target/classes/META-INF/annotations/hudson.Extension [ERROR] -> [Help 1] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException