[JIRA] (JENKINS-46722) alwaysLinkToLastBuild not linking to last job result

2019-09-12 Thread nickbr...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Nicholas Brown commented on  JENKINS-46722  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: alwaysLinkToLastBuild not linking to last job result   
 

  
 
 
 
 

 
 I'm seeing this issue. The workaround to access the report suggested by Martin Røssland does not work for me. In the build log I see: 

 
[Pipeline] publishHTML
[htmlpublisher] Archiving HTML reports...
[htmlpublisher] Archiving at PROJECT level /var/lib/jenkins/workspace/project_code_master/clangScanBuildReports to /var/lib/jenkins/jobs/project/jobs/code/branches/master/htmlreports/clang_20scan-build_20Static_20Analysis_20Report
 

 and as mentioned in the this Jira ticket there is no link in the sidebar of the build. Trying to directly access the report results in: 

 
HTTP ERROR 404
Problem accessing /jobs/project/jobs/code/branches/master/htmlreports/clang_20scan-build_20Static_20Analysis_20Report/index.html. Reason:

Not Found
 

 The publishHTML step is being used in a post failure section of stage in a pipeline: 

 
post {
failure {
publishHTML target: [
allowMissing: false,
alwaysLinkToLastBuild: false,
keepAll: false,
reportDir: 'clangScanBuildReports',
reportFiles: 'index.html',
reportTitles: 'clang scan-build Static Analysis',
reportName: 'clang scan-build Static Analysis Report'
]
}
 

  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 


[JIRA] (JENKINS-46722) alwaysLinkToLastBuild not linking to last job result

2019-09-12 Thread nickbr...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Nicholas Brown updated an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Jenkins /  JENKINS-46722  
 
 
  alwaysLinkToLastBuild not linking to last job result   
 

  
 
 
 
 

 
Change By: 
 Nicholas Brown  
 
 
Priority: 
 Minor Major  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian Jira (v7.13.6#713006-sha1:cc4451f)  
 
 

 
   
 

  
 

  
 

   





-- 
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.185068.1504796587000.2150.1568300406082%40Atlassian.JIRA.


[JIRA] (JENKINS-46722) alwaysLinkToLastBuild not linking to last job result

2019-01-31 Thread martin.rossl...@altibox.no (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Martin Røssland edited a comment on  JENKINS-46722  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: alwaysLinkToLastBuild not linking to last job result   
 

  
 
 
 
 

 
 I have a build monitor where I would like to display the last cucumber test report. I also experience this issue where *only* successfully builds get published to the project level.Are there a chance this will be fixed in version 1.19?Using pipelines with jenkins 2.161 and HTML publisher plugin 1.18.*Workaround in my case:*Initially I tried to load the project report since it was a static url (example url): [http://jenkins/job/tests/job/master/report/report.html]Since the build failed it was only accessible on the specific build (example url): [http://jenkins/job/tests/job/master/123/report/report.html]I figured out that I could access the latest build through this static url (example url): [http://jenkins/job/tests/job/master/ lastBuild lastCompletedBuild /report/report.html]*Conclusion:*This issue is not a show stopper for me, but it would still be convenient to find the latest pipeline build, despite successfully run or not, in the project menu.  
 

  
 
 
 
 

 
 
 

 
 
 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.
For more options, visit https://groups.google.com/d/optout.


[JIRA] (JENKINS-46722) alwaysLinkToLastBuild not linking to last job result

2019-01-31 Thread martin.rossl...@altibox.no (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Martin Røssland edited a comment on  JENKINS-46722  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: alwaysLinkToLastBuild not linking to last job result   
 

  
 
 
 
 

 
 I have a build monitor where I would like to display the last cucumber test report. I also experience this issue where *only* successfully builds get published to the project level.Are there a chance this will be fixed in version 1.19?Using pipelines with jenkins 2.161 and HTML publisher plugin 1.18.*Workaround in my case:*Initially I tried to load the project report since it was a static url (example url): [http://jenkins/job/tests/job/master/report/report.html]Since the build failed it was only accessible on the specific build (example url): [http://jenkins/job/tests/job/master/123/report/report.html]I figured out that I could access the latest build through this static url (example url): [http://jenkins/job/tests/job/master/lastBuild/report/report.html]*Conclusion:* ** This issue is not a show stopper for me, but it would still be convenient to find the latest pipeline build, despite successfully run or not, in the project menu.  
 

  
 
 
 
 

 
 
 

 
 
 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.
For more options, visit https://groups.google.com/d/optout.


[JIRA] (JENKINS-46722) alwaysLinkToLastBuild not linking to last job result

2019-01-31 Thread martin.rossl...@altibox.no (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Martin Røssland edited a comment on  JENKINS-46722  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: alwaysLinkToLastBuild not linking to last job result   
 

  
 
 
 
 

 
 I have a build monitor where I would like to display the last cucumber test report. I also experience this issue where *only* successfully builds get published to the project level.Are there a chance this will be fixed in version 1.19?Using pipelines with jenkins 2.161 and HTML publisher plugin 1.18.*Workaround  for  in  my case:*Initially I tried to load the project report since it was a static url (example url):[http://jenkins/job/tests/job/master/report/report.html]Since the build failed it was only accessible on the specific build (example url):[http://jenkins/job/tests/job/master/123/report/report.html]I figured out that I could access the latest build through this static url (example url):[http://jenkins/job/tests/job/master/lastBuild/report/report.html]*Conclusion:***This issue is not a show stopper for me, but it would still be convenient to find the latest pipeline build, despite successfully run or not, in the project menu.  
 

  
 
 
 
 

 
 
 

 
 
 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.
For more options, visit https://groups.google.com/d/optout.


[JIRA] (JENKINS-46722) alwaysLinkToLastBuild not linking to last job result

2019-01-31 Thread martin.rossl...@altibox.no (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Martin Røssland edited a comment on  JENKINS-46722  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: alwaysLinkToLastBuild not linking to last job result   
 

  
 
 
 
 

 
 I have a build monitor where I would like to display the last cucumber test report. I also experience this issue where *only* successfully builds get published to the project level.Are there a chance this will be fixed in version 1.19?Using pipelines with jenkins 2.161 and HTML publisher plugin 1.18. *Workaround for my case:*Initially I tried to load the project report since it was a static url (example url):[http://jenkins/job/tests/job/master/report/report.html]Since the build failed it was only accessible on the specific build (example url):[http://jenkins/job/tests/job/master/123/report/report.html]I figured out that I could access the latest build through this static url (example url):[http://jenkins/job/tests/job/master/lastBuild/report/report.html]*Conclusion:***This issue is not a show stopper for me, but it would still be convenient to find the latest pipeline build, despite successfully run or not, in the project menu.  
 

  
 
 
 
 

 
 
 

 
 
 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.
For more options, visit https://groups.google.com/d/optout.


[JIRA] (JENKINS-46722) alwaysLinkToLastBuild not linking to last job result

2019-01-31 Thread martin.rossl...@altibox.no (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Martin Røssland commented on  JENKINS-46722  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: alwaysLinkToLastBuild not linking to last job result   
 

  
 
 
 
 

 
 I have a build monitor where I would like to display the last cucumber test report. I also experience this issue where only successfully builds get published to the project level. Are there a chance this will be fixed in version 1.19? Using pipelines with jenkins 2.161 and HTML publisher plugin 1.18.  
 

  
 
 
 
 

 
 
 

 
 
 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.
For more options, visit https://groups.google.com/d/optout.


[JIRA] (JENKINS-46722) alwaysLinkToLastBuild not linking to last job result

2019-01-24 Thread swcomp...@abv.bg (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 George Petrov commented on  JENKINS-46722  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: alwaysLinkToLastBuild not linking to last job result   
 

  
 
 
 
 

 
 My workaround is to send exit code 0 even when there are failures in the tests.  
 

  
 
 
 
 

 
 
 

 
 
 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.
For more options, visit https://groups.google.com/d/optout.


[JIRA] (JENKINS-46722) alwaysLinkToLastBuild not linking to last job result

2018-12-21 Thread jda...@ipswitch.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Jason Davis commented on  JENKINS-46722  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: alwaysLinkToLastBuild not linking to last job result   
 

  
 
 
 
 

 
 Also seeing this issue. Workarounds appreciated!   
 

  
 
 
 
 

 
 
 

 
 
 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.
For more options, visit https://groups.google.com/d/optout.