Fixed the test for Linux
@@ -35,8 +35,8 @@ class ShipkitExecTaskTest extends Specification {
then:
def ex = thrown(TaskExecutionException.class)
- ex.cause.message == "External command failed with exit code 1\n" +
- "Please inspect the command output prefixed with '[ls]' the build log."
+ ex.cause.message.startsWith "External command failed with exit code"
+ ex.cause.message.endsWith "\nPlease inspect the command output prefixed with '[ls]' the build log."
}
def "when first command is configured to stop execution, second command will not fail the entire task"() {
