Forum Discussion

ricardofellini's avatar
ricardofellini
Occasional Visitor
2 years ago

Jenkins Integration

Hello,

I'm trying to integrate the Zephyr plugin with our Jenkins pipeline test automation.

I already configured the script (sh) and set the Post-build action, but I'm seeing in the log this message:

 

couldn't open file "/home/seba/testng.xml"

 

This path exists, I configured the .sh file in this way:

 

# Folder info
folderName="RegressionTests"
createNewFolder="true"
appendDateTimeInFolderName="true"
assigneeUser="myuserhere"

# Name of the test result file
resultPath="@/home/seba/testng.xml" 

My question is, what this resultPath means? Because the tests runs in a Jenkins machine, What should I configure in this variable?

1 Reply

  • Hello,

     

    Does this patch in the same server where Jenkins is installed?

    If yes you need to get the path of the build run and pass it there 

     

    Thanks

    Govind