alright feeling good about this one kinda
Some checks failed
gitea.arg.rip/jenkins-playground/pipeline/head There was a failure building this commit
Some checks failed
gitea.arg.rip/jenkins-playground/pipeline/head There was a failure building this commit
This commit is contained in:
parent
be5cce5e7e
commit
222aa0c304
6
Jenkinsfile
vendored
6
Jenkinsfile
vendored
@ -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")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user