bash is not real
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
77df24da72
commit
be5cce5e7e
6
Jenkinsfile
vendored
6
Jenkinsfile
vendored
@ -5,11 +5,11 @@ pipeline {
|
|||||||
stage('nuget'){
|
stage('nuget'){
|
||||||
steps{
|
steps{
|
||||||
dotnetPack(outputDirectory: "./", project: "nugettest/")
|
dotnetPack(outputDirectory: "./", project: "nugettest/")
|
||||||
bash """
|
sh """
|
||||||
|
|
||||||
echo "i really just want to know if the fucking \$BUILD_NUMBER works"
|
echo "i really just want to know if the fucking \$BUILD_NUMBER works"
|
||||||
files=( ./*.nupkg )
|
filename=\$(ls ./*.nupkg | head -1)
|
||||||
fullfilename=\$(basename -- \${files[0]})
|
fullfilename=\$(basename -- \$filename)
|
||||||
noext=\${fullfilename%.*}
|
noext=\${fullfilename%.*}
|
||||||
|
|
||||||
echo "mv fullfilename \$noext-\$BUILD_NUMBER.nupkg"
|
echo "mv fullfilename \$noext-\$BUILD_NUMBER.nupkg"
|
||||||
|
Loading…
Reference in New Issue
Block a user