Created
July 18, 2018 10:11
-
-
Save DevWouter/02b10cd916f15c800167db0614bbf725 to your computer and use it in GitHub Desktop.
tutorial-input
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// A Hello World! program in C#. | |
using System; | |
namespace HelloWorld | |
{ | |
class Hello | |
{ | |
static void Main() | |
{ | |
Console.WriteLine("Hello World!"); | |
} | |
} | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | |
<ItemGroup> | |
<Compile Include="helloworld.cs" /> | |
</ItemGroup> | |
<Target Name="Build"> | |
<Csc Sources="@(Compile)"/> | |
</Target> | |
</Project> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
node { ws { | |
def msbuild_tool = tool( | |
name: 'MSBuild 4 (x64)', | |
type: 'hudson.plugins.msbuild.MsBuildInstallation'); | |
stage("checkout") { | |
checkout scm; | |
} | |
stage("build") { | |
bat "${msbuild_tool} helloworld.csproj" | |
} | |
stage("test") { | |
echo "Voer de tests uit" | |
} | |
stage("deploy") { | |
echo "Deploy naar de juiste omgeving" | |
} | |
} } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment