Ask a Question

Jenkins Integration

ricardofellini
Occasional Visitor

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 1
govinddrolia
Staff

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 

cancel
Showing results for 
Search instead for 
Did you mean: