You've already forked linux-packaging-mono
Imported Upstream version 5.10.0.47
Former-commit-id: d0813289fa2d35e1f8ed77530acb4fb1df441bc0
This commit is contained in:
parent
88ff76fe28
commit
e46a49ecf1
34
external/corefx/buildpipeline/osx.groovy
vendored
34
external/corefx/buildpipeline/osx.groovy
vendored
@@ -10,7 +10,7 @@ def submittedHelixJson = null
|
||||
|
||||
simpleNode('OSX10.12','latest') {
|
||||
stage ('Checkout source') {
|
||||
checkout scm
|
||||
checkoutRepo()
|
||||
}
|
||||
|
||||
def logFolder = getLogFolder()
|
||||
@@ -35,6 +35,36 @@ simpleNode('OSX10.12','latest') {
|
||||
if (params.TestOuter) {
|
||||
additionalArgs = '-Outerloop'
|
||||
}
|
||||
sh "HOME=\$WORKSPACE/tempHome ./build-tests.sh -buildArch=x64 -${params.CGroup} ${additionalArgs} -- /p:ArchiveTests=true /p:EnableDumpling=true"
|
||||
sh "HOME=\$WORKSPACE/tempHome ./build-tests.sh -buildArch=x64 -${params.CGroup} -SkipTests ${additionalArgs} -- /p:ArchiveTests=true /p:EnableDumpling=true"
|
||||
}
|
||||
stage ('Submit To Helix For Testing') {
|
||||
// Bind the credentials
|
||||
withCredentials([string(credentialsId: 'CloudDropAccessToken', variable: 'CloudDropAccessToken'),
|
||||
string(credentialsId: 'OutputCloudResultsAccessToken', variable: 'OutputCloudResultsAccessToken')]) {
|
||||
// Ask the CI SDK for a Helix source that makes sense. This ensures that this pipeline works for both PR and non-PR cases
|
||||
def helixSource = getHelixSource()
|
||||
// Ask the CI SDK for a Build that makes sense. We currently use the hash for the build
|
||||
def helixBuild = getCommit()
|
||||
// Get the user that should be associated with the submission
|
||||
def helixCreator = getUser()
|
||||
// Target queues
|
||||
def targetHelixQueues = ['OSX.1012.Amd64.Open',
|
||||
'OSX.1013.Amd64.Open',]
|
||||
|
||||
sh "HOME=\$WORKSPACE/tempHome ./Tools/msbuild.sh src/upload-tests.proj /p:ArchGroup=x64 /p:ConfigurationGroup=${params.CGroup} /p:TestProduct=corefx /p:TimeoutInSeconds=1200 /p:TargetOS=OSX /p:HelixJobType=test/functional/cli/ /p:HelixSource=${helixSource} /p:BuildMoniker=${helixBuild} /p:HelixCreator=${helixCreator} /p:CloudDropAccountName=dotnetbuilddrops /p:CloudResultsAccountName=dotnetjobresults /p:CloudDropAccessToken=\$CloudDropAccessToken /p:CloudResultsAccessToken=\$OutputCloudResultsAccessToken /p:HelixApiEndpoint=https://helix.dot.net/api/2017-04-14/jobs /p:TargetQueues=${targetHelixQueues.join('+')} /p:HelixLogFolder=${WORKSPACE}/${logFolder}/ /p:HelixCorrelationInfoFileName=SubmittedHelixRuns.txt"
|
||||
|
||||
submittedHelixJson = readJSON file: "${logFolder}/SubmittedHelixRuns.txt"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
stage ('Execute Tests') {
|
||||
def contextBase
|
||||
if (params.TestOuter) {
|
||||
contextBase = "OSX x64 Tests w/outer - ${params.CGroup}"
|
||||
}
|
||||
else {
|
||||
contextBase = "OSX x64 Tests - ${params.CGroup}"
|
||||
}
|
||||
waitForHelixRuns(submittedHelixJson, contextBase)
|
||||
}
|
||||
|
Reference in New Issue
Block a user