mercredi 16 décembre 2020

How to run a specific test or class using jenkins pipeline

I'm using this command to run my tests:

sh "${mvnHome}/bin/mvn clean test -e -Dgroups=categories.dbd"

but sometimes I want to run a specific test. How can I do it?

I read that I can use "This project is parameterized" but didn't understand how to use it.

I also saw this - https://plugins.jenkins.io/selected-tests-executor/ but it's not good enough since it required an external file.

Aucun commentaire:

Enregistrer un commentaire