sadf
Some checks failed
gitea.arg.rip/jenkins-playground/pipeline/head There was a failure building this commit

This commit is contained in:
adam 2024-11-09 23:30:43 -05:00
parent 62234447d7
commit 2ae6dcd6d1

4
Jenkinsfile vendored
View File

@ -7,8 +7,8 @@ pipeline {
dotnetPack(outputDirectory: "./", project: "nugettest/") dotnetPack(outputDirectory: "./", project: "nugettest/")
sh """ sh """
files=( ./*.nupkg) files=( ./*.nupkg)
fullfilename=$(basename -- ${files[0]}) fullfilename=\$(basename -- \${files[0]})
noext=${fullfilename%.*} noext=\${fullfilename%.*}
mv fullfilename $noext-$BUILD_NUMBER.nupkg mv fullfilename $noext-$BUILD_NUMBER.nupkg