Skip to content

Commit 4c2fefd

Browse files
author
Frode Sjovatsen
committed
added nuget config
1 parent 7a64d92 commit 4c2fefd

3 files changed

Lines changed: 8 additions & 1 deletion

File tree

FINT.Model.Resource.sln

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ ProjectSection(SolutionItems) = preProject
1010
.gitignore = .gitignore
1111
Jenkinsfile = Jenkinsfile
1212
version.txt = version.txt
13+
NuGet.Config = NuGet.Config
1314
EndProjectSection
1415
EndProject
1516
Global

Jenkinsfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ pipeline {
1010
}
1111
steps {
1212
sh 'git clean -fdx'
13-
sh 'dotnet restore -s https://api.bintray.com/nuget/fint/nuget'
13+
sh 'dotnet restore'
1414
sh 'dotnet build -c Release'
1515
sh 'dotnet pack -c Release'
1616
stash includes: '**/Release/*.nupkg', name: 'libs'

NuGet.Config

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
<configuration>
2+
<packageSources>
3+
<add key="nuget.org" value="https://api.nuget.org/v3/index.json" protocolVersion="3" />
4+
<add key="Bintray" value="https://api.bintray.com/nuget/fint/nuget" />
5+
</packageSources>
6+
</configuration>

0 commit comments

Comments
 (0)