Introduce a new profile for second verify job 29/117429/2
authorsebdet <sebastien.determe@intl.att.com>
Wed, 3 Feb 2021 14:05:54 +0000 (15:05 +0100)
committerChristophe Closset <christophe.closset@intl.att.com>
Wed, 3 Feb 2021 16:25:38 +0000 (16:25 +0000)
This is a new profile for jenkins so that the second verify job can be executed in parallel (all the integration tests)

Issue-ID: SDC-3465
Signed-off-by: sebdet <sebastien.determe@intl.att.com>
Change-Id: I903f9731a5479c78ad8000dbf050ddf72311b5c9

integration-tests/pom.xml
pom.xml

index 949b326..98d827d 100644 (file)
@@ -832,4 +832,13 @@ limitations under the License.
             </plugin>
         </plugins>
     </build>
+    <profiles>
+        <profile>
+            <id>all-for-integration-tests-only</id>
+            <properties>
+                <surefire.skip.tests>true</surefire.skip.tests>
+                <skipTest>false</skipTest>
+            </properties>
+        </profile>
+    </profiles>
 </project>
diff --git a/pom.xml b/pom.xml
index 75b9413..e7a4f08 100644 (file)
--- a/pom.xml
+++ b/pom.xml
@@ -168,6 +168,7 @@ Modifications copyright (c) 2018-2019 Nokia
         <!-- Surefire parameters  -->
         <surefire.forkCount>1C</surefire.forkCount>
         <surefire.reuseForks>true</surefire.reuseForks>
+        <surefire.skip.tests>false</surefire.skip.tests>
 
         <docker.api.version>1.35</docker.api.version>
     </properties>
@@ -522,6 +523,7 @@ Modifications copyright (c) 2018-2019 Nokia
                     <forkCount>${surefire.forkCount}</forkCount>
                     <reuseForks>${surefire.reuseForks}</reuseForks>
                     <parallel>methods</parallel>
+                    <skip>${surefire.skip.tests}</skip>
                 </configuration>
             </plugin>
             <plugin>
@@ -585,6 +587,29 @@ Modifications copyright (c) 2018-2019 Nokia
                 <module>integration-tests</module>
             </modules>
         </profile>
+        <profile>
+            <id>all-for-integration-tests-only</id>
+            <properties>
+                <checkstyle.skip>true</checkstyle.skip>
+                <surefire.skip.tests>true</surefire.skip.tests>
+            </properties>
+            <modules>
+                <module>onboarding</module>
+                <module>common-app-logging</module>
+                <module>common-app-api</module>
+                <module>common-be</module>
+                <module>catalog-dao</module>
+                <module>catalog-model</module>
+                <module>catalog-be</module>
+                <module>catalog-be-plugins</module>
+                <module>asdctool</module>
+                <module>catalog-ui</module>
+                <module>catalog-fe</module>
+                <module>sdc-os-chef</module>
+                <module>utils/webseal-simulator</module>
+                <module>integration-tests</module>
+            </modules>
+        </profile>
         <profile>
             <id>skip-integration-tests</id>
             <activation>