help wanted , I'll try look again tomorrow or later on.
Tim Jacomb
added a comment - this ( https://github.com/jenkinsci/branch-api-plugin/blob/master/src/main/resources/lib/branch-api/branchSourceSelector.jelly ) seems to be a customised version of hetero-list, and some change probably needs to be ported from core. Here's my branch with where I got to but it didn't seem to help: https://github.com/jenkinsci/branch-api-plugin/compare/master...timja:JENKINS-64069-tables-to-divs?expand=1
help wanted , I'll try look again tomorrow or later on.
timja Sorry, is this by accident another failure symptom of this issue, or should I file a dedicated new one?
configuration > global pipeline libraries: configured is one from SVN, but some GitHub related elements are overlay-ing it
(Much further down are also buttons "Add repository" and "Add branch")
Reinhold Füreder
added a comment - timja Sorry, is this by accident another failure symptom of this issue, or should I file a dedicated new one?
configuration > global pipeline libraries: configured is one from SVN, but some GitHub related elements are overlay-ing it
(Much further down are also buttons "Add repository" and "Add branch")
reinholdfuereder that should be a different issue, this issue is about it being completely broken and doing nothing when you click Add source.
I've reproduced your issue and can take a look at it later on, note it's not fixed by the changes I've done to fix this issue.
Tim Jacomb
added a comment - reinholdfuereder that should be a different issue, this issue is about it being completely broken and doing nothing when you click Add source.
I've reproduced your issue and can take a look at it later on, note it's not fixed by the changes I've done to fix this issue.
Tim Jacomb
added a comment - Partially resolved this issue in branch-api 2.6.1, https://github.com/jenkinsci/branch-api-plugin/releases/tag/branch-api-2.6.1 .
More fixes needed in other plugins. Needs at least https://github.com/jenkinsci/cloudbees-folder-plugin/pull/165 and probably more
I have seen these sort of problem before in this tables-to-divs work. It was related to the ability of hudson-behaviour to build a proper tree. Maybe we need to look into it.
Félix Queiruga Balado
added a comment - - edited I have seen these sort of problem before in this tables-to-divs work. It was related to the ability of hudson-behaviour to build a proper tree. Maybe we need to look into it.
and when run from hpi:run in branch-api it works but not elsewhere
Tim Jacomb
added a comment - seems to be because the div name="source is missing.
it's here:
https://github.com/jenkinsci/branch-api-plugin/blob/e69c48a1a01c210a4703fed975ca234d85743cdb/src/main/resources/jenkins/branch/BranchSource/config.jelly#L26
and when run from hpi:run in branch-api it works but not elsewhere
Barel Elbaz
added a comment - - edited A workaround that's worth a mention here, If you face with it and you need to set Branch Source urgently you can:
Login to Jenkins via ssh
Modify ```JENKINS_HOME/jobs/<job_name>/config.xml``` - Just copy & modify from different job with working & configured branch source
Sample config:
```
<sources class="jenkins.branch.MultiBranchProject$BranchSourceList">
<data>
<jenkins.branch.BranchSource>
<source class="jenkins.plugins.git.GitSCMSource">
<id>1100</id>
<remote> <---YOUR REPO GOES HERE Ex: https://github.com/--- > </remote>
<credentialsId> YOUR_CREDENTIALS </credentialsId>
<includes>*</includes>
<excludes/>
<ignoreOnPushNotifications>false</ignoreOnPushNotifications>
</source>
<strategy class="jenkins.branch.DefaultBranchPropertyStrategy">
<properties class="empty-list"/>
</strategy>
</jenkins.branch.BranchSource>
</data>
<owner class="org.jenkinsci.plugins.workflow.multibranch.WorkflowMultiBranchProject" reference="../.."/>
</sources>
```
this (https://github.com/jenkinsci/branch-api-plugin/blob/master/src/main/resources/lib/branch-api/branchSourceSelector.jelly) seems to be a customised version of hetero-list, and some change probably needs to be ported from core. Here's my branch with where I got to but it didn't seem to help: https://github.com/jenkinsci/branch-api-plugin/compare/master...timja:JENKINS-64069-tables-to-divs?expand=1
help wanted
, I'll try look again tomorrow or later on.