default maven build of vid-webpack-master to run build and unit tests 95/99695/2
authorEylon Malin <eylon.malin@intl.att.com>
Tue, 17 Dec 2019 08:21:49 +0000 (10:21 +0200)
committerEylon Malin <eylon.malin@intl.att.com>
Tue, 17 Dec 2019 08:49:23 +0000 (08:49 +0000)
Issue-ID: VID-729
Signed-off-by: Eylon Malin <eylon.malin@intl.att.com>
Change-Id: I244996542d9b9d8f92af4db325d22585f0327d0f

vid-webpack-master/package.json
vid-webpack-master/pom.xml

index f2f9136..4f7b5e2 100644 (file)
@@ -8,6 +8,7 @@
     "build": "ng build --no-progress --no-aot --output-hashing all",
     "build.prod": "ng build",
     "test": "jest",
+    "ci": "npm run test && npm run build",
     "test:jest": "jest",
     "test:jest:pipeline": "jest --silent --ci --reporters=default --reporters=jest-junit",
     "test:jest:watch": "jest --watch",
index 2fe0a6e..f84a485 100644 (file)
@@ -28,7 +28,7 @@
     <stagingNexusPath>content/repositories/staging/</stagingNexusPath>
     <snapshotNexusPath>content/repositories/snapshots/</snapshotNexusPath>
     <releaseNexusPath>content/repositories/releases/</releaseNexusPath>
-    <NPM_CMD>build</NPM_CMD>
+    <NPM_CMD>ci</NPM_CMD>
   </properties>
 
 
@@ -70,6 +70,7 @@
   </distributionManagement>
 
   <profiles>
+
     <profile>
       <id>if-not-webpack</id>
       <activation>
         </plugins>
       </build>
     </profile>
+
     <profile>
       <id>webpack-npm</id>
       <activation>