File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -6,6 +6,7 @@ pipeline {
66 CONAN_USER = ' oss'
77 TARGET_BRANCH = ' main'
88 STABLE_BRANCH = ' stable/v*'
9+ DISABLE_DEP_TESTS = ' -o sisl:testing=False -o iomgr:testing=off -o homestore:testing=off -o nuraft_mesg:testing=False'
910 }
1011
1112 stages {
@@ -75,7 +76,7 @@ pipeline {
7576 stage(" Code Coverage" ) {
7677 steps {
7778 slackSend channel : ' #sds-ci' , message : " *${ PROJECT} :${ TAG} * is undergoing Code Coverage."
78- sh """ conan install -o sisl:prerelease=True -pr debug ${ BUILD_MISSING} -o ${ PROJECT} :coverage=True .
79+ sh """ conan install ${ DISABLE_DEP_TESTS } -o sisl:prerelease=True -pr debug ${ BUILD_MISSING} -o ${ PROJECT} :coverage=True .
7980 build-wrapper-linux-x86-64 --out-dir /tmp/sonar conan build .
8081 gcovr --exclude-throw-branches --exclude-lines-by-pattern '.*(ENUM|LOG|ASSERT).*' --sonarqube coverage.xml -r ."""
8182 withSonarQubeEnv(' sds-sonar' ) {
@@ -96,9 +97,9 @@ pipeline {
9697
9798 stage(" Compile" ) {
9899 steps {
99- sh """ conan create ${ BUILD_MISSING} -o sisl:prerelease=True -pr test . ${ PROJECT} /${ TAG} ;
100- conan create ${ BUILD_MISSING} -o sisl:prerelease=True -pr debug . ${ PROJECT} /${ TAG} ;
101- conan create ${ BUILD_MISSING} -o sisl:prerelease=False -pr test . ${ PROJECT} /${ TAG} ;"""
100+ sh """ conan create ${ BUILD_MISSING} ${ DISABLE_DEP_TESTS } -o sisl:prerelease=True -pr test . ${ PROJECT} /${ TAG} ;
101+ conan create ${ BUILD_MISSING} ${ DISABLE_DEP_TESTS } -o sisl:prerelease=True -pr debug . ${ PROJECT} /${ TAG} ;
102+ conan create ${ BUILD_MISSING} ${ DISABLE_DEP_TESTS } -o sisl:prerelease=False -pr test . ${ PROJECT} /${ TAG} ;"""
102103 }
103104 }
104105
You can’t perform that action at this time.
0 commit comments