Skip to content

Conversation

arjun-raj-kuppala
Copy link
Contributor

No description provided.

stage("SYNC - ${backendLabel}") {

// Delete the workspace
sh "rm ${env.WORKSPACE}/* -fr"
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Using consistent coding style?

Suggested change
sh "rm ${env.WORKSPACE}/* -fr"
sh "rm -fr ${env.WORKSPACE}/*"

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Note that this might not delete files and directories starting with '.', which might be an issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants