Skip to content

Jenkins build failing due to use of system gradle #328

Closed
@mtnygard

Description

@mtnygard

Since 2013-08-22, the Jenkins build has been failing.

The build fails with the error:

* What went wrong:
A problem occurred evaluating project ':language-adaptors:rxjava-scala'.
> Could not find property 'ideaProject' on task set.

I can reproduce this locally by building with gradle 1.7. Building with the gradle wrapper
./gradlew pins to gradle 1.6, which does not exhibit this error.

(Aside: Building with gradle 1.6 reveals a unit test failure in rx.plugins.RxJavaPlugins$UnitTest. This failure has been masked by the missing property error that occurs earlier in the build process.)

It appears to fail because the build command is "gradle clean build", which uses the system install of gradle. I believe that the system gradle was upgraded to version 1.7 between 2013-08-01 and 2013-08-22.

The solution is to change the Jenkins build command to ./gradlew clean build.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions