Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

META-INF/grails.build.info is created by assemble results in tests executing in production environment #10641

Closed
graemerocher opened this issue May 18, 2017 · 0 comments
Assignees
Milestone

Comments

@graemerocher
Copy link
Member

@graemerocher graemerocher commented May 18, 2017

Steps to Reproduce

  1. Run gradle assemble
  2. Run a unit test in the IDE

Expected Behaviour

The unit test should run in the dev environment

Actual Behaviour

The unit test runs in the production environment

Environment Information

  • Grails Version: All versions of 3.x

Example Application

N/A

Proposed solution Solution

The buildProperties task should only be run for Jartasks and should delete the grails.build.info file once the Jartask completes.

See https://github.com/grails/grails-core/blob/master/grails-gradle-plugin/src/main/groovy/org/grails/gradle/plugin/core/GrailsGradlePlugin.groovy#L241

@graemerocher graemerocher added this to the grails-3.2.10 milestone May 18, 2017
@jameskleeh jameskleeh self-assigned this May 18, 2017
graemerocher added a commit that referenced this issue May 29, 2017
@graemerocher graemerocher self-assigned this May 29, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.