Set up Jenkins+Maven+Git [Ubuntu/Win7]

Discussion in 'Plugin Development' started by Hwo, Sep 7, 2011.

Thread Status:
Not open for further replies.
  1. Offline

    Hwo

    Need tutorial about setting up Jenkins CI for plugin develop.
    Ofc i was search firstly, and install Jenkins and try to set up.
    But i have build errors and don't know how to fix.

    Like this
    Code:
    Warning : There are multiple branch changesets here
     your Apache Maven build is setup to use a config with id  but cannot find the config
     your Apache Maven build is setup to use a global settings config with id  but cannot find the config
    Parsing POMs
    [workspace] $ C:\glassfish3\jdk/bin/java -cp C:\Users\4<8=8AB@0B>@\.jenkins\plugins\maven-plugin\WEB-INF\lib\maven-agent-1.2.jar;C:\Users\Администратор\.jenkins\tools\Maven\boot\classworlds-1.1.jar hudson.maven.agent.Main C:\Users\Администратор\.jenkins\tools\Maven C:\Users\4<8=8AB@0B>@\.jenkins\war\WEB-INF\lib\remoting-2.4.jar C:\Users\4<8=8AB@0B>@\.jenkins\plugins\maven-plugin\WEB-INF\lib\maven-interceptor-1.2.jar 60377 C:\Users\4<8=8AB@0B>@\.jenkins\plugins\maven-plugin\WEB-INF\lib\maven2.1-interceptor-1.2.jar
    java.lang.NoClassDefFoundError: hudson/maven/agent/Main
    Caused by: java.lang.ClassNotFoundException: hudson.maven.agent.Main
        at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
        at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
    Could not find the main class: hudson.maven.agent.Main.  Program will exit.
    Wait for help. Thx.
     
  2. Offline

    iffa

Thread Status:
Not open for further replies.

Share This Page