[JIRA] [github-plugin] (JENKINS-18079) GitHub Push always builds if workspace is on offline slave node

2016-02-07 Thread gray...@gmail.com (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Alex Gray commented on  JENKINS-18079 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
  Re: GitHub Push always builds if workspace is on offline slave node  
 
 
 
 
 
 
 
 
 
 
All of our builds run on temporarily slaves too, so we get bitten by this. It's horrible. Our hacky workaround is as follows: 
 

Have the build be done on the "master" node (since master is always online)
 

Have a build step that triggers another job that gets executed on a "slave" node that actually does the build. It works because the master is always online and thus always the job's workspace. It's crappy because it takes 2 builds: 1 on the master, 1 on a slave. Oh, and make sure you pass in the git hash to the slave job, because someone can make a commit in between the time it takes launch the second build. Super crappy, but it's a lot better than have a bazilion needless builds being fired.
 
 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.2#64017-sha1:e244265) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] [github-plugin] (JENKINS-18079) GitHub Push always builds if workspace is on offline slave node

2016-02-07 Thread gentoo.inte...@gmail.com (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Kanstantsin Shautsou commented on  JENKINS-18079 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
  Re: GitHub Push always builds if workspace is on offline slave node  
 
 
 
 
 
 
 
 
 
 
My summary is the next: Nothing can be done with current trigger in github-plugin. Migration to notifyCommit is impossible and will break existed installations. github-plugin is generic and contains ancient push trigger that kicks git scm polling. That's why git scm runs offline builds. If you want to have other kind of triggers you can wrote separate plugin. I'm in process of writing native GH polling/triggering of builds without git poll under https://github.com/jenkinsci/github-integration-plugin  
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.2#64017-sha1:e244265) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] [github-plugin] (JENKINS-18079) GitHub Push always builds if workspace is on offline slave node

2016-02-07 Thread gentoo.inte...@gmail.com (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Kanstantsin Shautsou resolved as Not A Defect 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
Works as designed. 
 
 
 
 
 
 
 
 
 
 Jenkins /  JENKINS-18079 
 
 
 
  GitHub Push always builds if workspace is on offline slave node  
 
 
 
 
 
 
 
 
 

Change By:
 
 Kanstantsin Shautsou 
 
 
 

Status:
 
 Open Resolved 
 
 
 

Resolution:
 
 Not A Defect 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.2#64017-sha1:e244265) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] [github-plugin] (JENKINS-18079) GitHub Push always builds if workspace is on offline slave node

2016-02-07 Thread gentoo.inte...@gmail.com (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Kanstantsin Shautsou edited a comment on  JENKINS-18079 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
  Re: GitHub Push always builds if workspace is on offline slave node  
 
 
 
 
 
 
 
 
 
 Works as designed , not a bug, closed . 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.2#64017-sha1:e244265) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] [github-plugin] (JENKINS-18079) GitHub Push always builds if workspace is on offline slave node

2015-09-02 Thread xmorales....@gmail.com (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Xavier Morales commented on  JENKINS-18079 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
  Re: GitHub Push always builds if workspace is on offline slave node  
 
 
 
 
 
 
 
 
 
 
Two years after is still reproducing. Is there any possibility to look at this bug? I'm working with docker-plugin starting slaves and is an ugly thing to launch a build of the same revision anytime a push is done to other branches. 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.2#64017-sha1:e244265) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] [github-plugin] (JENKINS-18079) GitHub Push always builds if workspace is on offline slave node

2015-09-07 Thread gentoo.inte...@gmail.com (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Kanstantsin Shautsou commented on  JENKINS-18079 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
  Re: GitHub Push always builds if workspace is on offline slave node  
 
 
 
 
 
 
 
 
 
 
Probably should be fixed with migration to notifyCommit (TODO) 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.2#64017-sha1:e244265) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] [github-plugin] (JENKINS-18079) GitHub Push always builds if workspace is on offline slave node

2015-09-07 Thread gentoo.inte...@gmail.com (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Kanstantsin Shautsou assigned an issue to Kanstantsin Shautsou 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 Jenkins /  JENKINS-18079 
 
 
 
  GitHub Push always builds if workspace is on offline slave node  
 
 
 
 
 
 
 
 
 

Change By:
 
 Kanstantsin Shautsou 
 
 
 

Assignee:
 
 Kanstantsin Shautsou 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.2#64017-sha1:e244265) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] [github-plugin] (JENKINS-18079) GitHub Push always builds if workspace is on offline slave node

2015-10-06 Thread gentoo.inte...@gmail.com (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Kanstantsin Shautsou commented on  JENKINS-18079 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
  Re: GitHub Push always builds if workspace is on offline slave node  
 
 
 
 
 
 
 
 
 
 
But first of all it's git-plugin issue. 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.2#64017-sha1:e244265) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.