[JIRA] [github-plugin] (JENKINS-18298) Jenkins (Github Plugin) post-commit hook fails to build with ssh config aliases

2016-05-16 Thread lon....@gmail.com (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Lon Sun commented on  JENKINS-18298 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
  Re: Jenkins (Github Plugin) post-commit hook fails to build with ssh config aliases  
 
 
 
 
 
 
 
 
 
 
+1 on this. The github plugin doesn't appear to handle git SSH URLs at all let alone overrides. For example g...@github.com:org-name/repo-name is parsed incorrectly as: 
host=github.com username=org-name repository=repo-name 
This makes it so using the SSH config is required. 
 
 
 
 
 
 
 
 
 
 
 
 

 
 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-18298) Jenkins (Github Plugin) post-commit hook fails to build with ssh config aliases

2016-04-03 Thread sthzg...@gmail.com (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Stephan Herzog updated an issue 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 Jenkins /  JENKINS-18298 
 
 
 
  Jenkins (Github Plugin) post-commit hook fails to build with ssh config aliases  
 
 
 
 
 
 
 
 
 

Change By:
 
 Stephan Herzog 
 
 
 

Comment:
 
 Also interested in this. Curious how this isn't a bigger issue (measured on the number of comments/votes). If it is a lot of effort to resolve entries in the ssh-config (without breaking cross platform support), maybe an additional setting per Jenkins job could do the trick? Either a checkbox to ignore the host for the current job (like in Alex Ehlke's fork) or a text input to specify the Github URL that will be posted to Jenkins. I am not familiar with writing Jenkins plugins so this might be impractical, but something like this (with a more accurate description, though):!18298_proposal.png|thumbnail! 
 
 
 
 
 
 
 
 
 
 
 
 

 
 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-18298) Jenkins (Github Plugin) post-commit hook fails to build with ssh config aliases

2016-04-03 Thread sthzg...@gmail.com (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Stephan Herzog updated an issue 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 Jenkins /  JENKINS-18298 
 
 
 
  Jenkins (Github Plugin) post-commit hook fails to build with ssh config aliases  
 
 
 
 
 
 
 
 
 

Change By:
 
 Stephan Herzog 
 
 
 

Attachment:
 
 18298_proposal.png 
 
 
 
 
 
 
 
 
 
 
 
 

 
 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-18298) Jenkins (Github Plugin) post-commit hook fails to build with ssh config aliases

2016-04-03 Thread sthzg...@gmail.com (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Stephan Herzog edited a comment on  JENKINS-18298 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
  Re: Jenkins (Github Plugin) post-commit hook fails to build with ssh config aliases  
 
 
 
 
 
 
 
 
 
 Also interested in this. Curious how this isn't a bigger issue (measured on the number of comments/votes). Maintaining a custom fork doesn't seem to be maintainable. If it is a lot of effort to resolve entries in the ssh-config (without breaking cross platform support), maybe an additional setting per Jenkins job could do the trick? Either a checkbox to ignore the host for the current job (like in Alex Ehlke's fork) or a text input to specify the Github URL that will be posted to Jenkins. I am not familiar with writing Jenkins plugins so this might be impractical, but something like this  (with a more accurate description, though) :!18298_proposal.png|thumbnail! 
 
 
 
 
 
 
 
 
 
 
 
 

 
 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-18298) Jenkins (Github Plugin) post-commit hook fails to build with ssh config aliases

2016-04-03 Thread sthzg...@gmail.com (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Stephan Herzog edited a comment on  JENKINS-18298 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
  Re: Jenkins (Github Plugin) post-commit hook fails to build with ssh config aliases  
 
 
 
 
 
 
 
 
 
 Also interested in this. Curious how this isn't a bigger issue (measured on the number of comments/votes).  Maintaining a custom fork doesn't seem to be maintainable.  If it is a lot of effort to resolve entries in the ssh-config (without breaking cross platform support), maybe an additional setting per Jenkins job could do the trick? Either a checkbox to ignore the host for the current job (like in Alex Ehlke's fork) or a text input to specify the Github URL that will be posted to Jenkins. I am not familiar with writing Jenkins plugins so this might be impractical, but something like this (with a more accurate description, though):!18298_proposal.png|thumbnail! 
 
 
 
 
 
 
 
 
 
 
 
 

 
 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-18298) Jenkins (Github Plugin) post-commit hook fails to build with ssh config aliases

2016-04-03 Thread sthzg...@gmail.com (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Stephan Herzog updated an issue 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 Jenkins /  JENKINS-18298 
 
 
 
  Jenkins (Github Plugin) post-commit hook fails to build with ssh config aliases  
 
 
 
 
 
 
 
 
 

Change By:
 
 Stephan Herzog 
 
 
 

Attachment:
 
 18298_proposal.png 
 
 
 
 
 
 
 
 
 
 
 
 

 
 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-18298) Jenkins (Github Plugin) post-commit hook fails to build with ssh config aliases

2016-04-03 Thread sthzg...@gmail.com (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Stephan Herzog commented on  JENKINS-18298 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
  Re: Jenkins (Github Plugin) post-commit hook fails to build with ssh config aliases  
 
 
 
 
 
 
 
 
 
 
Also interested in this. Curious how this isn't a bigger issue (measured on the number of comments/votes). Maintaining a custom fork doesn't seem to be maintainable. If it is a lot of effort to resolve entries in the ssh-config (without breaking cross platform support), maybe an additional setting per Jenkins job could do the trick? Either a checkbox to ignore the host for the current job (like in Alex Ehlke's fork) or a text input to specify the Github URL that will be posted to Jenkins. I am not familiar with writing Jenkins plugins so this might be impractical, but something like this: 
 
 
 
 
 
 
 
 
 
 
 
 
 

 
 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-18298) Jenkins (Github Plugin) post-commit hook fails to build with ssh config aliases

2015-10-15 Thread federi...@al.com.au (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Federico Naum edited a comment on  JENKINS-18298 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
  Re: Jenkins (Github Plugin) post-commit hook fails to build with ssh config aliases  
 
 
 
 
 
 
 
 
 
 One more here with exactly the same problem.Has someone come out with a solution ?I can see that this Jira Ticket has not  have  had  any updates in more than a year so I think I'll have to have a look at [~aehlke] forkNot ideal, but I was  wondering if  adding one more Patter compile [here ]( | https://github.com/tophatmonocle/github-plugin/blob/9ca2410d6995aff7969a1e32497f746694fd/src/main/java/com/cloudbees/jenkins/GitHubRepositoryName.java#L47 ) ]  taking into account `myalias` will work.something like  ```Pattern.compile("ssh://git@myalias.([^/]+)/([^/]+)/([^/]+)/?")``` 
 
 
 
 
 
 
 
 
 
 
 
 

 
 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-18298) Jenkins (Github Plugin) post-commit hook fails to build with ssh config aliases

2015-10-15 Thread federi...@al.com.au (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Federico Naum commented on  JENKINS-18298 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
  Re: Jenkins (Github Plugin) post-commit hook fails to build with ssh config aliases  
 
 
 
 
 
 
 
 
 
 
One more here with exactly the same problem. Has someone come out with a solution ? I can see that this Jira Ticket has not have any updates in more than a year so I think I'll have to have a look at Alex Ehlke fork 
Not ideal, but I was wondering if adding one more Patter compile [here](https://github.com/tophatmonocle/github-plugin/blob/9ca2410d6995aff7969a1e32497f746694fd/src/main/java/com/cloudbees/jenkins/GitHubRepositoryName.java#L47) taking into account `myalias` will work. 
something like  ```Pattern.compile("ssh://git@myalias.([^/]

)/([^/]
)/([^/]+)/?")``` 
 
 
 
 
 
 
 
 
 
 
 
 

 
 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-18298) Jenkins (Github Plugin) post-commit hook fails to build with ssh config aliases

2015-10-15 Thread federi...@al.com.au (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Federico Naum edited a comment on  JENKINS-18298 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
  Re: Jenkins (Github Plugin) post-commit hook fails to build with ssh config aliases  
 
 
 
 
 
 
 
 
 
 One more here with exactly the same problem.Has someone come out with a solution?I can see that this Jira Ticket has not had any updates in more than a year so I think I'll have to have a look at [~aehlke] forkNot ideal, but I was  wondering if  adding one more Patter compile [here|https://github.com/tophatmonocle/github-plugin/blob/9ca2410d6995aff7969a1e32497f746694fd/src/main/java/com/cloudbees/jenkins/GitHubRepositoryName.java#L47] taking into account  `  {{ myalias ` }}  will work.something like   ``` {code:java} Pattern.compile("ssh://git@myalias.([^/]+)/([^/]+)/([^/]+)/?") ``` {code} 
 
 
 
 
 
 
 
 
 
 
 
 

 
 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-18298) Jenkins (Github Plugin) post-commit hook fails to build with ssh config aliases

2014-11-10 Thread alex.eh...@gmail.com (JIRA)














































Alex Ehlke
 commented on  JENKINS-18298


Jenkins (Github Plugin) post-commit hook fails to build with ssh config aliases















I too ran into this issue. I'm making a temporary fix in my own fork that just ignores hostname when checking whether a repo matches another given repo, since for us this does not matter.

I think a proper fix has to somehow resolve the hostname to its actual hostname - I looked into this and the only way I can see to do it would be to parse the SSH config file, but that is awful (and there are several files that could set this). There must be a better way, but at this point I'm out of my depth on the solution.



























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







-- 
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-18298) Jenkins (Github Plugin) post-commit hook fails to build with ssh config aliases

2014-11-10 Thread alex.eh...@gmail.com (JIRA)














































Alex Ehlke
 commented on  JENKINS-18298


Jenkins (Github Plugin) post-commit hook fails to build with ssh config aliases















My fork is here: https://github.com/tophatmonocle/github-plugin/tree/github-1.10-SNAPSHOT-NOHOSTS



























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







-- 
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.