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.