Skip to content
This repository was archived by the owner on Mar 11, 2022. It is now read-only.

Conversation

@ricellis
Copy link
Member

@ricellis ricellis commented Feb 6, 2017

What

Cleaned working directory before unstash on static nodes.

Why
Following on from #503 there were still some strange build issues on Android when files were moved or renamed. It was because on the static build node unstash would run on the same workspace as previous builds of the same branch, which could leave now deleted files present.

How

Added deleteDir() to the Jenkinsfile before calling unstash for the new workspace content.

@ricellis ricellis added this to the 2.0.0 milestone Feb 6, 2017
@ricellis ricellis merged commit f46ee6e into master Feb 6, 2017
@ricellis ricellis deleted the delete-workspace branch February 6, 2017 13:32
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants