alright feeling good about this one kinda
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:48:25 -05:00
parent be5cce5e7e
commit 222aa0c304

6
Jenkinsfile vendored
View File

@ -6,19 +6,17 @@ pipeline {
steps{ steps{
dotnetPack(outputDirectory: "./", project: "nugettest/") dotnetPack(outputDirectory: "./", project: "nugettest/")
sh """ sh """
echo "i really just want to know if the fucking \$BUILD_NUMBER works"
filename=\$(ls ./*.nupkg | head -1) filename=\$(ls ./*.nupkg | head -1)
fullfilename=\$(basename -- \$filename) fullfilename=\$(basename -- \$filename)
noext=\${fullfilename%.*} noext=\${fullfilename%.*}
echo "mv fullfilename \$noext-\$BUILD_NUMBER.nupkg" mv fullfilename \$noext-\$BUILD_NUMBER.nupkg
files=null files=null
fullfilename=null fullfilename=null
noext=null noext=null
""" """
dotnetNuGetPush(root: "./") dotnetNuGetPush(root: "./*.nupkg")
} }
} }
} }