In Jenkins actual build period time 30 mins How to reduce the time 20 min

0 votes
In Jenkins, actual build period time 30 mins. How to reduce the time 20 min??
Feb 9, 2020 in Jenkins by anonymous
• 19,610 points
3,987 views

1 answer to this question.

0 votes
If you are looking for allocating build time for a Jenkins job, you will require a Build-timeout plugin.

Install the Build-timeout plugin in Jenkins and set the timeout to 20min.

That should do!
answered Feb 11, 2020 by Sirajul
• 59,230 points
0 votes
If the question is how to improve the time it takes to build in Jenkins, then following could be options to look into,

1. Check if too many dependency files are getting downloaded from artifactory or somewhere else and remove the unnecessary ones.

2. Check if the server you downloading the files from is fast enough and the network latency.

3. Check the timestamp and logs to see what is causing the delay in the build time and improve it.

4. The build package could be having heavy images which would require you to compress or trim the artifact.
answered Jul 13, 2021 by Manisha Naidu

edited Mar 5

Related Questions In Jenkins

+2 votes
5 answers
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,680 points
1,515 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,888 views
0 votes
1 answer

How to fix a broken build for my project in jenkins?

The user needs to open the console ...READ MORE

answered Oct 11, 2019 in Jenkins by Sirajul
• 59,230 points
8,964 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,247 views
+2 votes
1 answer
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,641 views
+1 vote
3 answers

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

To automatically run build on code commit, follow ...READ MORE

answered Jul 31, 2019 in Jenkins by Sirajul
• 59,230 points
79,609 views
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