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

Can't get grails plugin executing target command

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • grails-plugin
    • None
    • XP, grails 2.2.2

      Hi,

      I've configured a simple task in my jenkins using the garils plugin in order to deals with 2.2.2 garisl project (Project configuration in attachement)

      I finish with the folowing output:
      [administrateur-ldap] $ cmd.exe /C '""C:\Program Files\grails-2.2.2\bin\grails.bat" "-Dgrails.work.dir=/C:/Program Files/Jenkins/jobs/GrailsTest/workspace//target" upgrade --non-interactive --plain-output --refresh-dependencies && exit %%ERRORLEVEL%%"'
      La syntaxe de la commande est incorrecte.
      java.lang.NoClassDefFoundError: Files/Jenkins/jobs/GrailsTest/workspace//target=upgrade
      Caused by: java.lang.ClassNotFoundException: Files.Jenkins.jobs.GrailsTest.workspace..target=upgrade
      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:307)
      at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
      at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
      Could not find the main class: Files/Jenkins/jobs/GrailsTest/workspace//target=upgrade. Program will exit.
      Exception in thread "main" Build step 'Build With Grails' marked build as failure
      Finished: FAILURE

      Any help please?

      Thanks

        1. Conf-grails.JPG
          72 kB
          Mohamed Ali BEN TAHER

            jeffg2one jeffg2one
            dali_ing Mohamed Ali BEN TAHER
            Votes:
            2 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: