diff --git a/src/test/groovy/de/tracetronic/jenkins/plugins/ecutestexecution/steps/CheckPackageStepIT.groovy b/src/test/groovy/de/tracetronic/jenkins/plugins/ecutestexecution/steps/CheckPackageStepIT.groovy index ea6af4f8..8d589001 100644 --- a/src/test/groovy/de/tracetronic/jenkins/plugins/ecutestexecution/steps/CheckPackageStepIT.groovy +++ b/src/test/groovy/de/tracetronic/jenkins/plugins/ecutestexecution/steps/CheckPackageStepIT.groovy @@ -33,16 +33,16 @@ class CheckPackageStepIT extends IntegrationTestBase { when: CheckPackageStep step = new CheckPackageStep("test.pkg") then: - st.assertRoundTrip(step, "ttCheckPackage filePath 'test.pkg'") + st.assertRoundTrip(step, "ttCheckPackage 'test.pkg'") } def 'Run pipeline'() { given: WorkflowJob job = jenkins.createProject(WorkflowJob.class, 'pipeline') - job.setDefinition(new CpsFlowDefinition("node { ttCheckPackage filePath 'test.pkg' }", true)) + job.setDefinition(new CpsFlowDefinition("node { ttCheckPackage 'test.pkg' }", true)) expect: - WorkflowRun run = jenkins.assertBuildStatus(Result.FAILURE, job.scheduleBuild2(0).get()) - jenkins.assertLogContains('Executing checks for', run) - jenkins.assertLogContains("Package Checks Success", run) + WorkflowRun run = jenkins.assertBuildStatus(Result.SUCCESS, job.scheduleBuild2(0).get()) + jenkins.assertLogContains("Executing Package Checks for", run) + jenkins.assertLogContains("Package checked successfully.", run) } }