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

New version of command line git deprecates "whatchanged", breaks changeset retrieval by bitbucket plugin

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Critical Critical
    • git-client-plugin
    • None

      09:31:16 using credential *******bb*09:31:16 Cloning the remote Git repository*09:31:16* Cloning repository ssh://git@usa0300lv6220.sdsp.mc.xerox.com:7999/disc/scm.git*09:31:16* > /usr/bin/git init /opt/workspace/jenkins/git/release/D8.5.1/scm # timeout=10*09:31:16* Fetching upstream changes from ssh://git@usa0300lv6220.sdsp.mc.xerox.com:7999/disc/scm.git*09:31:16* > /usr/bin/git --version # timeout=10*09:31:16* > git --version # 'git version 2.51.0'09:31:16 using GIT_SSH to set credentials 09:31:16 Verifying host key using known hosts file*09:31:17* > /usr/bin/git fetch --tags --force --progress – ssh://git@usa0300lv6220.sdsp.mc.xerox.com:7999/disc/scm.git +refs/heads/:refs/remotes/scm/ # timeout=30*09:31:19* > /usr/bin/git config remote.scm.url ssh://git@usa0300lv6220.sdsp.mc.xerox.com:7999/disc/scm.git # timeout=10*09:31:19* > /usr/bin/git config --add remote.scm.fetch +refs/heads/:refs/remotes/scm/ # timeout=10*09:31:19* Avoid second fetch*09:31:19* > /usr/bin/git rev-parse scm/trunk^{commit} # timeout=10*09:31:19* Checking out Revision 9edb59a5a19951f76e6673532d78e142bd6f655f (scm/trunk)09:31:19 > /usr/bin/git config core.sparsecheckout # timeout=10*09:31:19* > /usr/bin/git checkout -f 9edb59a5a19951f76e6673532d78e142bd6f655f # timeout=10*09:31:19* > /usr/bin/git branch -a -v --no-abbrev # timeout=10*09:31:19* > /usr/bin/git checkout -b trunk 9edb59a5a19951f76e6673532d78e142bd6f655f # timeout=10*09:31:19* Commit message: "Pull request #28: DAR-1012420-version-update-in-file-comparison"09:31:19 > /usr/bin/git rev-list --no-walk 28362d20956fdf9f09f6b5a36f87d2c0b857dd67 # timeout=10*09:31:19* 'git whatchanged' is nominated for removal.09:31:19 If you still use this command, please add an extra*09:31:19* option, '-i-still-use-this', on the command line*09:31:19* and let us know you still use it by sending an e-mail*09:31:19* to <git@vger.kernel.org>. Thanks.09:31:19 fatal: refusing to run without --i-still-use-this*09:31:19* ERROR: Unable to retrieve changeset*09:31:19* *******.plugins.git.GitException: Error: /usr/bin/git whatchanged -no-abbrev -M "-format=commit %H%ntree %T%nparent %P%nauthor %aN <%aE> %ai%ncommitter %cN <%cE> %ci%n%n%w(0,4,4)%B" [omitted text]*09:31:19 at PluginClassLoader for git-client//org.jenkinsci.plugins.gitclient.CliGitAPIImpl$6.execute(CliGitAPIImpl.java:1333)09:31:19 at PluginClassLoader for git-client//org.jenkinsci.plugins.gitclient.RemoteGitImpl$CommandInvocationHandler$GitCommandMasterToSlaveCallable.call(RemoteGitImpl.java:173)09:31:19 at PluginClassLoader for git-client//org.jenkinsci.plugins.gitclient.RemoteGitImpl$CommandInvocationHandler$GitCommandMasterToSlaveCallable.call(RemoteGitImpl.java:164)09:31:19 at *******.remoting.UserRequest.perform(UserRequest.java:225)*09:31:19 at *******.remoting.UserRequest.perform(UserRequest.java:50)*09:31:19 at *******.remoting.Request$2.run(Request.java:391)*09:31:19 at *******.remoting.InterceptingExecutorService.lambda$wrap$0(InterceptingExecutorService.java:81)*09:31:19 at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:317)09:31:19 at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144)09:31:19 at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642)09:31:19 at java.base/java.lang.Thread.run(Thread.java:1583)09:31:19 Suppressed: *******.remoting.Channel$CallSiteStackTrace: Remote call to build-328*09:31:19 at *******.remoting.Channel.attachCallSiteStackTrace(Channel.java:1916)*09:31:19 at *******.remoting.UserRequest$ExceptionResponse.retrieve(UserRequest.java:384)*09:31:19 at *******.remoting.Channel.call(Channel.java:1108)*09:31:19 at PluginClassLoader for git-client//org.jenkinsci.plugins.gitclient.RemoteGitImpl$CommandInvocationHandler.execute(RemoteGitImpl.java:155)09:31:19 at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)09:31:19 at java.base/java.lang.reflect.Method.invoke(Method.java:580)09:31:19 at PluginClassLoader for git-client//org.jenkinsci.plugins.gitclient.RemoteGitImpl$CommandInvocationHandler.invoke(RemoteGitImpl.java:140)09:31:19 at PluginClassLoader for git-client/jdk.proxy21/jdk.proxy21.$Proxy140.execute(Unknown Source)09:31:19 at PluginClassLoader for git//*******.plugins.git.GitSCM.computeChangeLog(GitSCM.java:1511)*09:31:19 at PluginClassLoader for git//*******.plugins.git.GitSCM._checkout(GitSCM.java:1390)*09:31:19 at PluginClassLoader for git//*******.plugins.git.GitSCM.checkout(GitSCM.java:1278)*09:31:19 at PluginClassLoader for atlassian-bitbucket-server-integration//com.atlassian.bitbucket.jenkins.internal.scm.BitbucketSCM.checkout(BitbucketSCM.java:187)09:31:19 at *******.scm.SCM.checkout(SCM.java:540)*09:31:19 at *******.model.AbstractProject.checkout(AbstractProject.java:1250)*09:31:19 at *******.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:649)*09:31:19 at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:85)09:31:19 at *******.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:522)*09:31:19 at *******.model.Run.execute(Run.java:1860)*09:31:19 at *******.model.FreeStyleBuild.run(FreeStyleBuild.java:44)*09:31:19 at *******.model.ResourceController.execute(ResourceController.java:101)*09:31:19 at ********.model.Executor.run(Executor.java:454)

            Unassigned Unassigned
            cknowlto Christopher Knowlton
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: