Skip to content

Commit 2a6efbd

Browse files
committed
Run regression tests with complexity 0 on PRs
This PR allows to execute jenkins regression tests with smaller repositories than the used on master branch. Signed-off-by: Antonio Navarro Perez <[email protected]>
1 parent e1f8b1d commit 2a6efbd

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

Jenkinsfile

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,12 @@ pipeline {
2626
sh '/bin/regression --complexity=2 --csv local:HEAD'
2727
}
2828
}
29+
stage('PR-run') {
30+
when { changeRequest target: 'master' }
31+
steps {
32+
sh '/bin/regression --complexity=0 local:HEAD'
33+
}
34+
}
2935
stage('Plot') {
3036
when { branch 'master' }
3137
steps {

0 commit comments

Comments
 (0)