Quantcast

[JIRA] Created: (JENKINS-11285) Ability to run postbuild script on a given node

classic Classic list List threaded Threaded
10 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

[JIRA] Created: (JENKINS-11285) Ability to run postbuild script on a given node

JIRA noreply@jenkins-ci.org
Ability to run postbuild script on a given node
-----------------------------------------------

                 Key: JENKINS-11285
                 URL: https://issues.jenkins-ci.org/browse/JENKINS-11285
             Project: Jenkins
          Issue Type: Improvement
          Components: postbuildscript
    Affects Versions: current
            Reporter: Jason May
            Assignee: gbois


For the postbuild script plugin, would be really nice to have the option to select which node (slaves or master) to run the script on.  I have a scenario where the slaves do not have access to certain network areas (but the master does) - wanted to use maven to deploy the artifact but slaves can't 'see' anything on port 80 (I'd use the "copy to master" in conjunction with this plugin to perform the maven deploy), so would be awesome to have this functionality.  

--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

[JIRA] Commented: (JENKINS-11285) Ability to run postbuild script on a given node

JIRA noreply@jenkins-ci.org

    [ https://issues.jenkins-ci.org/browse/JENKINS-11285?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=153983#comment-153983 ]

scm_issue_link commented on JENKINS-11285:
------------------------------------------

Code changed in jenkins
User: Gregory Boissinot
Path:
 src/main/java/org/jenkinsci/plugins/postbuildscript/GenericScript.java
 src/main/java/org/jenkinsci/plugins/postbuildscript/PostBuildScript.java
 src/main/resources/org/jenkinsci/plugins/postbuildscript/PostBuildScript/config.jelly
http://jenkins-ci.org/commit/postbuildscript-plugin/575e5b013a47adac255c17205abfb423976891ad
Log:
  Fixed JENKINS-11285





> Ability to run postbuild script on a given node
> -----------------------------------------------
>
>                 Key: JENKINS-11285
>                 URL: https://issues.jenkins-ci.org/browse/JENKINS-11285
>             Project: Jenkins
>          Issue Type: Improvement
>          Components: postbuildscript
>    Affects Versions: current
>            Reporter: Jason May
>            Assignee: gbois
>
> For the postbuild script plugin, would be really nice to have the option to select which node (slaves or master) to run the script on.  I have a scenario where the slaves do not have access to certain network areas (but the master does) - wanted to use maven to deploy the artifact but slaves can't 'see' anything on port 80 (I'd use the "copy to master" in conjunction with this plugin to perform the maven deploy), so would be awesome to have this functionality.  

--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

[JIRA] Commented: (JENKINS-11285) Ability to run postbuild script on a given node

JIRA noreply@jenkins-ci.org
In reply to this post by JIRA noreply@jenkins-ci.org

    [ https://issues.jenkins-ci.org/browse/JENKINS-11285?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=153984#comment-153984 ]

gbois commented on JENKINS-11285:
---------------------------------

Cancel the source modification

> Ability to run postbuild script on a given node
> -----------------------------------------------
>
>                 Key: JENKINS-11285
>                 URL: https://issues.jenkins-ci.org/browse/JENKINS-11285
>             Project: Jenkins
>          Issue Type: Improvement
>          Components: postbuildscript
>    Affects Versions: current
>            Reporter: Jason May
>            Assignee: gbois
>
> For the postbuild script plugin, would be really nice to have the option to select which node (slaves or master) to run the script on.  I have a scenario where the slaves do not have access to certain network areas (but the master does) - wanted to use maven to deploy the artifact but slaves can't 'see' anything on port 80 (I'd use the "copy to master" in conjunction with this plugin to perform the maven deploy), so would be awesome to have this functionality.  

--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

[JIRA] (JENKINS-11285) Ability to run postbuild script on a given node

JIRA noreply@jenkins-ci.org
In reply to this post by JIRA noreply@jenkins-ci.org

    [ https://issues.jenkins-ci.org/browse/JENKINS-11285?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=154833#comment-154833 ]

Thomas Fields commented on JENKINS-11285:
-----------------------------------------

Any reason why the changes made to support this were cancelled? I need to way to run the script on the master node.

Thanks,
Tom.
               

> Ability to run postbuild script on a given node
> -----------------------------------------------
>
>                 Key: JENKINS-11285
>                 URL: https://issues.jenkins-ci.org/browse/JENKINS-11285
>             Project: Jenkins
>          Issue Type: Improvement
>          Components: postbuildscript
>    Affects Versions: current
>            Reporter: Jason May
>            Assignee: gbois
>
> For the postbuild script plugin, would be really nice to have the option to select which node (slaves or master) to run the script on.  I have a scenario where the slaves do not have access to certain network areas (but the master does) - wanted to use maven to deploy the artifact but slaves can't 'see' anything on port 80 (I'd use the "copy to master" in conjunction with this plugin to perform the maven deploy), so would be awesome to have this functionality.  

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jenkins-ci.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

[JIRA] (JENKINS-11285) Ability to run postbuild script on a given node

JIRA noreply@jenkins-ci.org
In reply to this post by JIRA noreply@jenkins-ci.org

    [ https://issues.jenkins-ci.org/browse/JENKINS-11285?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=155261#comment-155261 ]

gbois commented on JENKINS-11285:
---------------------------------

The committed code doesn't fix this issue. It's an error with the comment containing the wrong issue number.
I don't know if I have to add this king of feature.
On wich node the scripts will be loaded?
Additionally, your workflow is not very reproductible.
I suggest another alternative such as pushing your artifact in a shared filsteam and then make an other job for deployment to the web server.
This second job could be scheduled only if there is new changes in this shared directory (this issue can achieved in Jenkins with the XTrigger Jenkins plugin).
               

> Ability to run postbuild script on a given node
> -----------------------------------------------
>
>                 Key: JENKINS-11285
>                 URL: https://issues.jenkins-ci.org/browse/JENKINS-11285
>             Project: Jenkins
>          Issue Type: Improvement
>          Components: postbuildscript
>    Affects Versions: current
>            Reporter: Jason May
>            Assignee: gbois
>
> For the postbuild script plugin, would be really nice to have the option to select which node (slaves or master) to run the script on.  I have a scenario where the slaves do not have access to certain network areas (but the master does) - wanted to use maven to deploy the artifact but slaves can't 'see' anything on port 80 (I'd use the "copy to master" in conjunction with this plugin to perform the maven deploy), so would be awesome to have this functionality.  

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jenkins-ci.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

[JIRA] (JENKINS-11285) Ability to run postbuild script on a given node

JIRA noreply@jenkins-ci.org
In reply to this post by JIRA noreply@jenkins-ci.org

     [ https://issues.jenkins-ci.org/browse/JENKINS-11285?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Work on JENKINS-11285 started by gbois.

> Ability to run postbuild script on a given node
> -----------------------------------------------
>
>                 Key: JENKINS-11285
>                 URL: https://issues.jenkins-ci.org/browse/JENKINS-11285
>             Project: Jenkins
>          Issue Type: Improvement
>          Components: postbuildscript
>    Affects Versions: current
>            Reporter: Jason May
>            Assignee: gbois
>
> For the postbuild script plugin, would be really nice to have the option to select which node (slaves or master) to run the script on.  I have a scenario where the slaves do not have access to certain network areas (but the master does) - wanted to use maven to deploy the artifact but slaves can't 'see' anything on port 80 (I'd use the "copy to master" in conjunction with this plugin to perform the maven deploy), so would be awesome to have this functionality.  

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jenkins-ci.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

[JIRA] (JENKINS-11285) Ability to run postbuild script on a given node

JIRA noreply@jenkins-ci.org
In reply to this post by JIRA noreply@jenkins-ci.org

     [ https://issues.jenkins-ci.org/browse/JENKINS-11285?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

gbois closed JENKINS-11285.
---------------------------

    Resolution: Incomplete

Closing the issue due to a lack of inputs
               

> Ability to run postbuild script on a given node
> -----------------------------------------------
>
>                 Key: JENKINS-11285
>                 URL: https://issues.jenkins-ci.org/browse/JENKINS-11285
>             Project: Jenkins
>          Issue Type: Improvement
>          Components: postbuildscript
>    Affects Versions: current
>            Reporter: Jason May
>            Assignee: gbois
>
> For the postbuild script plugin, would be really nice to have the option to select which node (slaves or master) to run the script on.  I have a scenario where the slaves do not have access to certain network areas (but the master does) - wanted to use maven to deploy the artifact but slaves can't 'see' anything on port 80 (I'd use the "copy to master" in conjunction with this plugin to perform the maven deploy), so would be awesome to have this functionality.  

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jenkins-ci.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

[JIRA] (JENKINS-11285) Ability to run postbuild script on a given node

JIRA noreply@jenkins-ci.org
In reply to this post by JIRA noreply@jenkins-ci.org

I hope this isn't against the rules, but I would liek to reopen this since I think it would be really awesome to have. I understand Gregory's suggestion, but I think a cleaner solution would providing means to allow post build steps to be executed on the master.

Change By: John Dyer (19/Sep/12 9:01 PM)
Resolution: Incomplete
Status: Closed Reopened
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

[JIRA] (JENKINS-11285) Ability to run postbuild script on a given node

JIRA noreply@jenkins-ci.org
In reply to this post by JIRA noreply@jenkins-ci.org

@John
By default, post-build scripts are executed on the build node.
Do you want I add a check-box 'Run on master' in order to provide the ability to run post-build script on master.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

[JIRA] (JENKINS-11285) Ability to run postbuild script on a given node

JIRA noreply@jenkins-ci.org
In reply to this post by JIRA noreply@jenkins-ci.org
John Dyer commented on Improvement JENKINS-11285

Hello Gregory,

Yes actually that is exactly what I was looking for here.

-John

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira
Loading...