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

GitClient.getRepository deprecated and broken

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      When computing the changelog using GerritTriggerBuildChooser an UnsupportedOperationException is thrown

        Attachments

          Activity

          Hide
          scm_issue_link 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.

          Show
          scm_issue_link 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.
          Hide
          scm_issue_link 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.

          Show
          scm_issue_link 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.
          Hide
          scm_issue_link 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

          Show
          scm_issue_link 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
          Hide
          scm_issue_link 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.

          Show
          scm_issue_link 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.
          Hide
          kevincai 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.

          Show
          kevincai 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.
          Hide
          rsandell 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

          Show
          rsandell 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
          Hide
          kevincai Kevin Cai added a comment - - edited

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

          Thanks!

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

            People

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

              Dates

              • Created:
                Updated: