+ mvn -B package --file pom.xml -P ci [INFO] Scanning for projects... [INFO] [INFO] -----------------< com.iemr.inventoryui:inventory-ui >------------------ [INFO] Building inventory-ui 1.0 [INFO] from pom.xml [INFO] --------------------------------[ war ]--------------------------------- [INFO] [INFO] --- resources:3.3.1:resources (default-resources) @ inventory-ui --- [INFO] skip non existing resourceDirectory /var/lib/jenkins/workspace/HWC_pipeline/src/main/resources [INFO] [INFO] --- compiler:3.13.0:compile (default-compile) @ inventory-ui --- [INFO] No sources to compile [INFO] [INFO] --- exec:3.1.0:exec (npm-install) @ inventory-ui --- npm warn EBADENGINE Unsupported engine { npm warn EBADENGINE package: 'karma@1.7.1', npm warn EBADENGINE required: { node: '0.10 || 0.12 || 4 || 5 || 6 || 7 || 8' }, npm warn EBADENGINE current: { node: 'v20.15.0', npm: '10.7.0' } npm warn EBADENGINE } npm warn EBADENGINE Unsupported engine { npm warn EBADENGINE package: 'karma-cli@1.0.1', npm warn EBADENGINE required: { node: '0.10 || 0.12 || 4 || 5 || 6' }, npm warn EBADENGINE current: { node: 'v20.15.0', npm: '10.7.0' } npm warn EBADENGINE } npm warn deprecated har-validator@5.1.5: this library is no longer supported npm warn deprecated har-validator@5.1.5: this library is no longer supported npm warn deprecated minimatch@2.0.10: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue npm warn deprecated json3@3.3.2: Please use the native JSON object instead of JSON 3 npm warn deprecated browserslist@2.11.3: Browserslist 2 could fail on reading Browserslist >3.0 config used in other tools. npm warn deprecated gulp-util@3.0.7: gulp-util is deprecated - replace it, following the guidelines at https://medium.com/gulpjs/gulp-util-ca3b1f9f9ac5 npm warn deprecated chokidar@2.1.8: Chokidar 2 does not receive security updates since 2019. Upgrade to chokidar 3 with 15x fewer dependencies npm warn deprecated extract-text-webpack-plugin@3.0.2: Deprecated. Please use https://github.com/webpack-contrib/mini-css-extract-plugin npm warn deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142 npm warn deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142 npm warn deprecated uglify-es@3.3.9: support for ECMAScript is superseded by `uglify-js` as of v3.13.0 npm warn deprecated istanbul@0.4.5: This module is no longer maintained, try this instead: npm warn deprecated npm i nyc npm warn deprecated Visit https://istanbul.js.org/integrations for other alternatives. npm warn deprecated istanbul@0.4.3: This module is no longer maintained, try this instead: npm warn deprecated npm i nyc npm warn deprecated Visit https://istanbul.js.org/integrations for other alternatives. npm warn deprecated @angular/http@4.4.7: Package no longer supported. Use @angular/common instead, see https://angular.io/guide/deprecations#angularhttp npm warn deprecated tar@2.2.2: This version of tar is no longer supported, and will not receive security updates. Please upgrade asap. > inventory-ui@1.0.1 postinstall > node version.js && chmod +x ./scripts/*.js added 483 packages, removed 362 packages, changed 177 packages, and audited 1550 packages in 22s 96 packages are looking for funding run `npm fund` for details 111 vulnerabilities (3 low, 38 moderate, 48 high, 22 critical) To address issues that do not require attention, run: npm audit fix To address all issues (including breaking changes), run: npm audit fix --force Run `npm audit` for details. [INFO] [INFO] --- exec:3.1.0:exec (ng-build) @ inventory-ui --- > inventory-ui@1.0.1 build-ci > ./scripts/ci-prebuild.js && node --max_old_space_size=5048 ./node_modules/@angular/cli/bin/ng build --prod --environment=ci --aot Date: 2024-06-27T17:14:33.351Z Hash: c47c8c6a24045acd1ff1 Time: 49733ms chunk {0} 0.fed4e0e8ba4681e493c5.chunk.js (common) 607 kB [rendered] chunk {1} 1.20fab09f11e7ba558650.chunk.js () 5.69 MB [rendered] chunk {2} 2.1f51d13c23ab29b3d32d.chunk.js () 316 kB [rendered] chunk {3} polyfills.51666dcdb1f90cd24085.bundle.js (polyfills) 379 kB [initial] [rendered] chunk {4} main.1a5cdc1c290bb46793d0.bundle.js (main) 1.41 MB [initial] [rendered] chunk {5} styles.dd2d80425aa09cc861d7.bundle.css (styles) 313 kB [initial] [rendered] chunk {6} vendor.39159cd6794d5b4b5f21.bundle.js (vendor) 6.86 MB [initial] [rendered] chunk {7} inline.8ee4c7abbc30c9e225f3.bundle.js (inline) 5.88 kB [entry] [rendered] chunk {scripts} scripts.b144c5ca28327f78dc33.bundle.js (scripts) 173 kB [initial] [rendered] ERROR in /var/lib/jenkins/workspace/HWC_pipeline/src/app/app-modules/inventory/shared/service/inventory.service.ts (388,39): Property 'saveEAusadhaStock_Url' does not exist on type '{ production: boolean; countryId: number; getBeneficiaryDetail: string; getBeneficiaryImage: stri...'. ERROR in 0.fed4e0e8ba4681e493c5.chunk.js from UglifyJs Error: error:0308010C:digital envelope routines::unsupported at new Hash (node:internal/crypto/hash:79:19) at Object.createHash (node:crypto:139:10) at /var/lib/jenkins/workspace/HWC_pipeline/node_modules/uglifyjs-webpack-plugin/dist/index.js:186:40 at Array.forEach () at UglifyJsPlugin.optimizeFn (/var/lib/jenkins/workspace/HWC_pipeline/node_modules/uglifyjs-webpack-plugin/dist/index.js:126:142) at next (/var/lib/jenkins/workspace/HWC_pipeline/node_modules/tapable/lib/Tapable.js:204:14) at /var/lib/jenkins/workspace/HWC_pipeline/node_modules/@angular/cli/plugins/cleancss-webpack-plugin.js:73:33 at process.processTicksAndRejections (node:internal/process/task_queues:95:5) ERROR in 1.20fab09f11e7ba558650.chunk.js from UglifyJs Error: error:0308010C:digital envelope routines::unsupported at new Hash (node:internal/crypto/hash:79:19) at Object.createHash (node:crypto:139:10) at /var/lib/jenkins/workspace/HWC_pipeline/node_modules/uglifyjs-webpack-plugin/dist/index.js:186:40 at Array.forEach () at UglifyJsPlugin.optimizeFn (/var/lib/jenkins/workspace/HWC_pipeline/node_modules/uglifyjs-webpack-plugin/dist/index.js:126:142) at next (/var/lib/jenkins/workspace/HWC_pipeline/node_modules/tapable/lib/Tapable.js:204:14) at /var/lib/jenkins/workspace/HWC_pipeline/node_modules/@angular/cli/plugins/cleancss-webpack-plugin.js:73:33 at process.processTicksAndRejections (node:internal/process/task_queues:95:5) ERROR in 2.1f51d13c23ab29b3d32d.chunk.js from UglifyJs Error: error:0308010C:digital envelope routines::unsupported at new Hash (node:internal/crypto/hash:79:19) at Object.createHash (node:crypto:139:10) at /var/lib/jenkins/workspace/HWC_pipeline/node_modules/uglifyjs-webpack-plugin/dist/index.js:186:40 at Array.forEach () at UglifyJsPlugin.optimizeFn (/var/lib/jenkins/workspace/HWC_pipeline/node_modules/uglifyjs-webpack-plugin/dist/index.js:126:142) at next (/var/lib/jenkins/workspace/HWC_pipeline/node_modules/tapable/lib/Tapable.js:204:14) at /var/lib/jenkins/workspace/HWC_pipeline/node_modules/@angular/cli/plugins/cleancss-webpack-plugin.js:73:33 at process.processTicksAndRejections (node:internal/process/task_queues:95:5) ERROR in polyfills.51666dcdb1f90cd24085.bundle.js from UglifyJs Error: error:0308010C:digital envelope routines::unsupported at new Hash (node:internal/crypto/hash:79:19) at Object.createHash (node:crypto:139:10) at /var/lib/jenkins/workspace/HWC_pipeline/node_modules/uglifyjs-webpack-plugin/dist/index.js:186:40 at Array.forEach () at UglifyJsPlugin.optimizeFn (/var/lib/jenkins/workspace/HWC_pipeline/node_modules/uglifyjs-webpack-plugin/dist/index.js:126:142) at next (/var/lib/jenkins/workspace/HWC_pipeline/node_modules/tapable/lib/Tapable.js:204:14) at /var/lib/jenkins/workspace/HWC_pipeline/node_modules/@angular/cli/plugins/cleancss-webpack-plugin.js:73:33 at process.processTicksAndRejections (node:internal/process/task_queues:95:5) ERROR in main.1a5cdc1c290bb46793d0.bundle.js from UglifyJs Error: error:0308010C:digital envelope routines::unsupported at new Hash (node:internal/crypto/hash:79:19) at Object.createHash (node:crypto:139:10) at /var/lib/jenkins/workspace/HWC_pipeline/node_modules/uglifyjs-webpack-plugin/dist/index.js:186:40 at Array.forEach () at UglifyJsPlugin.optimizeFn (/var/lib/jenkins/workspace/HWC_pipeline/node_modules/uglifyjs-webpack-plugin/dist/index.js:126:142) at next (/var/lib/jenkins/workspace/HWC_pipeline/node_modules/tapable/lib/Tapable.js:204:14) at /var/lib/jenkins/workspace/HWC_pipeline/node_modules/@angular/cli/plugins/cleancss-webpack-plugin.js:73:33 at process.processTicksAndRejections (node:internal/process/task_queues:95:5) ERROR in styles.2739038bbe96b5b3f6f7.bundle.js from UglifyJs Error: error:0308010C:digital envelope routines::unsupported at new Hash (node:internal/crypto/hash:79:19) at Object.createHash (node:crypto:139:10) at /var/lib/jenkins/workspace/HWC_pipeline/node_modules/uglifyjs-webpack-plugin/dist/index.js:186:40 at Array.forEach () at UglifyJsPlugin.optimizeFn (/var/lib/jenkins/workspace/HWC_pipeline/node_modules/uglifyjs-webpack-plugin/dist/index.js:126:142) at next (/var/lib/jenkins/workspace/HWC_pipeline/node_modules/tapable/lib/Tapable.js:204:14) at /var/lib/jenkins/workspace/HWC_pipeline/node_modules/@angular/cli/plugins/cleancss-webpack-plugin.js:73:33 at process.processTicksAndRejections (node:internal/process/task_queues:95:5) ERROR in vendor.39159cd6794d5b4b5f21.bundle.js from UglifyJs Error: error:0308010C:digital envelope routines::unsupported at new Hash (node:internal/crypto/hash:79:19) at Object.createHash (node:crypto:139:10) at /var/lib/jenkins/workspace/HWC_pipeline/node_modules/uglifyjs-webpack-plugin/dist/index.js:186:40 at Array.forEach () at UglifyJsPlugin.optimizeFn (/var/lib/jenkins/workspace/HWC_pipeline/node_modules/uglifyjs-webpack-plugin/dist/index.js:126:142) at next (/var/lib/jenkins/workspace/HWC_pipeline/node_modules/tapable/lib/Tapable.js:204:14) at /var/lib/jenkins/workspace/HWC_pipeline/node_modules/@angular/cli/plugins/cleancss-webpack-plugin.js:73:33 at process.processTicksAndRejections (node:internal/process/task_queues:95:5) ERROR in inline.8ee4c7abbc30c9e225f3.bundle.js from UglifyJs Error: error:0308010C:digital envelope routines::unsupported at new Hash (node:internal/crypto/hash:79:19) at Object.createHash (node:crypto:139:10) at /var/lib/jenkins/workspace/HWC_pipeline/node_modules/uglifyjs-webpack-plugin/dist/index.js:186:40 at Array.forEach () at UglifyJsPlugin.optimizeFn (/var/lib/jenkins/workspace/HWC_pipeline/node_modules/uglifyjs-webpack-plugin/dist/index.js:126:142) at next (/var/lib/jenkins/workspace/HWC_pipeline/node_modules/tapable/lib/Tapable.js:204:14) at /var/lib/jenkins/workspace/HWC_pipeline/node_modules/@angular/cli/plugins/cleancss-webpack-plugin.js:73:33 at process.processTicksAndRejections (node:internal/process/task_queues:95:5) ERROR in scripts.b144c5ca28327f78dc33.bundle.js from UglifyJs Error: error:0308010C:digital envelope routines::unsupported at new Hash (node:internal/crypto/hash:79:19) at Object.createHash (node:crypto:139:10) at /var/lib/jenkins/workspace/HWC_pipeline/node_modules/uglifyjs-webpack-plugin/dist/index.js:186:40 at Array.forEach () at UglifyJsPlugin.optimizeFn (/var/lib/jenkins/workspace/HWC_pipeline/node_modules/uglifyjs-webpack-plugin/dist/index.js:126:142) at next (/var/lib/jenkins/workspace/HWC_pipeline/node_modules/tapable/lib/Tapable.js:204:14) at /var/lib/jenkins/workspace/HWC_pipeline/node_modules/@angular/cli/plugins/cleancss-webpack-plugin.js:73:33 at process.processTicksAndRejections (node:internal/process/task_queues:95:5) [ERROR] Command execution failed. org.apache.commons.exec.ExecuteException: Process exited with an error: 1 (Exit value: 1) at org.apache.commons.exec.DefaultExecutor.executeInternal (DefaultExecutor.java:404) at org.apache.commons.exec.DefaultExecutor.execute (DefaultExecutor.java:166) at org.codehaus.mojo.exec.ExecMojo.executeCommandLine (ExecMojo.java:1000) at org.codehaus.mojo.exec.ExecMojo.executeCommandLine (ExecMojo.java:947) at org.codehaus.mojo.exec.ExecMojo.execute (ExecMojo.java:471) at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo (DefaultBuildPluginManager.java:126) at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute2 (MojoExecutor.java:328) at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute (MojoExecutor.java:316) at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:212) at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:174) at org.apache.maven.lifecycle.internal.MojoExecutor.access$000 (MojoExecutor.java:75) at org.apache.maven.lifecycle.internal.MojoExecutor$1.run (MojoExecutor.java:162) at org.apache.maven.plugin.DefaultMojosExecutionStrategy.execute (DefaultMojosExecutionStrategy.java:39) at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:159) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:105) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:73) at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:53) at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:118) at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:261) at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:173) at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:101) at org.apache.maven.cli.MavenCli.execute (MavenCli.java:903) at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:280) at org.apache.maven.cli.MavenCli.main (MavenCli.java:203) at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0 (Native Method) at jdk.internal.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:77) at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke (Method.java:568) at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:255) at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:201) at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:361) at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:314) [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 01:16 min [INFO] Finished at: 2024-06-27T17:14:33Z [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.codehaus.mojo:exec-maven-plugin:3.1.0:exec (ng-build) on project inventory-ui: Command execution failed. Process exited with an error: 1 (Exit value: 1) -> [Help 1] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException