Jenkins is keeping all the old builds

14 views
Skip to first unread message

madhvend...@dogmasystems.com

unread,
Jan 3, 2019, 9:44:42 AM1/3/19
to Jenkins Users
Hi,
I'm using Jenkins to build the war file.
I have configured everything like a number of build or number or artifacts etc.
I have multiple customers, So I have written a script to build the war file for a specific one. 
With the log, it showing that Jenkins building the war for only one customer, but inside the artifact (target folder). Jenkins Keeps all the war file for all the customers.
How is it possible?
With the log, it showing that Jenkins building the war for only one customer, but inside the artifact (target folder). Jenkins Keeps all the war file for all the customers. 
If I delete the artifact the target folder is deleted.
But whenever I run the script to build the war file for some customer and check the target folder. 
It is again showing all the war file 

Please help me to resolve this problem
Thanks in advance

Neil T

unread,
Jan 3, 2019, 10:08:12 AM1/3/19
to Jenkins Users
I think you need to hire a jenkins consultant! 

Jan Monterrubio

unread,
Jan 3, 2019, 11:53:36 AM1/3/19
to jenkins...@googlegroups.com
Does the building of all the wire files for all the customers also happen outside of jenkins? This might be a misconfiguration of maven (I assume since you mention war and target folder). 

--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-use...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/157a5b07-69d3-4767-b9a1-7ecd90d910b3%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages