66// + running Unix Debug checks
77// + building MinGW Windows zipballs
88// + running Embedded checks
9- // + running Sonarscanner analysis
9+ // + running Coverity and Sonarscanner analysis
1010//
1111// The GIT checkout must use the remote branch name as the checkout local
1212// branch name so that tarball names contain the branch name.
@@ -47,6 +47,7 @@ pipeline {
4747 dir(' contrib/ci.inria.fr' ) {
4848 stash includes : " job-3-debug.sh" , name : ' script-unix-debug'
4949 stash includes : " job-3-embedded.sh" , name : ' script-embedded'
50+ stash includes : " job-3-coverity.sh" , name : ' script-coverity'
5051 stash includes : " job-3-sonarscanner.sh" , name : ' script-sonarscanner'
5152 stash includes : " job-3-mingw.*" , name : ' scripts-mingw'
5253 stash includes : " job-3-cygwin.*" , name : ' scripts-cygwin'
@@ -70,6 +71,9 @@ pipeline {
7071 if (env. NO_MINGW != ' true' ) {
7172 listOfNodeNames. push(' MinGW' )
7273 }
74+ if (env. NO_COVERITY != ' true' ) {
75+ listOfNodeNames. push(' Coverity' )
76+ }
7377 if (env. NO_SONARQUBE != ' true' ) {
7478 listOfNodeNames. push(' SonarQube Scanner' )
7579 }
@@ -103,6 +107,16 @@ pipeline {
103107 deleteDir()
104108 }
105109 }
110+ } else if (it == ' Coverity' ) {
111+ node(' coverity' ) {
112+ dir(' check-coverity' ) {
113+ unstash ' tarballgz'
114+ unstash ' script-coverity'
115+ sh ' chmod 755 job-3-coverity.sh && ./job-3-coverity.sh ' + gitRepoURL+ ' ' + gitBranch+ ' ' + tarballgz
116+ if (env. KEEP_WORKING_DIRECTORY != ' true' )
117+ deleteDir()
118+ }
119+ }
106120 } else if (it == ' SonarQube Scanner' ) {
107121 node(' sonarscanner' ) {
108122 dir(' check-sonarscanner' ) {
0 commit comments