diff --git a/Jenkinsfile b/Jenkinsfile new file mode 100644 index 0000000..dd7a23b --- /dev/null +++ b/Jenkinsfile @@ -0,0 +1,14 @@ +node { + stage 'Checkout' + checkout scm + + stage 'Build' + bat 'nuget restore Facepunch.Steamworks.sln' + bat "\"${tool 'MSBuild'}\" Facepunch.Steamworks/Facepunch.Steamworks.csproj /p:Configuration=Release /p:ProductVersion=1.0.0.${env.BUILD_NUMBER}" + bat "\"${tool 'MSBuild'}\" Facepunch.Steamworks/Facepunch.Steamworks.csproj /p:Configuration=Debug /p:ProductVersion=1.0.0.${env.BUILD_NUMBER}" + + stage 'Archive' + archiveArtifacts Release: 'Facepunch.Steamworks/bin/Release/**' + archiveArtifacts Debug: 'Facepunch.Steamworks/bin/Debug/**' + +} \ No newline at end of file