[JIRA] (JENKINS-58923) Cannot browse result of tests when publishing several fitnesse result files on Windows

0 views
Skip to first unread message

JohannMoro@gmail.com (JIRA)

unread,
Aug 14, 2019, 7:29:04 AM8/14/19
to jenkinsc...@googlegroups.com
Johann Moro created an issue
 
Jenkins / Bug JENKINS-58923
Cannot browse result of tests when publishing several fitnesse result files on Windows
Issue Type: Bug Bug
Assignee: Unassigned
Attachments: linux.png, windows.png
Components: fitnesse-plugin
Created: 2019-08-14 11:28
Labels: plugin
Priority: Major Major
Reporter: Johann Moro

When you publish more than one fitnesse xml results in this way (pipeline):

step([$class: 'FitnesseResultsRecorder', fitnessePathToXmlResultsIn: 'fitnesse_*.xml'])

On a linux agent, if you go to FitNesse Results, you get the links for the two results and you can click on them to browse them.
The link resolves correctly to:
http://localhost:8080/job/MyJob/5/fitnesseReport/fitnesse_linux.xml

But on a Windows agent, the link points to a local disk folder as opposed to a http URL
C:\jenkins\workspaces\MyJob\fitnesseReport/fitnesse_linux.xml

This means that the link does not resolve when Jenkins is running (as expected) on a remote machine.

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

JohannMoro@gmail.com (JIRA)

unread,
Aug 14, 2019, 7:30:03 AM8/14/19
to jenkinsc...@googlegroups.com
Johann Moro updated an issue
Change By: Johann Moro
When you publish more than one fitnesse xml results in this way (pipeline):
{code}step([$class: 'FitnesseResultsRecorder', fitnessePathToXmlResultsIn: 'fitnesse_*.xml']){code}

On a linux agent, if you go to _FitNesse Results_, you get the links for the two results and you can click on them to browse them.
!linux.png!

But on a Windows agent, the link points to a local disk folder as opposed to a http URL
C:\jenkins\workspaces\MyJob\fitnesseReport/fitnesse_linux.xml
!windows.png!

This means that the link does not resolve when Jenkins is running (as expected) on a remote machine.

jaruzafa@gmail.com (JIRA)

unread,
Aug 16, 2019, 6:00:02 PM8/16/19
to jenkinsc...@googlegroups.com
jaruzafa commented on Bug JENKINS-58923
 
Re: Cannot browse result of tests when publishing several fitnesse result files on Windows

Hi Johann Moro, please could you provide which fitnesse-plugin version are you using? I haven't reproduce this one on my windows machine with ver. 1.29

Thanks!

JohannMoro@gmail.com (JIRA)

unread,
Aug 17, 2019, 11:28:03 AM8/17/19
to jenkinsc...@googlegroups.com

I reproduced this on 1.28.
I could try again on 1.29 although it doesn't appear yet in my Jenkins as an available upgrade. My company stages these so this isn't going to be immediate. The change in 1.29 doesn't seem relevant though.

If that is relevant at all, we use Jenkins version 2.164.1
Below if my full pipeline that reproduces this:

pipeline {
    agent {
        label 'windows-agent'
    }
    stages {
        stage ('Repro') {
            steps {
                echo 'Make sure the files are in the Workspace'
            }
        }
    }
    post {
        always {
            step([$class: 'FitnesseResultsRecorder', fitnessePathToXmlResultsIn: 'fitnesse_*.xml'])
        }
    }
}

JohannMoro@gmail.com (JIRA)

unread,
Aug 17, 2019, 11:32:02 AM8/17/19
to jenkinsc...@googlegroups.com
Johann Moro edited a comment on Bug JENKINS-58923
I reproduced this on 1.28.
I could try again on 1.29 although it doesn't appear yet in my Jenkins as an available upgrade. My company stages these so this isn't going to be immediate. The change in 1.29 doesn't seem relevant though.

If that is relevant at all, we use Jenkins version 2.164.1
And to be complete, we use FitNesse version 20190628 to generate the xml files.

Below if my full pipeline that reproduces this (once the files are generated) :
{code}

pipeline {
    agent {
        label 'windows-agent'
    }
    stages {
        stage ('Repro') {
            steps {
                echo 'Make sure the files are in the Workspace'
            }
        }
    }
    post {
        always {
            step([$class: 'FitnesseResultsRecorder', fitnessePathToXmlResultsIn: 'fitnesse_*.xml'])
        }
    }
}
{code}

jaruzafa@gmail.com (JIRA)

unread,
Aug 31, 2019, 10:39:02 AM8/31/19
to jenkinsc...@googlegroups.com
jaruzafa commented on Bug JENKINS-58923

Thanks Johann Moro, I've been able to reproduce this one. It fails when master is linux and agent is windows. If both master and agent are windows, it works OK. I'll investigate into it.

jaruzafa@gmail.com (JIRA)

unread,
Sep 19, 2019, 3:01:02 PM9/19/19
to jenkinsc...@googlegroups.com
Change By: jaruzafa
Status: In Progress Fixed but Unreleased
Resolution: Fixed
This message was sent by Atlassian Jira (v7.13.6#713006-sha1:cc4451f)
Atlassian logo

jaruzafa@gmail.com (JIRA)

unread,
Sep 19, 2019, 3:01:03 PM9/19/19
to jenkinsc...@googlegroups.com
jaruzafa started work on Bug JENKINS-58923
 
Change By: jaruzafa
Status: Open In Progress

jaruzafa@gmail.com (JIRA)

unread,
Sep 19, 2019, 3:28:03 PM9/19/19
to jenkinsc...@googlegroups.com
 

Fixed on fitnesse-plugin 1.30

Change By: jaruzafa
Status: Fixed but Unreleased Resolved
Reply all
Reply to author
Forward
0 new messages