+ mvn -B package --file pom.xml -P ci [INFO] Scanning for projects... [INFO] [INFO] -------------------< com.iemr.tm-ui-next:TM-UI-NEXT >------------------- [INFO] Building TM-UI-NEXT 1.0 [INFO] from pom.xml [INFO] --------------------------------[ war ]--------------------------------- [INFO] [INFO] --- resources:3.3.1:resources (default-resources) @ TM-UI-NEXT --- [INFO] skip non existing resourceDirectory /var/lib/jenkins/workspace/DemoPipelineUI/src/main/resources [INFO] [INFO] --- compiler:3.13.0:compile (default-compile) @ TM-UI-NEXT --- [INFO] No sources to compile [INFO] [INFO] --- exec:3.1.0:exec (npm-install) @ TM-UI-NEXT --- npm warn deprecated @babel/plugin-proposal-unicode-property-regex@7.18.6: This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-unicode-property-regex instead. npm warn deprecated @npmcli/move-file@2.0.1: This functionality has been moved to @npmcli/fs npm warn deprecated abab@2.0.6: Use your platform's native atob() and btoa() methods instead npm warn deprecated @babel/plugin-proposal-async-generator-functions@7.20.7: This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-async-generator-functions instead. npm warn deprecated domexception@2.0.1: Use your platform's native DOMException instead npm warn deprecated w3c-hr-time@1.0.2: Use your platform's native performance.now() and performance.timeOrigin. npm warn deprecated @wessberg/ts-evaluator@0.0.27: this package has been renamed to ts-evaluator. Please install ts-evaluator instead > tm-ui-next@0.0.0 prepare > husky install husky - Git hooks installed added 1398 packages, and audited 1399 packages in 22s 187 packages are looking for funding run `npm fund` for details 12 vulnerabilities (4 moderate, 8 high) To address all issues, run: npm audit fix Run `npm audit` for details. [INFO] [INFO] --- exec:3.1.0:exec (ng-build) @ TM-UI-NEXT --- > tm-ui-next@0.0.0 build-ci > chmod +x ./scripts/*.js && ./scripts/ci-prebuild.js && node --max_old_space_size=5048 ./node_modules/@angular/cli/bin/ng build --configuration=ci --aot - Generating browser application bundles (phase: setup)... TypeScript compiler options "target" and "useDefineForClassFields" are set to "ES2022" and "false" respectively by the Angular CLI. To control ECMA version and features use the Browerslist configuration. For more information, see https://angular.io/guide/build#configuring-browser-compatibility NOTE: You can set the "target" to "ES2022" in the project's tsconfig to remove this warning. ✔ Browser application bundle generation complete. ✔ Browser application bundle generation complete. Warning: /var/lib/jenkins/workspace/DemoPipelineUI/src/app/app-modules/core/components/camera-dialog/camera-dialog.component.ts depends on 'file-saver'. CommonJS or AMD dependencies can cause optimization bailouts. For more info see: https://angular.io/guide/build#configuring-commonjs-dependencies Warning: /var/lib/jenkins/workspace/DemoPipelineUI/src/app/app-modules/core/components/camera-dialog/camera-dialog.component.ts depends on 'html2canvas'. CommonJS or AMD dependencies can cause optimization bailouts. For more info see: https://angular.io/guide/build#configuring-commonjs-dependencies Warning: /var/lib/jenkins/workspace/DemoPipelineUI/src/app/app-modules/login/login.component.ts depends on 'crypto-js'. CommonJS or AMD dependencies can cause optimization bailouts. For more info see: https://angular.io/guide/build#configuring-commonjs-dependencies Warning: /var/lib/jenkins/workspace/DemoPipelineUI/src/app/app-modules/nurse-doctor/shared/services/audio-recording.service.ts depends on 'moment'. CommonJS or AMD dependencies can cause optimization bailouts. For more info see: https://angular.io/guide/build#configuring-commonjs-dependencies Warning: /var/lib/jenkins/workspace/DemoPipelineUI/src/app/app-modules/nurse-doctor/shared/services/audio-recording.service.ts depends on 'recordrtc'. CommonJS or AMD dependencies can cause optimization bailouts. For more info see: https://angular.io/guide/build#configuring-commonjs-dependencies Warning: ▲ [WARNING] Unexpected "/" [css-syntax-error] /var/lib/jenkins/workspace/DemoPipelineUI/src/app/app-modules/nurse-doctor/doctor-tm-future-worklist/tm-future-worklist.component.css:18:6: 18 │ :host /deep/ .pagination { ╵ ^ Warning: ▲ [WARNING] Unexpected "/" [css-syntax-error] /var/lib/jenkins/workspace/DemoPipelineUI/src/app/app-modules/nurse-doctor/doctor-worklist/doctor-worklist.component.css:18:6: 18 │ :host /deep/ .pagination { ╵ ^ Warning: ▲ [WARNING] Unexpected "/" [css-syntax-error] /var/lib/jenkins/workspace/DemoPipelineUI/src/app/app-modules/nurse-doctor/nurse-worklist-wrapper/nurse-mmu-tm-referred-worklist/nurse-mmu-tm-referred-worklist.component.css:27:8: 27 │ :host /deep/ .pagination { ╵ ^ Warning: ▲ [WARNING] Unexpected "/" [css-syntax-error] /var/lib/jenkins/workspace/DemoPipelineUI/src/app/app-modules/nurse-doctor/nurse-worklist-wrapper/nurse-tm-future-worklist/nurse-tm-future-worklist.component.css:18:6: 18 │ :host /deep/ .pagination { ╵ ^ Warning: ▲ [WARNING] Unexpected "/" [css-syntax-error] /var/lib/jenkins/workspace/DemoPipelineUI/src/app/app-modules/nurse-doctor/nurse-worklist-wrapper/nurse-tm-worklist/nurse-tm-worklist.component.css:18:6: 18 │ :host /deep/ .pagination { ╵ ^ Warning: ▲ [WARNING] Unexpected "/" [css-syntax-error] /var/lib/jenkins/workspace/DemoPipelineUI/src/app/app-modules/nurse-doctor/nurse-worklist-wrapper/nurse-worklist/nurse-worklist.component.css:27:6: 27 │ :host /deep/ .pagination { ╵ ^ Warning: ▲ [WARNING] Unexpected "/" [css-syntax-error] /var/lib/jenkins/workspace/DemoPipelineUI/src/app/app-modules/nurse-doctor/oncologist-worklist/oncologist-worklist.component.css:13:6: 13 │ :host /deep/ .pagination { ╵ ^ Warning: ▲ [WARNING] Unexpected "/" [css-syntax-error] /var/lib/jenkins/workspace/DemoPipelineUI/src/app/app-modules/nurse-doctor/radiologist-worklist/radiologist-worklist.component.css:18:6: 18 │ :host /deep/ .pagination { ╵ ^ Warning: ▲ [WARNING] Unexpected "/" [css-syntax-error] /var/lib/jenkins/workspace/DemoPipelineUI/src/app/app-modules/nurse-doctor/tc-specialist-future-worklist/tc-specialist-future-worklist.component.css:21:7: 21 │ :host /deep/ .pagination { ╵ ^ Warning: ▲ [WARNING] Unexpected "/" [css-syntax-error] /var/lib/jenkins/workspace/DemoPipelineUI/src/app/app-modules/nurse-doctor/tc-specialist-worklist/tc-specialist-worklist.component.css:26:6: 26 │ :host /deep/ .pagination { ╵ ^ Warning: ▲ [WARNING] Unexpected ">" [css-syntax-error] /var/lib/jenkins/workspace/DemoPipelineUI/src/app/app-modules/lab/workarea/workarea.component.css:234:11: 234 │ .tabs_css >>> .mat-mdc-tab.mdc-tab--active .mdc-tab__text-label { ╵ ^ Warning: ▲ [WARNING] Unexpected ">" [css-syntax-error] /var/lib/jenkins/workspace/DemoPipelineUI/src/app/app-modules/lab/workarea/workarea.component.css:237:11: 237 │ .tabs_css >>> .mat-mdc-tab-labels { ╵ ^ Warning: ▲ [WARNING] Unexpected ">" [css-syntax-error] /var/lib/jenkins/workspace/DemoPipelineUI/src/app/app-modules/lab/workarea/workarea.component.css:241:11: 241 │ .tabs_css >>> .mat-mdc-tab { ╵ ^ Warning: ▲ [WARNING] Unexpected ">" [css-syntax-error] /var/lib/jenkins/workspace/DemoPipelineUI/src/app/app-modules/lab/workarea/workarea.component.css:254:11: 254 │ .tabs_css >>> .mat-tab-group.mat-primary .mat-tab-label:focus, .m... ╵ ^ Warning: ▲ [WARNING] Unexpected ">" [css-syntax-error] /var/lib/jenkins/workspace/DemoPipelineUI/src/app/app-modules/nurse-doctor/history/general-opd-history/comorbidity-concurrent-conditions/comorbidity-concurrent-conditions.component.css:27:17: 27 │ mat-form-field >>> ╵ ^ Warning: ▲ [WARNING] Unexpected ">" [css-syntax-error] /var/lib/jenkins/workspace/DemoPipelineUI/src/app/app-modules/nurse-doctor/history/general-opd-history/comorbidity-concurrent-conditions/comorbidity-concurrent-conditions.component.css:31:16: 31 │ mat-form-field >>> .mat-mdc-text-field-wrapper { ╵ ^ Warning: ▲ [WARNING] Unexpected ">" [css-syntax-error] /var/lib/jenkins/workspace/DemoPipelineUI/src/app/app-modules/nurse-doctor/history/general-opd-history/family-history-ncdscreening/family-history-ncdscreening.component.css:16:17: 16 │ mat-form-field >>> ╵ ^ Warning: ▲ [WARNING] Unexpected ">" [css-syntax-error] /var/lib/jenkins/workspace/DemoPipelineUI/src/app/app-modules/nurse-doctor/history/general-opd-history/family-history-ncdscreening/family-history-ncdscreening.component.css:20:16: 20 │ mat-form-field >>> .mat-mdc-text-field-wrapper { ╵ ^ Warning: ▲ [WARNING] Unexpected ">" [css-syntax-error] /var/lib/jenkins/workspace/DemoPipelineUI/src/app/app-modules/nurse-doctor/history/general-opd-history/family-history-ncdscreening/family-history-ncdscreening.component.css:26:19: 26 │ .mat_border_style >>> .mat-mdc-form-field:not(.mat-form-field-no-a... ╵ ^ Warning: ▲ [WARNING] Unexpected ">" [css-syntax-error] /var/lib/jenkins/workspace/DemoPipelineUI/src/app/app-modules/nurse-doctor/history/general-opd-history/medication-history/medication-history.component.css:15:17: 15 │ mat-form-field >>> ╵ ^ Warning: ▲ [WARNING] Unexpected ">" [css-syntax-error] /var/lib/jenkins/workspace/DemoPipelineUI/src/app/app-modules/nurse-doctor/history/general-opd-history/medication-history/medication-history.component.css:19:17: 19 │ mat-form-field >>> .mat-mdc-text-field-wrapper { ╵ ^ Warning: ▲ [WARNING] Unexpected ">" [css-syntax-error] /var/lib/jenkins/workspace/DemoPipelineUI/src/app/app-modules/nurse-doctor/history/general-opd-history/menstrual-history/menstrual-history.component.css:16:23: 16 │ .mat_form_field_width >>>.mat-mdc-text-field-wrapper { ╵ ^ Warning: ▲ [WARNING] Unexpected ">" [css-syntax-error] /var/lib/jenkins/workspace/DemoPipelineUI/src/app/app-modules/nurse-doctor/history/general-opd-history/other-vaccines/other-vaccines.component.css:19:17: 19 │ mat-form-field >>> ╵ ^ Warning: ▲ [WARNING] Unexpected ">" [css-syntax-error] /var/lib/jenkins/workspace/DemoPipelineUI/src/app/app-modules/nurse-doctor/history/general-opd-history/other-vaccines/other-vaccines.component.css:23:16: 23 │ mat-form-field >>> .mat-mdc-text-field-wrapper { ╵ ^ Warning: ▲ [WARNING] Unexpected ">" [css-syntax-error] /var/lib/jenkins/workspace/DemoPipelineUI/src/app/app-modules/nurse-doctor/history/general-opd-history/past-history/past-history.component.css:22:17: 22 │ mat-form-field >>> ╵ ^ Warning: ▲ [WARNING] Unexpected ">" [css-syntax-error] /var/lib/jenkins/workspace/DemoPipelineUI/src/app/app-modules/nurse-doctor/history/general-opd-history/past-history/past-history.component.css:26:16: 26 │ mat-form-field >>> .mat-mdc-text-field-wrapper { ╵ ^ Warning: ▲ [WARNING] Unexpected ">" [css-syntax-error] /var/lib/jenkins/workspace/DemoPipelineUI/src/app/app-modules/nurse-doctor/history/general-opd-history/past-history/past-history.component.css:32:19: 32 │ .mat_border_style >>> .mat-mdc-form-field:not(.mat-form-field-no-a... ╵ ^ Warning: ▲ [WARNING] Unexpected ">" [css-syntax-error] /var/lib/jenkins/workspace/DemoPipelineUI/src/app/app-modules/nurse-doctor/history/general-opd-history/past-obsteric-history/past-obsteric-history.component.css:41:23: 41 │ .mat_form_field_width >>>.mat-mdc-text-field-wrapper { ╵ ^ Warning: ▲ [WARNING] Unexpected ">" [css-syntax-error] /var/lib/jenkins/workspace/DemoPipelineUI/src/app/app-modules/nurse-doctor/history/general-opd-history/past-obsteric-history/past-obsteric-history.component.css:44:27: 44 │ .mat_form_field_width_one >>>.mat-mdc-text-field-wrapper { ╵ ^ Warning: ▲ [WARNING] Unexpected ">" [css-syntax-error] /var/lib/jenkins/workspace/DemoPipelineUI/src/app/app-modules/nurse-doctor/history/general-opd-history/past-obsteric-history/past-obsteric-history.component.css:47:27: 47 │ .mat_form_field_width_two >>>.mat-mdc-text-field-wrapper { ╵ ^ Warning: ▲ [WARNING] Unexpected ">" [css-syntax-error] /var/lib/jenkins/workspace/DemoPipelineUI/src/app/app-modules/nurse-doctor/history/general-opd-history/past-obsteric-history/past-obsteric-history.component.css:50:28: 50 │ .mat_form_field_width_thee >>>.mat-mdc-text-field-wrapper { ╵ ^ Warning: ▲ [WARNING] Unexpected ">" [css-syntax-error] /var/lib/jenkins/workspace/DemoPipelineUI/src/app/app-modules/nurse-doctor/history/general-opd-history/personal-history/personal-history.component.css:38:19: 38 │ .mat_form_field >>> ╵ ^ Warning: ▲ [WARNING] Unexpected ">" [css-syntax-error] /var/lib/jenkins/workspace/DemoPipelineUI/src/app/app-modules/nurse-doctor/history/general-opd-history/personal-history/personal-history.component.css:42:17: 42 │ .mat_form_field >>> .mat-mdc-text-field-wrapper { ╵ ^ Warning: ▲ [WARNING] Unexpected ">" [css-syntax-error] /var/lib/jenkins/workspace/DemoPipelineUI/src/app/app-modules/nurse-doctor/history/general-opd-history/personal-history/personal-history.component.css:46:24: 46 │ .mat_form_field_length >>> .input-full-width[_ngcontent-ng-c182093... ╵ ^ Warning: ▲ [WARNING] Unexpected ">" [css-syntax-error] /var/lib/jenkins/workspace/DemoPipelineUI/src/app/app-modules/nurse-doctor/history/general-opd-history/personal-history/personal-history.component.css:50:24: 50 │ .mat_form_field_length >>> .mdc-text-field__input { ╵ ^ Warning: ▲ [WARNING] Unexpected ">" [css-syntax-error] /var/lib/jenkins/workspace/DemoPipelineUI/src/app/app-modules/nurse-doctor/visit-details/visit-details/visit-details.component.css:25:23: 25 │ .mat_form_field_width >>>.mat-mdc-text-field-wrapper { ╵ ^ Warning: ▲ [WARNING] Unexpected ">" [css-syntax-error] /var/lib/jenkins/workspace/DemoPipelineUI/src/app/app-modules/registrar/registration/register-other-details/register-other-details.component.css:68:25: 68 │ .mat_form_field_width >>>.mat-mdc-text-field-wrapper { ╵ ^ Warning: ▲ [WARNING] Unexpected ">" [css-syntax-error] /var/lib/jenkins/workspace/DemoPipelineUI/src/app/app-modules/set-password/set-password.component.css:7:12: 7 │ .mat_field >>>.mat-mdc-form-field { ╵ ^ Error: src/environments/environment.ci.ts:391:3 - error TS1117: An object literal cannot have multiple properties with the same name. 391 saveFile: `${COMMON_API}kmfilemanager/addFile`, ~~~~~~~~ Error: src/environments/environment.ci.ts:392:3 - error TS1117: An object literal cannot have multiple properties with the same name. 392 viewFileData: `${TM_API}common/getKMFile`, ~~~~~~~~~~~~ [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: 02:10 min [INFO] Finished at: 2024-06-21T02:31:52Z [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.codehaus.mojo:exec-maven-plugin:3.1.0:exec (ng-build) on project TM-UI-NEXT: 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