Is there a way/configuration to let jenkins create a temporary directory where to store files created by an application? At the end this temporary directory should be deleted.
Is there a way/configuration to let jenkins create a temporary directory where to store
Share
You can do this with Add Build Step > Execute Shell. There you simply create the folder and also remove it at the end.
If the folder can be located within the Job’s workspace, the workspace cleanup plugin might be of help as it allows you to delete the workspace once the build is completed.