-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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-45892] IllegalStateException at hudson.XmlFile.replaceIfNotA… #257
Conversation
…tTopLevel JENKINS-45892 introduced a change that is causing Nov 29, 2017 6:58:52 PM hudson.XmlFile replaceIfNotAtTopLevel WARNING: JENKINS-45892: reference to org.jenkinsci.plugins.workflow.job.WorkflowJob@488f6bf6[cloudbees/test/branch] being saved from unexpected /var/jenkins_home/jobs/test/branches/branch.njvm0k/builds/7/build.xml java.lang.IllegalStateException at hudson.XmlFile.replaceIfNotAtTopLevel(XmlFile.java:210)
@reviewbybees @jglick |
|
||
private transient Run<?, ?> run; | ||
|
||
public AbstractInvisibleRunAction2(Run<?, ?> run) { |
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.
As I understand RunAction2
, this is not necessary, as onAttached(Run)
will be called as soon as it is attached to a Run
instance.
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.
to make things simpler and more object oriented
Leave deprecated methods as they were
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
@reviewbybees done |
…tTopLevel
JENKINS-45892 introduced a change that is causing