Skip to content

-DpullRequestTitle with spaces breaks my grails builds #70

@Gazer

Description

@Gazer

I found on a grails project that the spaces on pullRequestTitle breaks my builds with :

/mnt/jenkins/tools/com.g2one.hudson.grails.GrailsInstallation/2.2.3/grails-2.2.3/bin/grails -DsourceBranch=b-log-error -DdestinationRepositoryName=backend -DpullRequestId=80 -DdestinationRepositoryOwner=someowner -DrepositoryName=backend "-DpullRequestTitle=bug- log a full trace of exeption in friendship service." -DtargetBranch=develop -DrepositoryOwner=someowner -Dgrails.work.dir=/mnt/jenkins/workspace/PR-Checker//target -Dgrails.env=dev2 compile --non-interactive --plain-output --refresh-dependencies
|Loading Grails 2.2.3
|Configuring classpath
|Running pre-compiled script
Error |
Script not found: Log

I've cloned the project on my pc, run the command manually and get the same error. If I remove the "-DpullRequestTitle...." the project build fine :

|Compiling 259 source files
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
..
|Compiling 139 source files

Any ideas on how to solve the problem? I don't remember having this problem on my android jobs.

Edit : I found an old grails bug report about this problem https://jira.grails.org/browse/GRAILS-11351

Metadata

Metadata

Assignees

No one assigned

    Labels

    aged outReporter went idle, or too much time has passed to validate

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions