Skip to content

Commit

Permalink
First step.
Browse files Browse the repository at this point in the history
  • Loading branch information
rolfbjarne committed Jul 4, 2018
1 parent 9eb238c commit 31a7596
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions jenkins/Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
repository = "xamarin/xamarin-macios"
commentFile = null
isPr = false
isDeviceTests = false
branchName = null
gitHash = null
packagePrefix = null
Expand Down Expand Up @@ -205,6 +206,9 @@ timestamps {
stage ('Checkout') {
currentStage = "${STAGE_NAME}"
echo ("Building on ${env.NODE_NAME}")
isDeviceTests = (env.XAMARIN_MACIOS_HASH && !env.XAMARIN_MACIOS_HASH.empty ? true : false)
sh ('env')
echo ("isDeviceTests: ${isDeviceTests}")
scmVars = checkout scm
isPr = (env.CHANGE_ID && !env.CHANGE_ID.empty ? true : false)
branchName = env.BRANCH_NAME
Expand Down Expand Up @@ -343,6 +347,16 @@ timestamps {
}

dir ('xamarin-macios') {
stage ('Launch tests on device') {
build (job: "../macios-device-tests", parameters: [
string (name: "XAMARIN_MACIOS_HASH", value: "${gitHash}"),
string (name: "XI_PACKAGE", value: "${xiPackageUrl}"),
string (name: "XM_PACKAGE", value: "${xmPackageUrl}"),
string (name: "CONTINUOUS_INTEGRATION_URL", value: "${env.RUN_DISPLAY_URL}"),
string (name: "XAMARIN_MACIOS_BRANCH", value: "${branchName}")
])
}
throw new Exception ("Skipping the rest for now")
stage ('Launch external tests') {
currentStage = "${STAGE_NAME}"
if (isPr) {
Expand Down

2 comments on commit 31a7596

@xamarin-release-manager
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔥 Jenkins job (on internal Jenkins) failed in stage 'Publish builds to GitHub' 🔥 : hudson.AbortException: No item named ../macios-device-tests found

Build succeeded

@xamarin-release-manager
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔥 Jenkins job (on internal Jenkins) failed in stage 'Publish builds to GitHub' 🔥 : hudson.AbortException: macios-device-tests #1 completed with status FAILURE (propagate: false to ignore)

Build succeeded

Please sign in to comment.