mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-18 03:15:34 +08:00
[Jenkinsfile] Run arc patch when triggered by Differential.
This commit is contained in:
12
Jenkinsfile
vendored
12
Jenkinsfile
vendored
@@ -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') {
|
||||
|
||||
Reference in New Issue
Block a user