diff --git a/Jenkinsfile b/Jenkinsfile index c14836e..0fc76a3 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -6,19 +6,17 @@ pipeline { steps{ dotnetPack(outputDirectory: "./", project: "nugettest/") sh """ - - echo "i really just want to know if the fucking \$BUILD_NUMBER works" filename=\$(ls ./*.nupkg | head -1) fullfilename=\$(basename -- \$filename) noext=\${fullfilename%.*} - echo "mv fullfilename \$noext-\$BUILD_NUMBER.nupkg" + mv fullfilename \$noext-\$BUILD_NUMBER.nupkg files=null fullfilename=null noext=null """ - dotnetNuGetPush(root: "./") + dotnetNuGetPush(root: "./*.nupkg") } } }