From 8d2ccf0538a43dadcdcdfb2a1527f3bac536a764 Mon Sep 17 00:00:00 2001 From: Garry Newman Date: Thu, 16 Mar 2017 12:32:00 +0000 Subject: [PATCH] Jenkinsfile --- Jenkinsfile | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 Jenkinsfile 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