Skip to content
Branch: master
Commits on May 21, 2015
  1. Do not report the same error message twice.

    kohsuke committed May 21, 2015
    Message passed to AbortException gets printed, so it results in the same message printed twice:
    Cloning the remote Git repository
    Cloning repository
     > git init /path/blah/foo/workspace # timeout=10
    Fetching upstream changes from
     > git --version # timeout=10
    ERROR: Error cloning remote repo 'origin'
    ERROR: Error cloning remote repo 'origin'
    Finished: FAILURE
  2. Using the version that makes "mvn hpi:run" work.

    kohsuke committed May 21, 2015
    I noticed that the current combination of core and matrix plugin in
    pom.xml causes errors like the one I'm attaching below. This prevents
    "mvn hpi:run" from working correctly --- you get errors when you try to
    configure a freestyle job.
    I forgot the intricate details of matrix-plugin security fix that
    resulted in botched 1.4.1, but, I believe matrix-plugin 1.4.1 only works
    correctly with a specific version of the core.
    This combination works, though it is not the only combination that
    works. I hope this is still OK enough for Mark, as 1.580 is still old
    enough LTS release.
    Stack trace:
    May 21, 2015 4:23:36 PM hudson.ExtensionFinder$GuiceFinder$FaultTolerantScope$1 error
    WARNING: Failed to instantiate Key[type=hudson.plugins.git.GitPublisher$NoteToPush$DescriptorImpl, annotation=[none]]; skipping this component Guice provision errors:
    1) Error injecting constructor, java.lang.NoClassDefFoundError: hudson/matrix/MatrixAggregatable
      at hudson.plugins.git.GitPublisher$NoteToPush$DescriptorImpl.<init>(Unknown Source)
    1 error
            at hudson.ExtensionFinder$GuiceFinder$FaultTolerantScope$1.get(
            at hudson.ExtensionFinder$GuiceFinder._find(
            at hudson.ExtensionFinder$GuiceFinder.find(
            at hudson.ExtensionFinder._find(
            at hudson.ClassicPluginStrategy.findComponents(
            at hudson.ExtensionList.load(
            at hudson.ExtensionList.ensureLoaded(
            at hudson.ExtensionList.iterator(
            at jenkins.model.Jenkins.getDescriptor(
            at hudson.plugins.git.GitTool.onLoaded(
            at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
            at sun.reflect.NativeMethodAccessorImpl.invoke(
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(
            at java.lang.reflect.Method.invoke(
            at hudson.init.TaskMethodFinder.invoke(
            at hudson.init.TaskMethodFinder$
            at org.jvnet.hudson.reactor.Reactor.runTask(
            at jenkins.model.Jenkins$7.runTask(
            at org.jvnet.hudson.reactor.Reactor$
            at org.jvnet.hudson.reactor.Reactor$
            at java.util.concurrent.ThreadPoolExecutor.runWorker(
            at java.util.concurrent.ThreadPoolExecutor$
    Caused by: java.lang.NoClassDefFoundError: hudson/matrix/MatrixAggregatable
            at java.lang.ClassLoader.defineClass1(Native Method)
            at java.lang.ClassLoader.defineClass(
            at jenkins.util.AntClassLoader.defineClassFromData(
            at hudson.ClassicPluginStrategy$AntClassLoader2.defineClassFromData(
            at jenkins.util.AntClassLoader.getClassFromStream(
            at jenkins.util.AntClassLoader.findClassInComponents(
            at jenkins.util.AntClassLoader.findClass(
            at jenkins.util.AntClassLoader.loadClass(
            at java.lang.ClassLoader.loadClass(
            at java.lang.Class.getDeclaringClass(Native Method)
            at java.lang.Class.getEnclosingClass(
            at hudson.model.Descriptor.<init>(
            at hudson.plugins.git.GitPublisher$NoteToPush$DescriptorImpl.<init>(
            at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
            at sun.reflect.NativeConstructorAccessorImpl.newInstance(
            at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(
            at java.lang.reflect.Constructor.newInstance(
            ... 28 more
    Caused by: java.lang.ClassNotFoundException: hudson.matrix.MatrixAggregatable
            at jenkins.util.AntClassLoader.findClassInComponents(
            at jenkins.util.AntClassLoader.findClass(
            at jenkins.util.AntClassLoader.loadClass(
            at java.lang.ClassLoader.loadClass(
            ... 52 more
  3. Improved error diagnostics

    kohsuke committed May 21, 2015
    If GitException happens here, its stack trace is lost and never
    The standard idiom for this is ex.printStackTrace(listener.error(...));
    as seen elsewhere in this plugin.
Commits on Jul 21, 2014
  1. Fixed the encoding problem.

    kohsuke committed Jul 21, 2014
    Pointed out by
    The changelog is written as UTF-8, so we need to read it back as such.
    See GitSCM.computeChangeLog()
Commits on Sep 21, 2013
  1. Relying on 1.3

    kohsuke committed Sep 21, 2013
  2. Merge branch 'refactoring'

    kohsuke committed Sep 21, 2013
    2.0 is now the main branch
  3. 0.1 is already released

    kohsuke committed Sep 21, 2013
Commits on Aug 1, 2013
  1. [FIXED JENKINS-7411]

    kohsuke committed Aug 1, 2013
    Environment variables are in fact not used at all during expansions.
    This commit fixes that. As discussed in the ticket, and as done
    elsewhere, the standard convention is to use previous build's
    environment to expand polling.
    Also see JENKINS-19042
Commits on Jul 25, 2013
  1. showRevision() can return multiple commits.

    kohsuke committed Jul 25, 2013
    To exclude, entire sequence of commits need to be excluded.
  2. Upping the version

    kohsuke committed Jul 25, 2013
    I think it's appropriate to call this 2.0
Commits on Jul 23, 2013
  1. Disabled the JGit/CGit selection option.

    kohsuke committed Jul 23, 2013
    I don't think it's desirable to have two places to let the user specify which git to use (one is this switch and the other is GitTool.)
    I just made a change to the git-client plugin to allow JGit to be added as a Git installation as a first-class citizen, and I think that provides more logically consistent configuration. In case ndeloof objects to this change, I'm just commenting out the code as opposed to deleting it.
  2. Merge remote-tracking branch 'origin/master' into refactoring

    kohsuke committed Jul 23, 2013
  3. Doc improvements

    kohsuke committed Jul 23, 2013
Commits on Jul 2, 2013
  1. Making it work on slaves

    kohsuke committed Jul 2, 2013
  2. typo

    kohsuke committed Jul 2, 2013
Commits on Jun 28, 2013
  1. data compatibility fix

    kohsuke committed Jun 28, 2013
Commits on Jun 27, 2013
  1. fixing test failures

    kohsuke committed Jun 27, 2013
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.