@@ -4,7 +4,7 @@ import jobs.generation.JobReport;
44def project= GithubProject
55def branch= GithubBranchName
66
7- def osList= [' Windows_NT' ,' Ubuntu16 .04' ]// , 'OSX'], 'CentOS7.1'
7+ def osList= [' Windows_NT' ,' Ubuntu14 .04' ]// , 'OSX'], 'CentOS7.1'
88
99def static getBuildJobName (def configuration ,def os ) {
1010return configuration. toLowerCase()+ ' _' + os. toLowerCase()
@@ -14,7 +14,7 @@ def static getBuildJobName(def configuration, def os) {
1414 osList. each {os ->
1515def configurations= [];
1616if (os== ' Windows_NT' ) {
17- configurations= [' Debug_default' ,' Release_ci_part1' ,' Release_ci_part2' ,' Release_ci_part3' ,' Release_net40_no_vs' ,' Release_fcs' ];
17+ configurations= [' Debug_default' ,' Release_ci_part1' ,' Release_ci_part2' ,' Release_ci_part3' ,' Release_ci_part4 ' , ' Release_net40_no_vs' ,' Release_fcs' ];
1818 }
1919else
2020 {
@@ -30,6 +30,13 @@ 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+ '
3340
3441if (configuration== " Release_fcs" && branch!= " dev15.5" ) {
3542// Build and test FCS NuGet package
@@ -38,7 +45,7 @@ def static getBuildJobName(def configuration, def os) {
3845 buildCommand= " .\\ fcs\\ build.cmd TestAndNuget"
3946 }
4047else {
41- buildCommand= " ./fcs/build.sh Build"
48+ buildCommand= getMono + " ./fcs/build.sh Build"
4249 }
4350 }
4451else if (configuration== " Debug_default" ) {
@@ -47,7 +54,7 @@ def static getBuildJobName(def configuration, def os) {
4754 buildCommand= " build.cmd debug"
4855 }
4956else {
50- buildCommand= " make Configuration=Debug"
57+ buildCommand= getMono + " make Configuration=Debug"
5158 }
5259 }
5360else if (configuration== " Release_default" ) {
@@ -56,7 +63,7 @@ def static getBuildJobName(def configuration, def os) {
5663 buildCommand= " build.cmd release"
5764 }
5865else {
59- buildCommand= " make Configuration=Release"
66+ buildCommand= getMono + " make Configuration=Release"
6067 }
6168 }
6269else if (configuration== " Release_net40_test" ) {
@@ -75,6 +82,10 @@ def static getBuildJobName(def configuration, def os) {
7582 buildOutput= " Release"
7683 buildCommand= " build.cmd release ci_part3"
7784 }
85+ else if (configuration== " Release_ci_part4" ) {
86+ buildOutput= " Release"
87+ buildCommand= " build.cmd release ci_part4"
88+ }
7889else if (configuration== " Release_net40_no_vs" ) {
7990 buildOutput= " Release"
8091 buildCommand= " build.cmd release net40"