Author: jim.ma
Date: 2015-05-18 05:45:55 -0400 (Mon, 18 May 2015)
New Revision: 19751
Modified:
hudson/trunk/hudson-home/jobs/CXF-CORE-AS-9.0.0-SECMGR/config.xml
hudson/trunk/scripts/jbossws-qa.sh
Log:
Enable security manager for CXF-CORE-AS-9.0.0-SECMGR job
Modified: hudson/trunk/hudson-home/jobs/CXF-CORE-AS-9.0.0-SECMGR/config.xml
===================================================================
--- hudson/trunk/hudson-home/jobs/CXF-CORE-AS-9.0.0-SECMGR/config.xml 2015-05-14 15:25:51
UTC (rev 19750)
+++ hudson/trunk/hudson-home/jobs/CXF-CORE-AS-9.0.0-SECMGR/config.xml 2015-05-18 09:45:55
UTC (rev 19751)
@@ -25,7 +25,7 @@
#
# execute core tests
#
-coreTest
+coreTestWithSecMgr
</command>
</hudson.tasks.Shell>
Modified: hudson/trunk/scripts/jbossws-qa.sh
===================================================================
--- hudson/trunk/scripts/jbossws-qa.sh 2015-05-14 15:25:51 UTC (rev 19750)
+++ hudson/trunk/scripts/jbossws-qa.sh 2015-05-18 09:45:55 UTC (rev 19751)
@@ -27,6 +27,19 @@
fi
}
+setupSecMgrEnv() {
+ if [ "x$SECMGR" = "x" ]; then
+ export SECMGR=true
+ fi
+}
+
+unsetSecMgrEnv() {
+ if [ "x$SECMGR" != "x" ]; then
+ unset SECMGR
+ fi
+}
+
+
logMavenDependencies() {
cd $STACK_DIR
mvn -Ptestsuite,spring,dist clean
@@ -75,4 +88,17 @@
detectFailures
}
+coreTestWithSecMgr() {
+ setupEnv
+ setupSecMgrEnv
+ ensureJavaExists
+ logMavenDependencies
+ runTestsViaMaven
+ unsetSecMgrEnv
+ copyTestLogs
+ detectFailures
+}
+
+
+
Show replies by date