diff --git a/Jenkinsfile b/Jenkinsfile index 2ee1dab..2e6c6c2 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -7,8 +7,8 @@ pipeline { dotnetPack(outputDirectory: "./", project: "nugettest/") sh """ files=( ./*.nupkg) - fullfilename=$(basename -- ${files[0]}) - noext=${fullfilename%.*} + fullfilename=\$(basename -- \${files[0]}) + noext=\${fullfilename%.*} mv fullfilename $noext-$BUILD_NUMBER.nupkg