Quantcast

Build delete or discard action

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Build delete or discard action

Martin Kaul
Hi,

After successful build of a job I deploy the executables to a server. In the job settings I configured “Discard Old Builds” with 7 maximal builds to keep. I want now to delete the deployed items on the server automatically when the corresponding build in Jenkins is discard or deleted. To do this I need a Build Discard/Delete action that executes for example a shell.

Is this possible?

Best regards
  Martin Kaul

Loading...