diff --git a/JenkinsfileScripts/PublishNugetArtifacts.sh b/JenkinsfileScripts/PublishNugetArtifacts.sh index 103b598..f782a6d 100644 --- a/JenkinsfileScripts/PublishNugetArtifacts.sh +++ b/JenkinsfileScripts/PublishNugetArtifacts.sh @@ -1,5 +1,6 @@ echo "Publish version $1 artifacts" BUILD_NUMBER = $1 -for f in BetfairApi/bin/Release/**/*.nupkg; do - dotnet nuget push "Successfulcode$f" -k "8bb434b9-48cb-345d-a089-5216967caac1" -s "http://artifacts.successfulcode.com/repository/nuget-hosted/" +for f in */bin/Release/**/*.nupkg; do + rename $f SuccessfulCode$f + dotnet nuget push "$f" -k "8bb434b9-48cb-345d-a089-5216967caac1" -s "http://artifacts.successfulcode.com/repository/nuget-hosted/" done \ No newline at end of file