diff --git a/Jenkinsfile b/Jenkinsfile index d9656b85d..31fd87128 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -11,6 +11,9 @@ builders['Build swift Linux'] = { try { stage('Linux Checkout') { checkout scm + if (params.REVISION_ID != null) { + sh "/opt/arc/arcanist/bin/arc patch D${params.REVISION_ID}" + } } stage('Linux Build') { @@ -60,6 +63,9 @@ builders['Build swift MacOS'] = { try { stage('MacOS Checkout') { checkout scm + if (params.REVISION_ID != null) { + sh "~/arc/arcanist/bin/arc patch D${params.REVISION_ID}" + } } stage('MacOS Build') { @@ -103,6 +109,9 @@ builders['Build swift Win32'] = { try { stage('Win32 Checkout') { checkout scm + if (params.REVISION_ID != null) { + bat "arc patch D${params.REVISION_ID}" + } } stage('Win32 Build') { @@ -143,6 +152,9 @@ builders['Build swift Win64'] = { try { stage('Win64 Checkout') { checkout scm + if (params.REVISION_ID != null) { + bat "arc patch D${params.REVISION_ID}" + } } stage('Win64 Build') {