Jenkins build step time

24 views
Skip to first unread message

Mona Pinjani

unread,
Oct 7, 2016, 1:52:55 PM10/7/16
to Jenkins Users
Hi,

We have freestyle jobs in which we have various bill steps listed as "execute shell". 
Ex.
bundle 
# Build Ruby Gem
bundle exec rake build

All of these run inside a docker container.

How can I get a list of build times for each of these steps, including the time taken to spin up the docker container ? 


Victor Martinez

unread,
Oct 7, 2016, 6:24:27 PM10/7/16
to Jenkins Users
You can use the timestamp plugin:

If you use unix you can use the time command too within your build steps as long as they are "execute shell" types:

for instance:
time bundle
time bundle exec rake build

My two cents
Reply all
Reply to author
Forward
0 new messages