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 in Jenkins by anonymous
• 18,300 points
25 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 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 1, 2018 in Jenkins by Sophie may
• 10,100 points
1,905 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
7,915 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
• 58,130 points
15,722 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
• 58,130 points
250 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 26, 2018 in DevOps & Agile by DragonLord999
• 8,450 points
719 views
+2 votes
1 answer