Skip to content
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

[JENKINS-54133] Encode console notes on master for JEP-210 compatibility #32

Merged
merged 6 commits into from
Oct 29, 2018

Conversation

jglick
Copy link
Member

@jglick jglick commented Oct 18, 2018

JENKINS-54133: As opposed to the general case in jenkinsci/workflow-durable-task-step-plugin#80, in this case it is easy enough to be compatible with JEP-210. Test deps are on jenkinsci/durable-task-plugin#86 + jenkinsci/workflow-durable-task-step-plugin#87.

@jglick
Copy link
Member Author

jglick commented Oct 18, 2018

There is a timeout in AntWrapperTest.durability which I can reproduce locally but do not yet understand. It does not appear to be caused by the use of watch mode. Apparently there are two similar WorkflowRuns after the restart, perhaps indicating yet another bug in AbstractLazyLoadRunMap?

@jglick
Copy link
Member Author

jglick commented Oct 19, 2018

Weirdness. With workflow-durable-task-step 2.16, the test passes. With 2.18, it fails. With 2.17, it passes, but without clearly wrong things happening, which I blame on jenkinsci/workflow-durable-task-step-plugin#53. The failures in 2.18 seem to be due to jenkinsci/durable-task-plugin#49 and yet, with jenkinsci/workflow-durable-task-step-plugin#53 reverted by jenkinsci/workflow-durable-task-step-plugin#81, the test can pass even with the current durable-task so long as watch mode (jenkinsci/durable-task-plugin#60) is disabled. I do not really know what is going on yet.

Copy link
Member

@dwnusbaum dwnusbaum left a comment

Choose a reason for hiding this comment

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

The fix here looks good to me, although I think it would be good to update related documentation as described in jenkinsci/workflow-durable-task-step-plugin#80 (comment).

<jenkins.version>1.651.3</jenkins.version>
<revision>1.9</revision>
<changelist>-SNAPSHOT</changelist>
<jenkins.version>2.121.2</jenkins.version>
Copy link
Member

Choose a reason for hiding this comment

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

Big jump, but required for JEP-210 compatibility. Based on these usage stats, around 73% of users of ant 1.8 are on Jenkins 2.121.2 or newer anyway, so this seems fine.

Copy link
Member Author

Choose a reason for hiding this comment

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

Anyway even if there is some unrelated fix we realize we need to deliver urgently to the remaining 27%, it is easy enough to publish a backport.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants