@@ -30,60 +30,53 @@ def static getBuildJobName(def configuration, def os) {
3030def buildCommand= ' ' ;
3131def buildOutput= ' ' ;
3232def buildArgs= ' ' ;
33- def getMono= '''
34- sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF
35- echo "deb http://download.mono-project.com/repo/ubuntu stable-trusty main" | sudo tee /etc/apt/sources.list.d/mono-official-stable.list
36- sudo apt-get update
37- sudo apt-get -my install mono-devel
38- mono --version
39- '''
4033
4134if (configuration== " Release_fcs" && branch!= " dev15.5" ) {
4235// Build and test FCS NuGet package
43- buildOutput= " Release "
36+ buildOutput= " release "
4437if (os== ' Windows_NT' ) {
4538 buildCommand= " .\\ fcs\\ build.cmd TestAndNuget"
4639 }
4740else {
48- buildCommand= getMono + " ./fcs/build .sh Build"
41+ buildCommand= " ./fcs/cibuild .sh Build"
4942 }
5043 }
5144else if (configuration== " Debug_default" ) {
52- buildOutput= " Debug "
45+ buildOutput= " debug "
5346if (os== ' Windows_NT' ) {
5447 buildCommand= " build.cmd debug"
5548 }
5649else {
57- buildCommand= getMono + " make Configuration=Debug"
50+ buildCommand= " ./mono/cimake.sh install Configuration=Debug"
5851 }
5952 }
6053else if (configuration== " Release_default" ) {
61- buildOutput= " Release "
54+ buildOutput= " release "
6255if (os== ' Windows_NT' ) {
6356 buildCommand= " build.cmd release"
6457 }
6558else {
66- buildCommand= getMono + " make Configuration=Release"
59+ buildCommand= " ./mono/cimake.sh install Configuration=Release"
6760 }
6861 }
6962else if (configuration== " Release_net40_test" ) {
70- buildOutput= " Release "
63+ buildOutput= " release "
7164 buildCommand= " build.cmd release net40 test"
7265 }
7366else if (configuration== " Release_ci_part1" ) {
74- buildOutput= " Release "
67+ buildOutput= " release "
7568 buildCommand= " build.cmd release ci_part1"
7669 }
7770else if (configuration== " Release_ci_part2" ) {
78- buildOutput= " Release "
71+ buildOutput= " release "
7972 buildCommand= " build.cmd release ci_part2"
8073 }
8174else if (configuration== " Release_ci_part3" ) {
82- buildOutput= " Release "
75+ buildOutput= " release "
8376 buildCommand= " build.cmd release ci_part3"
8477 }
8578else if (configuration== " Release_net40_no_vs" ) {
86- buildOutput= " Release "
79+ buildOutput= " release "
8780 buildCommand= " build.cmd release net40"
8881 }
8982
@@ -108,7 +101,7 @@ mono --version
108101Utilities . standardJobSetup(newJob, project, isPullRequest," */${ branch} " )
109102
110103Utilities . addArchival(newJob," tests/TestResults/*.*" ," " , skipIfNoTestFiles,false )
111- Utilities . addArchival(newJob," ${ buildOutput} /**" )
104+ Utilities . addArchival(newJob," ${ buildOutput} /**" , skipIfNoBuildOutput, false )
112105if (isPullRequest) {
113106Utilities . addGithubPRTriggerForBranch(newJob, branch," ${ os} ${ configuration} Build" )
114107 }