-
Bug
-
Resolution: Fixed
-
Major
-
None
-
token-makro 1.8.1
git-client 1.1.1
git-plugin 1.4.0
git-server 1.1
scriptler 2.6.1
Creating or uploading script causes java.lang.NoSuchMethodError: org.eclipse.jgit.storage.file.FileRepositoryBuilder.build()Lorg/eclipse/jgit/storage/file/FileRepository. The script is not saved.
Discovered by selenium test suite[1].
[1] https://jenkins.ci.cloudbees.com/job/selenium-tests/183/consoleFull
Reproducing features:
features/scriptler_plugin.feature:7 # Scenario: Run new script
features/scriptler_plugin.feature:14 # Scenario: Run new parameterized script
features/scriptler_plugin.feature:23 # Scenario: Delete script
features/scriptler_plugin.feature:32 # Scenario: Run script on particular slave
features/scriptler_plugin.feature:41 # Scenario: Run script on master
features/scriptler_plugin.feature:50 # Scenario: Run script on all nodes
features/scriptler_plugin.feature:59 # Scenario: Run script on all slaves
features/scriptler_plugin.feature:70 # Scenario: Create and run parameterized test
features/scriptler_plugin.feature:83 # Scenario: Override default parameters
Yep, plugin not-functional with current jgit
Update: I have another server with same versions of both git-server and scriptler which works fine. Upon comparing the two, I found that git-client was an older version (1.0.7) on the working server vs 1.1.1 on the one with this issue. I downgraded the server having a problem and it is working now.
Hope this helps tracking this down.