Skip to content

Commit ccf651d

Browse files
committed
Merged in SIM-3378 (pull request apache#19)
[SIM-3378]: Running parallel builds for CI upstream * Running parallel builds for CI upstream * Update naming of upstream flag Approved-by: Spenser Gilliland
1 parent fe2757e commit ccf651d

File tree

1 file changed

+14
-6
lines changed

1 file changed

+14
-6
lines changed

ci_jobs/Jenkinsfile

Lines changed: 14 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,15 @@ def main() {
77
properties([
88
parameters([
99
booleanParam(
10-
name: 'SKIP_N2A_COMPILER_BUILD',
11-
description: 'Skips building n2a_compiler',
10+
name: 'SKIP_DOWNSTREAM_BUILDS',
11+
description: 'Skips building upstream jobs',
1212
defaultValue: false
1313
),
14-
booleanParam(name: "PACKAGE_ONLY", defaultValue: false, description: 'Only package don\'t run tests')
14+
booleanParam(
15+
name: "PACKAGE_ONLY",
16+
defaultValue: false,
17+
description: 'Only package don\'t run tests'
18+
)
1519
]),
1620
])
1721

@@ -79,9 +83,13 @@ python3 setup.py bdist_wheel
7983
}
8084

8185
stage("Upstream") {
82-
utils.buildUpstream("n2a_compiler", params.SKIP_N2A_COMPILER_BUILD, [
83-
booleanParam(name: 'PACKAGE_ONLY', value: params.PACKAGE_ONLY)
84-
])
86+
parallel n2a: {
87+
utils.buildUpstream("n2a_compiler", params.SKIP_DOWNSTREAM_BUILDS, [
88+
booleanParam(name: 'PACKAGE_ONLY', value: params.PACKAGE_ONLY)
89+
])
90+
}, psim_mla_flow: {
91+
utils.buildUpstream("psim_mla_flow", params.SKIP_UPSTREAM_BUILDS, [])
92+
}
8593
}
8694
}
8795

0 commit comments

Comments
 (0)