geodynamics / vq

Virtual Quake is a boundary element code designed to investigate long term fault system behavior and interactions between faults through stress transfer.
Other
12 stars 24 forks source link

Add post cleanup to Jenkinsfile #197

Closed tjesser-ucdavis-edu closed 6 years ago

tjesser-ucdavis-edu commented 6 years ago

Apparently, despite using ephemeral containers, Jenkins still likes to leave files behind. Got the fix from here: https://stackoverflow.com/questions/37468455/jenkins-pipeline-wipe-out-workspace

tjesser-ucdavis-edu commented 6 years ago

Hmm, when I created this PR, there were still files for #196 on the Jenkins server. After this ran, they disappeared and Jenkins only has files for this PR.

The reason I looked into this was because the Aspect builds were leaving way too many PR directories on the Jenkins server. It might be that this isn't necessary and there's something else going on with Aspect. It's a bit hard to tell, since this has only had two builds run on the new Jenkins.

I think I'm going to close this for now.