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

0 votes
I am new to Jenkins. I am trying to run a dummy project on Jenkins and it requires Jenkins to run a shell script post build action. How to do this?
Jun 24 in Jenkins by Arvind
• 1,290 points
23 views

1 answer to this question.

0 votes
When you configure your jenkins job there is a section where you can specify post build actions. If this plugin is not visible then you need to download it. After that you can specify the script or the contents of the script. Click on apply and run the job.
answered Jun 24 by Neel
• 1,350 points

Related Questions In Jenkins

0 votes
1 answer

How to auto build a job in jenkins if there is any change in code on Github repository?

Yes this is possible. Follow these steps. 1. ...READ MORE

answered Jun 20 in Jenkins by Arvind
• 1,290 points
45 views
+2 votes
5 answers
0 votes
1 answer

How to trigger a Jenkins pipeline A in another Jenkins pipeline B?

You can run the following code, its ...READ MORE

answered Jul 5, 2018 in Jenkins by Sophie may
• 9,370 points
2,014 views
0 votes
1 answer

How do I pass value from my Fake # script to the host build server (Jenkins)

You can use the EnvInject plugin to pass environment ...READ MORE

answered Jul 11, 2018 in Jenkins by Kalgi
• 2,620 points
59 views
+13 votes
2 answers
0 votes
1 answer
+1 vote
1 answer

How to run a job in Jekins by a different user ?

To run a job by a specific ...READ MORE

answered Jun 17 in Jenkins by Neel
• 1,350 points
13 views
0 votes
1 answer