diff options
author | Alexander Köplinger <alex.koeplinger@outlook.com> | 2019-07-19 23:59:06 +0300 |
---|---|---|
committer | Alexander Köplinger <alex.koeplinger@outlook.com> | 2019-07-19 23:59:06 +0300 |
commit | d159a38c478697072701d68bbdae57914d36dbb5 (patch) | |
tree | 0c8721a6521b7e6b2cfe715ec69a1e73b06f9ec2 /scripts | |
parent | 1ab23207b52cb1fd8413f5ecfdcfe79f2d3213bb (diff) |
[ci] Clean working directory after build in package and sdks build
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/ci/pipeline/osx-package.groovy | 2 | ||||
-rw-r--r-- | scripts/ci/pipeline/sdks-archive.groovy | 2 | ||||
-rw-r--r-- | scripts/ci/pipeline/win-package.groovy | 2 |
3 files changed, 6 insertions, 0 deletions
diff --git a/scripts/ci/pipeline/osx-package.groovy b/scripts/ci/pipeline/osx-package.groovy index bf71ba52c7e..da4f8ec9540 100644 --- a/scripts/ci/pipeline/osx-package.groovy +++ b/scripts/ci/pipeline/osx-package.groovy @@ -72,6 +72,8 @@ try { doNotWaitForPreviousBuild: true, uploadArtifactsOnlyIfSuccessful: true) } + + sh 'git clean -xdff' } } diff --git a/scripts/ci/pipeline/sdks-archive.groovy b/scripts/ci/pipeline/sdks-archive.groovy index 908a8c59f9d..d21a77b05a2 100644 --- a/scripts/ci/pipeline/sdks-archive.groovy +++ b/scripts/ci/pipeline/sdks-archive.groovy @@ -143,6 +143,8 @@ def archive (product, configuration, platform, chrootname = "", chrootadditional uploadArtifactsOnlyIfSuccessful: true) } + sh 'git clean -xdff' + utils.reportGitHubStatus (isPr ? env.ghprbActualCommit : commitHash, "Archive-${product}-${configuration}-${platform}", "https://xamjenkinsartifact.azureedge.net/mono-sdks/${packageFileName}", 'SUCCESS', packageFileName) } catch (Exception e) { diff --git a/scripts/ci/pipeline/win-package.groovy b/scripts/ci/pipeline/win-package.groovy index 1f163f7c613..2b48c204f5f 100644 --- a/scripts/ci/pipeline/win-package.groovy +++ b/scripts/ci/pipeline/win-package.groovy @@ -83,6 +83,8 @@ try { doNotWaitForPreviousBuild: true, uploadArtifactsOnlyIfSuccessful: true) } + + sh 'git clean -xdff' } } |