From 400613e1b9e33577ea6ed0ff74e800a54ae7fe8e Mon Sep 17 00:00:00 2001 From: Ellpeck Date: Fri, 21 Feb 2020 13:50:41 +0100 Subject: [PATCH] apparently rm by pattern is not a thing?? --- Jenkinsfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Jenkinsfile b/Jenkinsfile index cea1217..c6da88a 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -12,7 +12,7 @@ done''' stage('Pack') { steps { - sh 'rm **/*.nupkg' + sh 'find . -type f -name \'*.nupkg\' -delete' sh '''for i in **/MLEM*.csproj; do dotnet pack $i --version-suffix ${BUILD_NUMBER} done'''