project(serinity frame work + java code +gradle)
Probably not. We generally help people get unstuck not write complete solutions for them.
I recommend figuring out how to do what you want without Jenkins, then use sh or bat statements inside pipeline to do the same things