I have 3 test commands to run on post build but I want to run these commands based on keyword in the git commit message.
Commit message: 'New changes [CoreTest]'
if(CoreTest){
Run coreTest shell command for spoon
}else if(CloudTest){
Run CloudTest shell command for spoon
}
else{
AllTests shell command for spoon
}
Try parametrized plugin to do this job
( pass Coretest value as parameter )
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.