Sorry I meant, the Sonar run "should be skipped"... (not "should not
be skipped")
On Apr 23, 2:36 pm, Mark Kiami wrote:
> For info, I tried a pre-build shell task with an echo of the
> IS_M2RELEASEBUILD variable, as well as a post-build shell task, they
> both print
For info, I tried a pre-build shell task with an echo of the
IS_M2RELEASEBUILD variable, as well as a post-build shell task, they
both print "true" for the variable value when doing releases. So if
the Jenkins Sonar plugins reads this variable correctly, normally the
Sonar run should not be skipped
I am using the Sonar Jenkins plugin, and would like to skip Sonar when
performing a maven release.
To do that I have a variable called "IS_M2RELEASEBUILD" in "Release
envrionment variable" and I am using that same variable name in the Sonar
advanced field called "Skip if environment variable is