jenkins-playground/Jenkinsfile
adam be5cce5e7e
Some checks failed
gitea.arg.rip/jenkins-playground/pipeline/head There was a failure building this commit
bash is not real
2024-11-09 23:46:10 -05:00

26 lines
701 B
Groovy

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