[JIRA] Created: (HUDSON-5425) Hudson Shelve Project Plugin restarts Hudson without warning when unshelving a shelved job.

classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|

[JIRA] Created: (HUDSON-5425) Hudson Shelve Project Plugin restarts Hudson without warning when unshelving a shelved job.

Hudson issues mailing list
Hudson Shelve Project Plugin restarts Hudson without warning when unshelving a shelved job.
-------------------------------------------------------------------------------------------

                 Key: HUDSON-5425
                 URL: http://issues.hudson-ci.org/browse/HUDSON-5425
             Project: Hudson
          Issue Type: Bug
            Reporter: ken_graham


The Unshelve task causes a sudden Hudson Restart without warning, which causes currently executing jobs to be aborted.

Instead of: Hudson.getInstance().restart(); // At least if nothing else safeRestart()

Use this: Hudson.getInstace().reload(); // Safe, does not abort current jobs, and works perfectly for this.

I have used the reload() when modifying the configuration on disc including all of the scm urls in all of the jobs, and it works perfectly.

The line in question is 52 in UnshelveProjectExecutable.

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.hudson-ci.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

[JIRA] Updated: (HUDSON-5425) Hudson Shelve Project Plugin restarts Hudson without warning when unshelving a shelved job.

Hudson issues mailing list

     [ http://issues.hudson-ci.org/browse/HUDSON-5425?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

ashlux updated HUDSON-5425:
---------------------------

    Component/s: shelve-project-plugin

> Hudson Shelve Project Plugin restarts Hudson without warning when unshelving a shelved job.
> -------------------------------------------------------------------------------------------
>
>                 Key: HUDSON-5425
>                 URL: http://issues.hudson-ci.org/browse/HUDSON-5425
>             Project: Hudson
>          Issue Type: Bug
>          Components: shelve-project-plugin
>            Reporter: ken_graham
>
> The Unshelve task causes a sudden Hudson Restart without warning, which causes currently executing jobs to be aborted.
> Instead of: Hudson.getInstance().restart(); // At least if nothing else safeRestart()
> Use this: Hudson.getInstace().reload(); // Safe, does not abort current jobs, and works perfectly for this.
> I have used the reload() when modifying the configuration on disc including all of the scm urls in all of the jobs, and it works perfectly.
> The line in question is 52 in UnshelveProjectExecutable.

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.hudson-ci.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

[JIRA] Assigned: (HUDSON-5425) Hudson Shelve Project Plugin restarts Hudson without warning when unshelving a shelved job.

Hudson issues mailing list
In reply to this post by Hudson issues mailing list

     [ http://issues.hudson-ci.org/browse/HUDSON-5425?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

ashlux reassigned HUDSON-5425:
------------------------------

    Assignee: ashlux

> Hudson Shelve Project Plugin restarts Hudson without warning when unshelving a shelved job.
> -------------------------------------------------------------------------------------------
>
>                 Key: HUDSON-5425
>                 URL: http://issues.hudson-ci.org/browse/HUDSON-5425
>             Project: Hudson
>          Issue Type: Bug
>          Components: shelve-project-plugin
>            Reporter: ken_graham
>            Assignee: ashlux
>
> The Unshelve task causes a sudden Hudson Restart without warning, which causes currently executing jobs to be aborted.
> Instead of: Hudson.getInstance().restart(); // At least if nothing else safeRestart()
> Use this: Hudson.getInstace().reload(); // Safe, does not abort current jobs, and works perfectly for this.
> I have used the reload() when modifying the configuration on disc including all of the scm urls in all of the jobs, and it works perfectly.
> The line in question is 52 in UnshelveProjectExecutable.

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.hudson-ci.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

[JIRA] Commented: (HUDSON-5425) Hudson Shelve Project Plugin restarts Hudson without warning when unshelving a shelved job.

Hudson issues mailing list
In reply to this post by Hudson issues mailing list

    [ http://issues.hudson-ci.org/browse/HUDSON-5425?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=136247#action_136247 ]

scm_issue_link commented on HUDSON-5425:
----------------------------------------

Code changed in hudson
User: : ashlux
Path:
 trunk/hudson/plugins/shelve-project-plugin/pom.xml
 trunk/hudson/plugins/shelve-project-plugin/src/main/java/org/jvnet/hudson/plugins/shelveproject/ShelveProjectTask.java
 trunk/hudson/plugins/shelve-project-plugin/src/main/java/org/jvnet/hudson/plugins/shelveproject/UnshelveProjectExecutable.java
 trunk/hudson/plugins/shelve-project-plugin/src/main/java/org/jvnet/hudson/plugins/shelveproject/UnshelveProjectTask.java
http://hudson-ci.org/commit/27925
Log:
[FIXED HUDSON-5425] When unshelving a project, reload Hudson instead of restarting. Requiring Hudson version is now 1.366 or newer for Hudson.reload().


> Hudson Shelve Project Plugin restarts Hudson without warning when unshelving a shelved job.
> -------------------------------------------------------------------------------------------
>
>                 Key: HUDSON-5425
>                 URL: http://issues.hudson-ci.org/browse/HUDSON-5425
>             Project: Hudson
>          Issue Type: Bug
>          Components: shelve-project-plugin
>            Reporter: ken_graham
>            Assignee: ashlux
>
> The Unshelve task causes a sudden Hudson Restart without warning, which causes currently executing jobs to be aborted.
> Instead of: Hudson.getInstance().restart(); // At least if nothing else safeRestart()
> Use this: Hudson.getInstace().reload(); // Safe, does not abort current jobs, and works perfectly for this.
> I have used the reload() when modifying the configuration on disc including all of the scm urls in all of the jobs, and it works perfectly.
> The line in question is 52 in UnshelveProjectExecutable.

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.hudson-ci.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

[JIRA] Resolved: (HUDSON-5425) Hudson Shelve Project Plugin restarts Hudson without warning when unshelving a shelved job.

Hudson issues mailing list
In reply to this post by Hudson issues mailing list

     [ http://issues.hudson-ci.org/browse/HUDSON-5425?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

scm_issue_link resolved HUDSON-5425.
------------------------------------

    Resolution: Fixed

> Hudson Shelve Project Plugin restarts Hudson without warning when unshelving a shelved job.
> -------------------------------------------------------------------------------------------
>
>                 Key: HUDSON-5425
>                 URL: http://issues.hudson-ci.org/browse/HUDSON-5425
>             Project: Hudson
>          Issue Type: Bug
>          Components: shelve-project-plugin
>            Reporter: ken_graham
>            Assignee: ashlux
>
> The Unshelve task causes a sudden Hudson Restart without warning, which causes currently executing jobs to be aborted.
> Instead of: Hudson.getInstance().restart(); // At least if nothing else safeRestart()
> Use this: Hudson.getInstace().reload(); // Safe, does not abort current jobs, and works perfectly for this.
> I have used the reload() when modifying the configuration on disc including all of the scm urls in all of the jobs, and it works perfectly.
> The line in question is 52 in UnshelveProjectExecutable.

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.hudson-ci.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

[JIRA] Commented: (HUDSON-5425) Hudson Shelve Project Plugin restarts Hudson without warning when unshelving a shelved job.

Hudson issues mailing list
In reply to this post by Hudson issues mailing list

    [ http://issues.hudson-ci.org/browse/HUDSON-5425?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=136327#action_136327 ]

scm_issue_link commented on HUDSON-5425:
----------------------------------------

Code changed in hudson
User: : ashlux
Path:
 trunk/hudson/plugins/shelve-project-plugin/src/main/resources/org/jvnet/hudson/plugins/shelveproject/ShelvedProjectsAction/index.jelly
http://hudson-ci.org/commit/28018
Log:
[HUDSON-5425] Note about unshelving will reload Hudon's configuration.


> Hudson Shelve Project Plugin restarts Hudson without warning when unshelving a shelved job.
> -------------------------------------------------------------------------------------------
>
>                 Key: HUDSON-5425
>                 URL: http://issues.hudson-ci.org/browse/HUDSON-5425
>             Project: Hudson
>          Issue Type: Bug
>          Components: shelve-project-plugin
>            Reporter: ken_graham
>            Assignee: ashlux
>
> The Unshelve task causes a sudden Hudson Restart without warning, which causes currently executing jobs to be aborted.
> Instead of: Hudson.getInstance().restart(); // At least if nothing else safeRestart()
> Use this: Hudson.getInstace().reload(); // Safe, does not abort current jobs, and works perfectly for this.
> I have used the reload() when modifying the configuration on disc including all of the scm urls in all of the jobs, and it works perfectly.
> The line in question is 52 in UnshelveProjectExecutable.

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.hudson-ci.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]