jenkins-playground/Jenkinsfile
adam 77df24da72
Some checks failed
gitea.arg.rip/jenkins-playground/pipeline/head There was a failure building this commit
is bash even real
2024-11-09 23:42:18 -05:00

26 lines
689 B
Groovy

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