File tree Expand file tree Collapse file tree 1 file changed +19
-1
lines changed Expand file tree Collapse file tree 1 file changed +19
-1
lines changed Original file line number Diff line number Diff line change @@ -133,7 +133,7 @@ stage('Unittest') {
133
133
cancel_previous_build()
134
134
parallel(
135
135
failFast : true ,
136
- ' AOT-Build-Import' : {
136
+ ' AOT-Build-Import-x86-64 ' : {
137
137
try {
138
138
run_unittest_CPU_AOT_COMPILE(' CPU-LARGE-SPOT' )
139
139
} catch (Throwable ex) {
@@ -151,6 +151,24 @@ stage('Unittest') {
151
151
}
152
152
}
153
153
},
154
+ ' AOT-Build-Import-aarch64' : {
155
+ try {
156
+ run_unittest_CPU_AOT_COMPILE(' ARM-LARGE-SPOT' )
157
+ } catch (Throwable ex) {
158
+ echo ' Exception during SPOT run ' + ex. toString()
159
+ if (is_last_build()) {
160
+ // retry if we are currently at last build
161
+ // mark the current stage as success
162
+ // and try again via on demand node
163
+ echo ' Exception during SPOT run ' + ex. toString() + ' retry on-demand'
164
+ currentBuild. result = ' SUCCESS'
165
+ run_unittest_CPU_AOT_COMPILE(' ARM-LARGE' )
166
+ } else {
167
+ echo ' Exit since it is not last build'
168
+ throw ex
169
+ }
170
+ }
171
+ },
154
172
' JIT-Unittest-1' : {
155
173
try {
156
174
shard_run_unittest_GPU(' GPU-G5-SPOT' , 1 )
You can’t perform that action at this time.
0 commit comments