I want the equivalent of
-Pcontinuous-integration-build
to enable the Maven profile continuous-integration-build
https://wiki.jenkins-ci.org/display/JENKINS/Cobertura+Plugin uses
the following, stating that Jenkins sets BUILD_NUMBER, but
I don't know if I can/should rely on that.
<profiles>
<profile>
<id>continuous-integration-build</id>
<activation>
<property>
<name>BUILD_NUMBER</name>
</property>
</activation>
I suppose I could set the profile in the settings.xml
associated with the MAVEN_HOME ... is that the best way?
thanks
--
David J. Biesack, SAS
SAS Campus Dr. Cary, NC 27513
www.sas.com (919) 531-7771
Cimballi
Can't you simply add it to the Maven goals in the Jenkins job configuration?
e.g. clean verify -Pcontinuous-integration-build
That's what I do. Or do you mean something else?