2015-10-08 23:07:36 +00:00
|
|
|
// Import the utility functionality.
|
|
|
|
|
|
|
|
import jobs.generation.Utilities;
|
|
|
|
import jobs.generation.InternalUtilities;
|
|
|
|
|
|
|
|
def project = 'dotnet/cli'
|
|
|
|
// Define build strings
|
2015-10-08 23:27:22 +00:00
|
|
|
def debugBuildString = '''./build.sh'''
|
2015-10-08 23:07:36 +00:00
|
|
|
|
|
|
|
// Generate the builds for debug
|
|
|
|
|
|
|
|
def linuxDebugJob = job(InternalUtilities.getFullJobName(project, 'linux_debug', false)) {
|
|
|
|
label('ubuntu')
|
|
|
|
steps {
|
|
|
|
shell(debugBuildString)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
InternalUtilities.addPrivatePermissions(linuxDebugJob)
|
|
|
|
InternalUtilities.addPrivateScm(linuxDebugJob, project)
|
|
|
|
Utilities.addStandardOptions(linuxDebugJob)
|
|
|
|
Utilities.addStandardNonPRParameters(linuxDebugJob)
|
|
|
|
Utilities.addGithubPushTrigger(linuxDebugJob)
|
|
|
|
|
|
|
|
|
|
|
|
def linuxDebugPRJob = job(InternalUtilities.getFullJobName(project, 'linux_debug', true)) {
|
|
|
|
label('ubuntu')
|
|
|
|
steps {
|
|
|
|
shell(debugBuildString)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
InternalUtilities.addPrivatePermissions(linuxDebugPRJob)
|
|
|
|
InternalUtilities.addPrivatePRTestSCM(linuxDebugPRJob, project)
|
|
|
|
Utilities.addStandardOptions(linuxDebugPRJob)
|
|
|
|
Utilities.addStandardPRParameters(linuxDebugPRJob, project)
|
|
|
|
Utilities.addGithubPRTrigger(linuxDebugPRJob, 'Linux Debug Build')
|