I'm new to Jenkins jobs. What I wanted to achieve is to parse the contents of a dynamically created CSV file for the list of names of test cases I want to execute in my maven build statement. The CSV file is available in my workspace under the /src/test/result
directory and here is the build configuration:
Maven version: Maven-3.3.3
Root POM: pom.xml
Goals and options: clean install -Dinclude.tag=test1
I tried File Parameter and specified my csv's location but I don't know how to get the contents of the file so I can replace test1
in the Goals and option section by the list of names of my test cases to execute. I'm using the Execute windows batch command in my pre build steps. Any help is highly appreciated.