Hi,
I have done a page object style cucumber project and I want to run this from Jenkins. In my page file I have use the following script to extract data from a xml file. When I run the feature file from PowerShell/CMD is working all fine. However, when I run from Jenkins it will stop at the first script that need to populate the data I extracted from xml. On the cucumber report it says no JSON file found. Am I missing any plugins to do this or is because of something else please advise? Thank you
'file = Nokogiri::XML(File.open(“C:/Users/JP/Cucumber/Project1/1.xml”))
@xmlNcb = file.xpath(“//firstname”).text
Jenkins setup: Jenkins 2.504.1 installed as window service