jenkins-playground/Jenkinsfile
adam 9b57f318ba
Some checks failed
gitea.arg.rip/jenkins-playground/pipeline/head There was a failure building this commit
again. madness.
2024-11-09 23:37:57 -05:00

25 lines
650 B
Groovy

pipeline {
agent any
stages {
stage('nuget'){
steps{
dotnetPack(outputDirectory: "./", project: "nugettest/")
sh """
echo "look at me, i am line 2 now"
files=( ./*.nupkg)
fullfilename=\$(basename -- \${files[0]})
noext=\${fullfilename%.*}
echo "mv fullfilename \$noext-\$BUILD_NUMBER.nupkg"
files=null
fullfilename=null
noext=null
"""
dotnetNuGetPush(root: "./")
}
}
}
}