How to add maven goals in Jenkins declarative script

0 votes
Can somebody help? How to add maven goals in Jenkins declarative script? Pls if anyone knows help me.
Sep 17, 2020 in Jenkins by anonymous
• 19,610 points
3,336 views
Have you tried ssh-add?

1 answer to this question.

0 votes
Have you tries ssh-add?

Add maven in global tool configuration and Run mvn clean package.
answered Sep 17, 2020 by Jai
I mean I need exact syntax in script.

Refer to these images.

Related Questions In Jenkins

0 votes
2 answers
0 votes
1 answer

How to construct Maven installation in Jenkins for each Slave node?

I’m assuming that Java and Maven are ...READ MORE

answered Aug 2, 2018 in Jenkins by Sophie may
• 10,620 points
5,188 views
0 votes
3 answers

How to get the Maven Version of a project in Jenkins?

Here is a snippet from our Jenkins ...READ MORE

answered Oct 4, 2019 in Jenkins by Petr Doležal
23,192 views
0 votes
2 answers

how to execute a shell script post build step in Jenkins?

You could use the Post Build Task Plugin ...READ MORE

answered Jul 31, 2019 in Jenkins by Sirajul
• 59,230 points
29,472 views
+1 vote
1 answer

How to configure SCM Plastic Maven Project in Jenkins?

Hey @Anoop, In order to create a ...READ MORE

answered Nov 19, 2019 in Jenkins by Sirajul
• 59,230 points
1,312 views
+15 votes
2 answers

Git management technique when there are multiple customers and need multiple customization?

Consider this - In 'extended' Git-Flow, (Git-Multi-Flow, ...READ MORE

answered Mar 27, 2018 in DevOps & Agile by DragonLord999
• 8,450 points
4,039 views
+2 votes
1 answer
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP