Skip to content

[JENKINS-63720] add returnText option to writeJSON #90

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

Merged
merged 1 commit into from
Mar 25, 2021
Merged

[JENKINS-63720] add returnText option to writeJSON #90

merged 1 commit into from
Mar 25, 2021

Conversation

rittneje
Copy link
Contributor

Adds a returnText boolean parameter to writeJSON so it returns the json as a string rather than writing it to a file.

@rittneje rittneje marked this pull request as ready for review February 21, 2021 07:08
r.createSlave("dummy4", "a b c d", new EnvVars()),
};
for (DumbSlave dummy : dummies) {
dummy.toComputer().waitUntilOnline();
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These tests were pretty flaky on the Windows agents. I believe it was due to a race condition since it was only waiting for the last dummy to come online.

@rsandell rsandell merged commit 5fd5e1a into jenkinsci:master Mar 25, 2021
@rittneje rittneje deleted the improvement/JENKINS-63720-writeJSON-returnText branch March 25, 2021 16:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants