-
Notifications
You must be signed in to change notification settings - Fork 529
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Backport of PR 2187 in branch 1.24.x #2188
Conversation
stages { | ||
stage("Sequential 1 with child in it"){ | ||
steps{ | ||
build "TestJob" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
shouldn't this be "downstreamJob" ?
} | ||
stage("Sequential 2 with child in it"){ | ||
steps{ | ||
build "TestJob" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ditto
} | ||
stage("Sequential 3 with child in it using Script"){ | ||
steps{ | ||
build "TestJob" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ditto
|
||
find("//*[contains(text(),'Triggered Builds')]").isVisible(); // Heading for table of builds | ||
find("//*[contains(text(),'downstreamJob')]").isVisible(); // row pointing to downstream build | ||
} | ||
|
||
private String getJobScript(String name) throws IOException { | ||
return new String(IOUtils.toByteArray(getClass().getResource(DownstreamLinkTest.class.getName() + "/" + testName.getMethodName() + "." + name + ".groovy"))); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@Dohbedoh the problem is here :) I'm fixing that especially as 1.24.x doesn't have same level of commons-io dependencies
Signed-off-by: Olivier Lamy <[email protected]>
Still waiting for a release of pipeline-build-step-plugin |
Signed-off-by: Olivier Lamy <[email protected]>
Signed-off-by: Olivier Lamy <[email protected]>
Description
See JENKINS-60995.
Submitter checklist
Reviewer checklist