Hello,
I am working with trying to develop a Jenkins pipeline that will be able to run the test cases from a provided github repository. I am new to Jenkins and to say my experience is limited is an understatement.
I followed a tutorial by Corilogix on running the test cases and I believe it will function, however I have several questions,
1. Will the test case data always be published as an XML file?
2. Is there a way to automate / track where the XML file is stored?
The goal of the pipeline is to produce the data from running a test case so the next stage in the plugin we are developing can use the data.
pipeline{
agent any
stages{
stage('Build'){
steps{
git 'INSERT REPO LINK'
bat '.\mvnw clean compile'
}
}
stage('Test'){
steps{
bat '.\mvnw test' //Will be using the Maven Wrapper to run the Test Phases
}
}
}
}