jeudi 29 septembre 2016

run multiple gradle tasks in one jenkins job even when fail

Is there a way to run multiple gradle (junit tests) tasks in one jenkins job? jenkins should run the next task even the previous one failed.

I tried this through the shell:

./gradlew clean &
./gradlew myTest -Pserver=serverA &
./gradlew myTest -Pserver=serverB &
./gradlew myTest -Pserver=serverC -Pfollow=false

Here jenkins would just run the first line and stop after that.

Then I tried to use the multiple conditions plugin. This one works until one job fails.

Aucun commentaire:

Enregistrer un commentaire