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

Grails build fails with empty build parameter

    Details

    • Type: Bug
    • Status: Open (View Workflow)
    • Priority: Major
    • Resolution: Unresolved
    • Component/s: grails-plugin
    • Labels:
      None
    • Environment:
      Jenkins: 1.776
      Grails Plugin: 1.6.3
      Grails: 2.0.4
    • Similar Issues:

      Description

      We are using Jenkins to build our Grails project. The build is configured via parameters, one of them (Qualifier) possibly being empty. The parameter values are automatically passed to the war command with the -D option. This leads to an error, because of the empty parameter. A solution in my optinion would be to omit empty parameters from passing them to the grails command.

      Logfile:

      [MDA_Grails] $ cmd.exe /C C:\Tools\grails\grails-2.0.4\bin\grails.bat -DBranch=release-GQS -DClose=false -DQualifier= -DVersion=GQS-0.9.0 -DPush=true war --non-interactive && exit %%ERRORLEVEL%%

      Loading Grails 2.0.4
      Configuring classpath
      Running pre-compiled script
      Error Script not found: GQS0.9.0

        Attachments

          Activity

          There are no comments yet on this issue.

            People

            • Assignee:
              jeffg2one jeffg2one
              Reporter:
              manueln Manuel Niederkofler
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: