[JIRA] (JENKINS-58634) Custom ID cause broken link in job view

2019-09-08 Thread ullrich.haf...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Ulli Hafner edited a comment on  JENKINS-58634  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Custom ID cause broken link in job view   
 

  
 
 
 
 

 
 The problem is that you are using a numeric only ID. Seems that such IDs are claimed as build number IDs somewhere in Jenkins core (Build or Run instance). So my URL actually will never be resolved. If you use an id with character in it  like  {{m1000}} then everything works as expected. That means I can do nothing in my plugin here. You can try to file that as bug in core but I doubt that this will be fixed by someone as an actual build number can also resolve to the ID you have chosen.  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d)  
 

  
 

   





-- 
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.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-issues/JIRA.200802.1563961595000.8739.1567958520219%40Atlassian.JIRA.


[JIRA] (JENKINS-58634) Custom ID cause broken link in job view

2019-09-08 Thread ullrich.haf...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Ulli Hafner resolved as Won't Fix  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 The problem is that you are using a numeric only ID. Seems that such IDs are claimed as build number IDs somewhere in Jenkins core (Build or Run instance). So my URL actually will never be resolved.  If you use an id with character in it m1000 then everything works as expected. That means I can do nothing in my plugin here. You can try to file that as bug in core but I doubt that this will be fixed by someone as an actual build number can also resolve to the ID you have chosen.  
 

  
 
 
 
 

 
 Jenkins /  JENKINS-58634  
 
 
  Custom ID cause broken link in job view   
 

  
 
 
 
 

 
Change By: 
 Ulli Hafner  
 
 
Status: 
 Open Resolved  
 
 
Resolution: 
 Won't Fix  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d)  
 

  
 

   





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

[JIRA] (JENKINS-58634) Custom ID cause broken link in job view

2019-07-24 Thread jochen.steinma...@de.bosch.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Jochen Steinmann edited a comment on  JENKINS-58634  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Custom ID cause broken link in job view   
 

  
 
 
 
 

 
 Is your working  in  example called with custom id?  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d)  
 

  
 

   





-- 
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.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-issues/JIRA.200802.1563961595000.20131.1563966960122%40Atlassian.JIRA.


[JIRA] (JENKINS-58634) Custom ID cause broken link in job view

2019-07-24 Thread ullrich.haf...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Ulli Hafner updated an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Jenkins /  JENKINS-58634  
 
 
  Custom ID cause broken link in job view   
 

  
 
 
 
 

 
Change By: 
 Ulli Hafner  
 

  
 
 
 
 

 
 If recordIssues is called with a custom id, e.grecordIssues aggregatingResults: true, tools: [clangTidy(id:  '1000', name: 'Clang-Tidy: Aggregated Results', pattern:  'build/**/clang-tidy.txt')]the job view link is broken and leads to HTTP ERROR 404.For example:The URL behind the Link is generated like:{{[https://Jenkins/job/BBB/job/test/job/master/1000|https://jenkins/job/BBB/job/test/job/master/1000]}} but The link  should be  automatically mapped to the latest results, e.g. to [https://Jenkins/job/BBB/job/test/job/master/45/1000|https://jenkins/job/BBB/job/test/job/master/45/1000]where 45 is in my example HEAD of the job list.  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d)  
 

  
 

   





-- 
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.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-issues/JIRA.200802.1563961595000.20059.1563963180296%40Atlassian.JIRA.


[JIRA] (JENKINS-58634) Custom ID cause broken link in job view

2019-07-24 Thread ullrich.haf...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Ulli Hafner updated an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Jenkins /  JENKINS-58634  
 
 
  Custom ID cause broken link in job view   
 

  
 
 
 
 

 
Change By: 
 Ulli Hafner  
 

  
 
 
 
 

 
 If recordIssues is called with a custom id, e.grecordIssues aggregatingResults: true, tools: [clangTidy(id:  '1000', name: 'Clang-Tidy: Aggregated Results', pattern:  'build/**/clang-tidy.txt')]the job view link is broken and leads to HTTP ERROR 404.For example:The URL behind the Link is generated like:{{[https://Jenkins/job/BBB/job/test/job/master/1000|https://jenkins/job/BBB/job/test/job/master/1000]}}The link should be automatically mapped to the latest results, e.g. to {{ [https://Jenkins/job/BBB/job/test/job/master/45/1000|https://jenkins/job/BBB/job/test/job/master/45/1000] }} where 45 is in my example HEAD of the job list.  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d)  
 

  
 

   





-- 
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.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-issues/JIRA.200802.1563961595000.20064.1563963180359%40Atlassian.JIRA.


[JIRA] (JENKINS-58634) Custom ID cause broken link in job view

2019-07-24 Thread ullrich.haf...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Ulli Hafner commented on  JENKINS-58634  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Custom ID cause broken link in job view   
 

  
 
 
 
 

 
 No, that is why it is working
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d)  
 

  
 

   





-- 
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.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-issues/JIRA.200802.1563961595000.20057.1563963120102%40Atlassian.JIRA.


[JIRA] (JENKINS-58634) Custom ID cause broken link in job view

2019-07-24 Thread jochen.steinma...@de.bosch.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Jochen Steinmann commented on  JENKINS-58634  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Custom ID cause broken link in job view   
 

  
 
 
 
 

 
 Is your working in example called with custom id.  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d)  
 

  
 

   





-- 
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.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-issues/JIRA.200802.1563961595000.20051.1563963060223%40Atlassian.JIRA.


[JIRA] (JENKINS-58634) Custom ID cause broken link in job view

2019-07-24 Thread jochen.steinma...@de.bosch.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Jochen Steinmann edited a comment on  JENKINS-58634  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Custom ID cause broken link in job view   
 

  
 
 
 
 

 
 Is your working in example called with custom id . ?  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d)  
 

  
 

   





-- 
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.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-issues/JIRA.200802.1563961595000.20055.1563963060301%40Atlassian.JIRA.


[JIRA] (JENKINS-58634) Custom ID cause broken link in job view

2019-07-24 Thread jochen.steinma...@de.bosch.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Jochen Steinmann commented on  JENKINS-58634  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Custom ID cause broken link in job view   
 

  
 
 
 
 

 
 If I use the build-in ID everything works fine, as soon I add id:'1000' it don't working: recordIssues aggregatingResults: true, tools: [clangTidy(name: 'Clang-Tidy: Aggregated Results', pattern: 'build/**/clang-tidy.txt')] don't recordIssues aggregatingResults: true, tools: [clangTidy(id: '1000', name: 'Clang-Tidy: Aggregated Results', pattern: 'build/**/clang-tidy.txt')]  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d)  
 

  
 

   





-- 
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.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-issues/JIRA.200802.1563961595000.20046.1563963000183%40Atlassian.JIRA.


[JIRA] (JENKINS-58634) Custom ID cause broken link in job view

2019-07-24 Thread jochen.steinma...@de.bosch.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Jochen Steinmann updated an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Jenkins /  JENKINS-58634  
 
 
  Custom ID cause broken link in job view   
 

  
 
 
 
 

 
Change By: 
 Jochen Steinmann  
 

  
 
 
 
 

 
 If recordIssues is called with a custom id, e.g {{ }}  {{ recordIssues aggregatingResults: true, tools: [clangTidy(id: '1000', name: 'Clang-Tidy: Aggregated Results', pattern: 'build/**/clang-tidy.txt')] }}, the job view link is broken and leads to HTTP ERROR 404.For example:The URL behind the Link is generated like:{{[https://Jenkins/job/BBB/job/test/job/master/1000|https://jenkins/job/BBB/job/test/job/master/1000]}}but should be[https://Jenkins/job/BBB/job/test/job/master/45/1000|https://jenkins/job/BBB/job/test/job/master/45/1000]where 45 is in my example HEAD of the job list.  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d)  
 

  
 

   





-- 
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.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-issues/JIRA.200802.1563961595000.20029.1563962220274%40Atlassian.JIRA.


[JIRA] (JENKINS-58634) Custom ID cause broken link in job view

2019-07-24 Thread jochen.steinma...@de.bosch.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Jochen Steinmann updated an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Jenkins /  JENKINS-58634  
 
 
  Custom ID cause broken link in job view   
 

  
 
 
 
 

 
Change By: 
 Jochen Steinmann  
 

  
 
 
 
 

 
 If recordIssues is called with a custom id,  e.g{{ }}{{recordIssues aggregatingResults: true, tools: [clangTidy(id: '1000', name: 'Clang-Tidy: Aggregated Results', pattern: 'build/**/clang-tidy.txt')]}},  the job view link is broken and leads to HTTP ERROR 404.For example:The URL behind the Link is generated like:{{ [ https://Jenkins/job/BBB/job/test/job/master/1000 |https://jenkins/job/BBB/job/test/job/master/1000] }}but should be[https://Jenkins/job/BBB/job/test/job/master/45/1000|https://jenkins/job/BBB/job/test/job/master/45/1000]where 45 is in my example HEAD of the job list.  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d)  
 

  
 

   





-- 
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.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-issues/JIRA.200802.1563961595000.20027.1563962220250%40Atlassian.JIRA.


[JIRA] (JENKINS-58634) Custom ID cause broken link in job view

2019-07-24 Thread ullrich.haf...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Ulli Hafner edited a comment on  JENKINS-58634  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Custom ID cause broken link in job view   
 

  
 
 
 
 

 
 Actually the link is correct. It should just not create a 404, it should navigate to the latest results of the tool with ID {{1000}}. See https://ci.jenkins.io/job/Plugins/job/warnings-ng-plugin/job/master/pmd as a working example.  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d)  
 

  
 

   





-- 
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.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-issues/JIRA.200802.1563961595000.20025.1563962100265%40Atlassian.JIRA.


[JIRA] (JENKINS-58634) Custom ID cause broken link in job view

2019-07-24 Thread ullrich.haf...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Ulli Hafner commented on  JENKINS-58634  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Custom ID cause broken link in job view   
 

  
 
 
 
 

 
 Actually the link is correct. It should just not create a 404, it should navigate to the latest results of the tool with ID 1000.  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d)  
 

  
 

   





-- 
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.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-issues/JIRA.200802.1563961595000.20023.1563961980170%40Atlassian.JIRA.


[JIRA] (JENKINS-58634) Custom ID cause broken link in job view

2019-07-24 Thread jochen.steinma...@de.bosch.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Jochen Steinmann created an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Jenkins /  JENKINS-58634  
 
 
  Custom ID cause broken link in job view   
 

  
 
 
 
 

 
Issue Type: 
  Bug  
 
 
Assignee: 
 Ulli Hafner  
 
 
Components: 
 warnings-ng-plugin  
 
 
Created: 
 2019-07-24 09:46  
 
 
Labels: 
 jenkins  
 
 
Priority: 
  Minor  
 
 
Reporter: 
 Jochen Steinmann  
 

  
 
 
 
 

 
 If recordIssues is called with a custom id, the job view link is broken and leads to HTTP ERROR 404. For example: The URL behind the Link is generated like: https://Jenkins/job/BBB/job/test/job/master/1000 but should be https://Jenkins/job/BBB/job/test/job/master/45/1000 where 45 is in my example HEAD of the job list.  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment