bash is not real
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:46:10 -05:00
parent 77df24da72
commit be5cce5e7e

6
Jenkinsfile vendored
View File

@ -5,11 +5,11 @@ pipeline {
stage('nuget'){
steps{
dotnetPack(outputDirectory: "./", project: "nugettest/")
bash """
sh """
echo "i really just want to know if the fucking \$BUILD_NUMBER works"
files=( ./*.nupkg )
fullfilename=\$(basename -- \${files[0]})
filename=\$(ls ./*.nupkg | head -1)
fullfilename=\$(basename -- \$filename)
noext=\${fullfilename%.*}
echo "mv fullfilename \$noext-\$BUILD_NUMBER.nupkg"