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-57121, JENKINS-57567] - make list view JCasC compliant #3994
[JENKINS-57121, JENKINS-57567] - make list view JCasC compliant #3994
Conversation
Would like the Also would like explicit confirmation the non- |
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.
above
We now have a downstream PR: jenkinsci/configuration-as-code-plugin#850 |
Seems like Stapler decided to leave the building. anyone care to venture a guess? it seems to work at least for the integrations tests 😓 |
@daniel-beck would it not be better to remove the submit and update the jelly to use the same data binding? |
If you can achieve this without making the UI really weird, sure. Would expect that to be quite a bit more difficult though, for relatively little upside. |
ya, I started looking and quickly said NOPE 😆 |
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.
Whatever you try to synchronize here, AFAICT it won't work reliably in such way. The approach itself looks good to me
@daniel-beck @oleg-nenashev @jvz can you take another look 578c45e fixes JENKINS-57567 I can make it a separate PR but the downstream test is related. Waiting on incremental to update downstream |
Not sure how to use snapshot/incremental of Jenkins Core, seems Stapler is a no show. |
@daniel-beck I would prefer not to change too much. You should have permissions to add commits if you have an idea on you would change the submit. |
... Deployed Snapshot and Incremental both fail to restore Stapler on downstream PR |
Downstream PR is passing @daniel-beck @oleg-nenashev and tests all the new data-bound setters are working 😅 |
@daniel-beck / @oleg-nenashev would you be able to take another look please? |
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.
LGTM. jobFilters
is never null, and it should work. But we need a JIRA ticket to land it in the code.
It also would not hurt to start including JCasC autotests directly into the Jenkins Test Harness suite in the core.
@oleg-nenashev seems one already exists: |
Two already exist this PR takes care of both: Though https://issues.jenkins-ci.org/browse/JENKINS-57567 is super minor with only one databound setter 😕 |
@oleg-nenashev can we remove the needs-jira-issue and change it for ready for merge? 😓 |
@daniel-beck care to dismiss or re-review the PR? |
@oleg-nenashev can we remove needs-jira-issue please |
Compat issue was fixed, re-requesting review
Compat issue was fixed, and the fix looks good to me. |
Sounds like a good idea 👍 |
I'd be happy to add JCasC testing in core since it will make testing core changes a lot easier. |
I am fine with adding a JCasC dependency to https://github.com/jenkinsci/jenkins/blob/master/test-pom/pom.xml so that we start improving JCasC compatibility test coverage and adding tests for regressions. @jenkinsci/core opinions? Also CC @MRamonLeon @varyvol @fcojfernandez @alecharp who might be interested |
Maybe dev list is a proper venue tho |
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.
it would help a lot to make JCasC always compatible with the latest changes in core. And vice-versa
Anyway, we could detach the test automation to a separate pull request. Will merge towards the next weekly if no negative feedback |
@oleg-nenashev Adding the dependency to the core makes sense for me. In this case, this feature is so core related that (I hope) there should be really little negative feedback. |
JENKINS-57567 is also fixed |
Fairly simple, adding some data binding to list view for JCasC to use.
I will add a downstream PR.
Proposed changelog entries
Submitter checklist
* Use the
Internal:
prefix if the change has no user-visible impact (API, test frameworks, etc.)Desired reviewers