Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-20098

GitClient.getRepository deprecated and broken

      When computing the changelog using GerritTriggerBuildChooser an UnsupportedOperationException is thrown

          [JENKINS-20098] GitClient.getRepository deprecated and broken

          Code changed in jenkins
          User: Robert Sandell
          Path:
          gerrithudsontrigger/pom.xml
          gerrithudsontrigger/src/main/java/com/sonyericsson/hudson/plugins/gerrit/trigger/hudsontrigger/GerritTriggerBuildChooser.java
          gerrithudsontrigger/src/test/java/com/sonyericsson/hudson/plugins/gerrit/trigger/hudsontrigger/GerritTriggerTest.java
          pom.xml
          http://jenkins-ci.org/commit/gerrit-trigger-plugin/599cea84849432d3e12f427237025680e8276dce
          Log:
          Fix JENKINS-20098

          Also bumping core dependency to 1.480
          it would be strange to keep to 1.424
          since git-client requires 1.480.

          SCM/JIRA link daemon added a comment - Code changed in jenkins User: Robert Sandell Path: gerrithudsontrigger/pom.xml gerrithudsontrigger/src/main/java/com/sonyericsson/hudson/plugins/gerrit/trigger/hudsontrigger/GerritTriggerBuildChooser.java gerrithudsontrigger/src/test/java/com/sonyericsson/hudson/plugins/gerrit/trigger/hudsontrigger/GerritTriggerTest.java pom.xml http://jenkins-ci.org/commit/gerrit-trigger-plugin/599cea84849432d3e12f427237025680e8276dce Log: Fix JENKINS-20098 Also bumping core dependency to 1.480 it would be strange to keep to 1.424 since git-client requires 1.480.

          Code changed in jenkins
          User: Robert Sandell
          Path:
          gerrithudsontrigger/pom.xml
          gerrithudsontrigger/src/main/java/com/sonyericsson/hudson/plugins/gerrit/trigger/hudsontrigger/GerritTriggerBuildChooser.java
          gerrithudsontrigger/src/test/java/com/sonyericsson/hudson/plugins/gerrit/trigger/hudsontrigger/GerritTriggerTest.java
          pom.xml
          http://jenkins-ci.org/commit/gerrit-trigger-plugin/4ff1718e581ef9687f6152252a912609f9881b86
          Log:
          Fix JENKINS-20098

          Also bumping core dependency to 1.480
          it would be strange to keep to 1.424
          since git-client requires 1.480.

          SCM/JIRA link daemon added a comment - Code changed in jenkins User: Robert Sandell Path: gerrithudsontrigger/pom.xml gerrithudsontrigger/src/main/java/com/sonyericsson/hudson/plugins/gerrit/trigger/hudsontrigger/GerritTriggerBuildChooser.java gerrithudsontrigger/src/test/java/com/sonyericsson/hudson/plugins/gerrit/trigger/hudsontrigger/GerritTriggerTest.java pom.xml http://jenkins-ci.org/commit/gerrit-trigger-plugin/4ff1718e581ef9687f6152252a912609f9881b86 Log: Fix JENKINS-20098 Also bumping core dependency to 1.480 it would be strange to keep to 1.424 since git-client requires 1.480.

          Code changed in jenkins
          User: Robert Sandell
          Path:
          gerrithudsontrigger/pom.xml
          gerrithudsontrigger/src/test/java/com/sonyericsson/hudson/plugins/gerrit/trigger/project/GerritTriggerProjectHudsonTest.java
          http://jenkins-ci.org/commit/gerrit-trigger-plugin/b9eeee055d5f5f51b11e7f2c68dd0bf755d74a0a
          Log:
          Temporary fix to get JENKINS-20098 onto gt 2.10.2

          cherry-picked some commits and removed a flaky test.

          Compare: https://github.com/jenkinsci/gerrit-trigger-plugin/compare/4ff1718e581e^...b9eeee055d5f

          SCM/JIRA link daemon added a comment - Code changed in jenkins User: Robert Sandell Path: gerrithudsontrigger/pom.xml gerrithudsontrigger/src/test/java/com/sonyericsson/hudson/plugins/gerrit/trigger/project/GerritTriggerProjectHudsonTest.java http://jenkins-ci.org/commit/gerrit-trigger-plugin/b9eeee055d5f5f51b11e7f2c68dd0bf755d74a0a Log: Temporary fix to get JENKINS-20098 onto gt 2.10.2 cherry-picked some commits and removed a flaky test. Compare: https://github.com/jenkinsci/gerrit-trigger-plugin/compare/4ff1718e581e ^...b9eeee055d5f

          Code changed in jenkins
          User: Robert Sandell
          Path:
          gerrithudsontrigger/pom.xml
          gerrithudsontrigger/src/test/java/com/sonyericsson/hudson/plugins/gerrit/trigger/project/GerritTriggerProjectHudsonTest.java
          http://jenkins-ci.org/commit/gerrit-trigger-plugin/3d51ff1d1ed5624a4d6a3e54d118c0dc386a6c0a
          Log:
          Temporary fix to get JENKINS-20098 onto gt 2.10.2

          cherry-picked some commits and removed a flaky test.

          SCM/JIRA link daemon added a comment - Code changed in jenkins User: Robert Sandell Path: gerrithudsontrigger/pom.xml gerrithudsontrigger/src/test/java/com/sonyericsson/hudson/plugins/gerrit/trigger/project/GerritTriggerProjectHudsonTest.java http://jenkins-ci.org/commit/gerrit-trigger-plugin/3d51ff1d1ed5624a4d6a3e54d118c0dc386a6c0a Log: Temporary fix to get JENKINS-20098 onto gt 2.10.2 cherry-picked some commits and removed a flaky test.

          Kevin Cai added a comment -

          This issue completely broke my Jenkins system integration with gerrit review. I have to build snapshot version of gerrit plugin from source code (2.12 branch) to make things work. Don't know why not release new version of gerrit plugin to address this issue with high priority.

          Kevin Cai added a comment - This issue completely broke my Jenkins system integration with gerrit review. I have to build snapshot version of gerrit plugin from source code (2.12 branch) to make things work. Don't know why not release new version of gerrit plugin to address this issue with high priority.

          rsandell added a comment -

          There is a beta version of 2.11 released since a bit over a month back.
          If you don't dare to run the beta then there is a special 2.10 branch with this fix in

          https://github.com/jenkinsci/gerrit-trigger-plugin/tree/git-client-fix

          rsandell added a comment - There is a beta version of 2.11 released since a bit over a month back. If you don't dare to run the beta then there is a special 2.10 branch with this fix in https://github.com/jenkinsci/gerrit-trigger-plugin/tree/git-client-fix

          Kevin Cai added a comment - - edited

          I have to run with the beta version, and so far it looks good.

          Thanks!

          Kevin Cai added a comment - - edited I have to run with the beta version, and so far it looks good. Thanks!

            rsandell rsandell
            rsandell rsandell
            Votes:
            3 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated: