Re: Jenkins auto-prepends PATH with path to java. How to disable?

2021-06-13 Thread basi...@gmail.com
Found answer https://stackoverflow.com/a/67965737/447503 четверг, 10 июня 2021 г. в 17:39:55 UTC+3, basi...@gmail.com: > > In a Free-form project I use "Inject environment variables": > > JAVA_HOME=/u01/jenkins/jdk1.8.0_181/jre > > PATH=/u01/jenkins/jdk1.8.0_181/jre/bin:/u01/jenkins/apa

Github Committer Authorization Strategy: user repository permissions

2021-06-13 Thread Samuel Bernardo
Hi, Looking for anyone that could help me to use github committer authorization strategy since I can't get it working with user repository permissions. Adding users with admin, write and read only roles to organization and repositories always gives same permissions to all users. Only possibl

Skip Initial Build on First Branch Indexing: Skipping for all new branches

2021-06-13 Thread Sverre Moe
I tried to add a BuildStrategy to the BranchSource, to skip the first branch indexing. I did this to avoid Jenkins to build all branches after changing the SCM configuration. Otherwise Jenkins would have to build 400+ repositoris with 20-30 branches in each. final def buildStrategies = new

Re: Upgraded Plugins: Jenkins fails to start

2021-06-13 Thread Sverre Moe
No reason. We now use the Code Coverage API, so just uninstalled the JaCoCo Plugin. tirsdag 8. juni 2021 kl. 21:12:51 UTC+2 skrev ullrich...@gmail.com: > Is there a reason that you are still using the old and unmaintained JaCoCo > plugin and not the code-coverage-api plugin? The functionality s