I know that if in Gradle I use: build -x test
it builds and the test are not executed.
In STS with Buildship for support with Gradle, for example for Spring Integration
It has the following two tasks of my interest (build and test):
I can build with the following:
Because some test fails (randomly) I want skip the tests, so I tried
it fails with:
So I tried with:
And fails with
And with:
Nothing happens, only shows the following and stopping:
So how represent build -x test
correctly with Buildship?
You must supply -x test
as Program Arguments like this:
Or you just run assemble
instead of build
. assemble
is a lifecycle task that aggregates all archive tasks in the project and, besides other tasks, does not execute check
tasks, such as test
.