You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Starting at line 77 in test/integration/groovy/com/mkobit/libraryexample/ExampleSrcSpockSpec.groovy:
then:
// JenkinsRule has different assertion capabilitiesWorkflowRun run = rule.assertBuildStatusSuccess(futureRun)
rule.assertLogContains(''' [Pipeline] lock Trying to acquire lock on [myLock] Resource [myLock] did not exist. Created. Lock acquired on [myLock]'''.stripIndent(), run)
}
should be
then:
// JenkinsRule has different assertion capabilitiesWorkflowRun run = rule.assertBuildStatusSuccess(futureRun)
rule.assertLogContains(''' [Pipeline] lock Trying to acquire lock on [myLock] Resource [myLock] did not exist. Created. Lock acquired on [myLock]'''.stripIndent(), run)
}
The text was updated successfully, but these errors were encountered:
Actually it should be like this: semicolon at the end.
WorkflowRun run = rule.assertBuildStatusSuccess(futureRun);
rule.assertLogContains('''
[Pipeline] lock
Trying to acquire lock on [myLock]
Resource [myLock] did not exist. Created.
Lock acquired on [myLock]
'''.stripIndent(), run);
Actually it should be like this: semicolon at the end.
WorkflowRun run = rule.assertBuildStatusSuccess(futureRun); rule.assertLogContains(''' [Pipeline] lock Trying to acquire lock on [myLock] Resource [myLock] did not exist. Created. Lock acquired on [myLock] '''.stripIndent(), run);
Starting at line 77 in test/integration/groovy/com/mkobit/libraryexample/ExampleSrcSpockSpec.groovy:
should be
The text was updated successfully, but these errors were encountered: