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'){
|
||||
steps{
|
||||
dotnetPack(outputDirectory: "./", project: "nugettest/")
|
||||
bash """
|
||||
sh """
|
||||
|
||||
echo "i really just want to know if the fucking \$BUILD_NUMBER works"
|
||||
files=( ./*.nupkg )
|
||||
fullfilename=\$(basename -- \${files[0]})
|
||||
filename=\$(ls ./*.nupkg | head -1)
|
||||
fullfilename=\$(basename -- \$filename)
|
||||
noext=\${fullfilename%.*}
|
||||
|
||||
echo "mv fullfilename \$noext-\$BUILD_NUMBER.nupkg"
|
||||
|
Loading…
Reference in New Issue
Block a user