Skip to content

Console Output

Started by user unknown or anonymous
Running as SYSTEM
Building in workspace /data/jenkins/workspace/channel-platform
[channel-platform] $ /bin/sh -xe /data/apache-tomcat-jenkins/temp/jenkins16829044474970078052.sh
+ export NODE_HOME=/usr/local/node-v14.18.1-linux-x64
+ NODE_HOME=/usr/local/node-v14.18.1-linux-x64
+ export PATH=/usr/local/node-v14.18.1-linux-x64/bin:/usr/local/n/versions/node/16.0.0/bin:/usr/local/jdk1.8/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/var/lib/snapd/snap/bin:/usr/local/maven/bin:/usr/local/git/bin
+ PATH=/usr/local/node-v14.18.1-linux-x64/bin:/usr/local/n/versions/node/16.0.0/bin:/usr/local/jdk1.8/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/var/lib/snapd/snap/bin:/usr/local/maven/bin:/usr/local/git/bin
+ cd /opt/testIM/channel-platform/manage
+ npm install

> core-js@2.6.12 postinstall /opt/testIM/channel-platform/manage/node_modules/babel-runtime/node_modules/core-js
> node -e "try{require('./postinstall')}catch(e){}"


> core-js@3.22.2 postinstall /opt/testIM/channel-platform/manage/node_modules/core-js
> node -e "try{require('./postinstall')}catch(e){}"


> ejs@2.7.4 postinstall /opt/testIM/channel-platform/manage/node_modules/ejs
> node ./postinstall.js

npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.13 (node_modules/webpack-dev-server/node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.13: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.13 (node_modules/watchpack-chokidar2/node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.13: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@2.3.2 (node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.3.2: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})

added 1362 packages from 662 contributors in 21.789s

103 packages are looking for funding
  run `npm fund` for details

+ npm run build

> wx-manage@0.8.2 build /opt/testIM/channel-platform/manage
> vue-cli-service build && npm run delpreviousrelease && npm run copyrelease

Browserslist: caniuse-lite is outdated. Please run:
  npx browserslist@latest --update-db
  Why you should do it regularly: https://github.com/browserslist/browserslist#browsers-data-updating

-  Building for production...
Browserslist: caniuse-lite is outdated. Please run:
  npx browserslist@latest --update-db
  Why you should do it regularly: https://github.com/browserslist/browserslist#browsers-data-updating
Browserslist: caniuse-lite is outdated. Please run:
  npx browserslist@latest --update-db
  Why you should do it regularly: https://github.com/browserslist/browserslist#browsers-data-updating
Browserslist: caniuse-lite is outdated. Please run:
  npx browserslist@latest --update-db
  Why you should do it regularly: https://github.com/browserslist/browserslist#browsers-data-updating
 WARNING  Compiled with 2 warnings7:44:28 PM

 warning  

asset size limit: The following asset(s) exceed the recommended size limit (244 KiB).
This can impact web performance.
Assets: 
  js/chunk-vendors.0b64d653.js (1.19 MiB)

 warning  

entrypoint size limit: The following entrypoint(s) combined asset size exceeds the recommended limit (244 KiB). This can impact web performance.
Entrypoints:
  app (1.46 MiB)
      css/chunk-vendors.d6660368.css
      js/chunk-vendors.0b64d653.js
      css/app.456a99f3.css
      js/app.fcfea0b2.js


  File                                    Size              Gzipped

  dist/js/chunk-vendors.0b64d653.js       1221.38 KiB       345.42 KiB
  dist/js/app.fcfea0b2.js                 22.45 KiB         7.93 KiB
  dist/js/chunk-72bf76f6.d4b6fa50.js      19.27 KiB         5.31 KiB
  dist/js/chunk-b11dca44.85c71a30.js      18.92 KiB         6.32 KiB
  dist/tinymce/zh_CN.js                   16.99 KiB         5.79 KiB
  dist/js/chunk-039fa3a4.a63f4f03.js      13.47 KiB         4.01 KiB
  dist/js/chunk-1410aea0.4639b7ac.js      12.77 KiB         4.26 KiB
  dist/js/chunk-034dec21.612cd63b.js      12.75 KiB         3.96 KiB
  dist/js/chunk-288d3f94.8f017c5e.js      12.64 KiB         4.89 KiB
  dist/js/chunk-25d440de.4625a09b.js      11.98 KiB         3.89 KiB
  dist/js/chunk-5205fb41.d5b661b2.js      11.88 KiB         3.35 KiB
  dist/js/chunk-78fe043a.bdc99923.js      10.02 KiB         3.38 KiB
  dist/js/chunk-afef49e0.d86378ce.js      9.33 KiB          3.05 KiB
  dist/js/chunk-1065539a.bb1e8443.js      8.92 KiB          3.80 KiB
  dist/js/chunk-608a74b1.44512344.js      8.62 KiB          3.14 KiB
  dist/js/chunk-4f390334.2b712174.js      8.42 KiB          2.90 KiB
  dist/js/chunk-3035c5cd.8351bd3a.js      7.84 KiB          2.75 KiB
  dist/js/chunk-2d2262df.a87dd2f3.js      7.82 KiB          1.64 KiB
  dist/js/chunk-2d0ba90b.1d94e6a1.js      7.81 KiB          2.56 KiB
  dist/js/chunk-6f871ffe.3081f198.js      7.63 KiB          2.52 KiB
  dist/js/chunk-2af4e88c.ef6bd924.js      7.60 KiB          2.91 KiB
  dist/js/chunk-0c9684c4.b2cbeadd.js      7.25 KiB          2.36 KiB
  dist/js/chunk-ffc0e5ba.4de494a2.js      7.09 KiB          2.97 KiB
  dist/js/chunk-35a9a1a8.850e0488.js      6.54 KiB          2.02 KiB
  dist/js/chunk-d1488c7e.0d95c131.js      5.75 KiB          2.22 KiB
  dist/js/chunk-2431659a.10ae07a0.js      5.67 KiB          2.02 KiB
  dist/js/chunk-2d213391.2e885013.js      5.65 KiB          1.87 KiB
  dist/js/chunk-5a860c27.d561641e.js      4.79 KiB          2.29 KiB
  dist/js/chunk-62906dd8.bd59149d.js      4.74 KiB          1.90 KiB
  dist/js/chunk-22e9a9e5.403dfd8e.js      3.97 KiB          1.40 KiB
  dist/js/chunk-2d0e95a3.d4886fe3.js      3.39 KiB          1.61 KiB
  dist/js/chunk-2d0e9708.3902ea18.js      3.34 KiB          1.48 KiB
  dist/js/chunk-2d226174.d427bc53.js      3.32 KiB          1.19 KiB
  dist/js/chunk-2d0aeb2a.51dae938.js      3.10 KiB          1.36 KiB
  dist/js/chunk-515f3236.9426c529.js      3.04 KiB          1.20 KiB
  dist/js/chunk-2d20fcf8.0446bed0.js      2.85 KiB          1.18 KiB
  dist/js/chunk-2d0bfe95.fdf7d61f.js      2.76 KiB          1.17 KiB
  dist/js/chunk-0072525b.2e550148.js      2.40 KiB          1.24 KiB
  dist/js/chunk-2d0dab4f.5e1db1f8.js      1.83 KiB          0.81 KiB
  dist/js/chunk-2d22ba00.21188ea6.js      1.50 KiB          0.80 KiB
  dist/js/chunk-30ca6c83.2e0a7942.js      1.48 KiB          0.74 KiB
  dist/js/chunk-c1fd4d5e.4df73cd9.js      1.33 KiB          0.68 KiB
  dist/js/chunk-2d0e97b1.93075204.js      1.31 KiB          0.75 KiB
  dist/js/chunk-2d0c46df.6a7214ed.js      1.27 KiB          0.56 KiB
  dist/js/chunk-2d0b3e0b.e619970f.js      1.07 KiB          0.60 KiB
  dist/js/chunk-ddfc165a.a63137aa.js      0.99 KiB          0.54 KiB
  dist/js/chunk-293d00b1.fc5c7c7e.js      0.95 KiB          0.52 KiB
  dist/js/chunk-41fa0a8f.24f67fdc.js      0.51 KiB          0.35 KiB
  dist/css/chunk-vendors.d6660368.css     235.16 KiB        35.75 KiB
  dist/css/app.456a99f3.css               19.31 KiB         4.26 KiB
  dist/css/chunk-2431659a.f0f27488.css    4.90 KiB          1.25 KiB
  dist/css/chunk-1410aea0.3c4c6c0e.css    1.80 KiB          0.63 KiB
  dist/css/chunk-515f3236.efe475ab.css    1.33 KiB          0.49 KiB
  dist/tinymce/article.css                1.13 KiB          0.49 KiB
  dist/css/chunk-2af4e88c.4d4b3a40.css    0.86 KiB          0.38 KiB
  dist/css/chunk-ddfc165a.295cf4e1.css    0.76 KiB          0.33 KiB
  dist/css/chunk-35a9a1a8.1b3ad89e.css    0.61 KiB          0.30 KiB
  dist/css/chunk-25d440de.65a34b66.css    0.56 KiB          0.27 KiB
  dist/css/chunk-608a74b1.65a34b66.css    0.56 KiB          0.27 KiB
  dist/css/chunk-288d3f94.7a6fb626.css    0.52 KiB          0.27 KiB
  dist/css/chunk-b11dca44.a9ed29ea.css    0.24 KiB          0.16 KiB
  dist/css/chunk-5a860c27.408566ae.css    0.17 KiB          0.12 KiB
  dist/css/chunk-afef49e0.ba350129.css    0.15 KiB          0.13 KiB
  dist/css/chunk-c1fd4d5e.ba350129.css    0.15 KiB          0.13 KiB
  dist/css/chunk-30ca6c83.012eeb94.css    0.08 KiB          0.08 KiB
  dist/css/chunk-0072525b.1fb0d11c.css    0.05 KiB          0.07 KiB
  dist/css/chunk-41fa0a8f.96c17539.css    0.04 KiB          0.06 KiB

  Images and other types of assets omitted.

 DONE  Build complete. The dist directory is ready to be deployed.
 INFO  Check out deployment instructions at https://cli.vuejs.org/guide/deployment.html
      

> wx-manage@0.8.2 delpreviousrelease /opt/testIM/channel-platform/manage
> node script/del.js ../server/src/main/resources/static

Del ../server/src/main/resources/static


(node:29437) Warning: Accessing non-existent property 'cat' of module exports inside circular dependency
(Use `node --trace-warnings ...` to show where the warning was created)
(node:29437) Warning: Accessing non-existent property 'cd' of module exports inside circular dependency
(node:29437) Warning: Accessing non-existent property 'chmod' of module exports inside circular dependency
(node:29437) Warning: Accessing non-existent property 'cp' of module exports inside circular dependency
(node:29437) Warning: Accessing non-existent property 'dirs' of module exports inside circular dependency
(node:29437) Warning: Accessing non-existent property 'pushd' of module exports inside circular dependency
(node:29437) Warning: Accessing non-existent property 'popd' of module exports inside circular dependency
(node:29437) Warning: Accessing non-existent property 'echo' of module exports inside circular dependency
(node:29437) Warning: Accessing non-existent property 'tempdir' of module exports inside circular dependency
(node:29437) Warning: Accessing non-existent property 'pwd' of module exports inside circular dependency
(node:29437) Warning: Accessing non-existent property 'exec' of module exports inside circular dependency
(node:29437) Warning: Accessing non-existent property 'ls' of module exports inside circular dependency
(node:29437) Warning: Accessing non-existent property 'find' of module exports inside circular dependency
(node:29437) Warning: Accessing non-existent property 'grep' of module exports inside circular dependency
(node:29437) Warning: Accessing non-existent property 'head' of module exports inside circular dependency
(node:29437) Warning: Accessing non-existent property 'ln' of module exports inside circular dependency
(node:29437) Warning: Accessing non-existent property 'mkdir' of module exports inside circular dependency
(node:29437) Warning: Accessing non-existent property 'rm' of module exports inside circular dependency
(node:29437) Warning: Accessing non-existent property 'mv' of module exports inside circular dependency
(node:29437) Warning: Accessing non-existent property 'sed' of module exports inside circular dependency
(node:29437) Warning: Accessing non-existent property 'set' of module exports inside circular dependency
(node:29437) Warning: Accessing non-existent property 'sort' of module exports inside circular dependency
(node:29437) Warning: Accessing non-existent property 'tail' of module exports inside circular dependency
(node:29437) Warning: Accessing non-existent property 'test' of module exports inside circular dependency
(node:29437) Warning: Accessing non-existent property 'to' of module exports inside circular dependency
(node:29437) Warning: Accessing non-existent property 'toEnd' of module exports inside circular dependency
(node:29437) Warning: Accessing non-existent property 'touch' of module exports inside circular dependency
(node:29437) Warning: Accessing non-existent property 'uniq' of module exports inside circular dependency
(node:29437) Warning: Accessing non-existent property 'which' of module exports inside circular dependency
 ✓ Deleted ../server/src/main/resources/static



> wx-manage@0.8.2 copyrelease /opt/testIM/channel-platform/manage
> node script/copydir.js dist/ ../server/src/main/resources/static

Try copy dist/ to ../server/src/main/resources/static


 Copied dist/ to the ../server/src/main/resources/static 

+ sleep 5
+ cd /opt/testIM/channel-platform/client
+ npm install

> core-js@2.6.11 postinstall /opt/testIM/channel-platform/client/node_modules/core-js
> node -e "try{require('./postinstall')}catch(e){}"


> ejs@2.7.4 postinstall /opt/testIM/channel-platform/client/node_modules/ejs
> node ./postinstall.js


> highlight.js@9.18.5 postinstall /opt/testIM/channel-platform/client/node_modules/highlight.js
> node deprecated.js

-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*

  Verion 9 of Highlight.js has reached EOL.  It will no longer
  be supported or receive security updates in the future.
  Please upgrade to version 10 or encourage your indirect
  dependencies to do so.

  For more info:
  
  https://github.com/highlightjs/highlight.js/issues/2877
  https://github.com/highlightjs/highlight.js/blob/master/VERSION_10_UPGRADE.md
 
-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.13 (node_modules/webpack-dev-server/node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.13: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.13 (node_modules/watchpack-chokidar2/node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.13: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@2.1.3 (node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.1.3: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})

added 1230 packages from 844 contributors in 16.725s

49 packages are looking for funding
  run `npm fund` for details

+ npm run build

> weixin-client@0.1.0 build /opt/testIM/channel-platform/client
> vue-cli-service build && npm run delpreviousrelease && npm run copyrelease


-  Building for production...
Browserslist: caniuse-lite is outdated. Please run:
npx browserslist@latest --update-db
Browserslist: caniuse-lite is outdated. Please run:
npx browserslist@latest --update-db
Browserslist: caniuse-lite is outdated. Please run:
npx browserslist@latest --update-db
Browserslist: caniuse-lite is outdated. Please run:
npx browserslist@latest --update-db
 DONE  Compiled successfully in 3628ms7:44:57 PM

  File                                    Size              Gzipped

  dist/js/chunk-vendors.ed063720.js       23.44 KiB         8.86 KiB
  dist/js/chunk-13b85a56.c7965637.js      8.65 KiB          3.94 KiB
  dist/js/app.d6de5ab1.js                 7.32 KiB          3.24 KiB
  dist/js/chunk-b0068c4e.35292d32.js      5.02 KiB          2.47 KiB
  dist/js/chunk-bf600eaa.12187731.js      3.16 KiB          1.54 KiB
  dist/js/chunk-7bf061b6.3397c55e.js      3.07 KiB          1.55 KiB
  dist/js/chunk-2d21a719.aebdb312.js      1.62 KiB          0.81 KiB
  dist/js/chunk-29da1a0c.e49984b1.js      1.47 KiB          0.72 KiB
  dist/js/chunk-43d05b30.7bfa684c.js      0.90 KiB          0.58 KiB
  dist/js/chunk-2d0d3132.1af88dd9.js      0.78 KiB          0.56 KiB
  dist/js/chunk-2d212bc4.ee9e0f23.js      0.34 KiB          0.29 KiB
  dist/css/app.4c21aeee.css               6.88 KiB          1.54 KiB
  dist/css/chunk-29da1a0c.da79dde4.css    1.47 KiB          0.54 KiB
  dist/css/chunk-13b85a56.464d734c.css    0.23 KiB          0.16 KiB
  dist/css/chunk-43d05b30.5bae8154.css    0.08 KiB          0.10 KiB
  dist/css/chunk-7bf061b6.46898cdc.css    0.07 KiB          0.08 KiB
  dist/css/chunk-bf600eaa.da8f82d3.css    0.07 KiB          0.08 KiB
  dist/css/chunk-b0068c4e.8d19a5bc.css    0.05 KiB          0.07 KiB

  Images and other types of assets omitted.

 DONE  Build complete. The dist directory is ready to be deployed.
 INFO  Check out deployment instructions at https://cli.vuejs.org/guide/deployment.html
      

> weixin-client@0.1.0 delpreviousrelease /opt/testIM/channel-platform/client
> node script/del.js ../server/src/main/resources/static/client

Del ../server/src/main/resources/static/client


(node:29720) Warning: Accessing non-existent property 'cat' of module exports inside circular dependency
(Use `node --trace-warnings ...` to show where the warning was created)
(node:29720) Warning: Accessing non-existent property 'cd' of module exports inside circular dependency
(node:29720) Warning: Accessing non-existent property 'chmod' of module exports inside circular dependency
(node:29720) Warning: Accessing non-existent property 'cp' of module exports inside circular dependency
(node:29720) Warning: Accessing non-existent property 'dirs' of module exports inside circular dependency
(node:29720) Warning: Accessing non-existent property 'pushd' of module exports inside circular dependency
(node:29720) Warning: Accessing non-existent property 'popd' of module exports inside circular dependency
(node:29720) Warning: Accessing non-existent property 'echo' of module exports inside circular dependency
(node:29720) Warning: Accessing non-existent property 'tempdir' of module exports inside circular dependency
(node:29720) Warning: Accessing non-existent property 'pwd' of module exports inside circular dependency
(node:29720) Warning: Accessing non-existent property 'exec' of module exports inside circular dependency
(node:29720) Warning: Accessing non-existent property 'ls' of module exports inside circular dependency
(node:29720) Warning: Accessing non-existent property 'find' of module exports inside circular dependency
(node:29720) Warning: Accessing non-existent property 'grep' of module exports inside circular dependency
(node:29720) Warning: Accessing non-existent property 'head' of module exports inside circular dependency
(node:29720) Warning: Accessing non-existent property 'ln' of module exports inside circular dependency
(node:29720) Warning: Accessing non-existent property 'mkdir' of module exports inside circular dependency
(node:29720) Warning: Accessing non-existent property 'rm' of module exports inside circular dependency
(node:29720) Warning: Accessing non-existent property 'mv' of module exports inside circular dependency
(node:29720) Warning: Accessing non-existent property 'sed' of module exports inside circular dependency
(node:29720) Warning: Accessing non-existent property 'set' of module exports inside circular dependency
(node:29720) Warning: Accessing non-existent property 'sort' of module exports inside circular dependency
(node:29720) Warning: Accessing non-existent property 'tail' of module exports inside circular dependency
(node:29720) Warning: Accessing non-existent property 'test' of module exports inside circular dependency
(node:29720) Warning: Accessing non-existent property 'to' of module exports inside circular dependency
(node:29720) Warning: Accessing non-existent property 'toEnd' of module exports inside circular dependency
(node:29720) Warning: Accessing non-existent property 'touch' of module exports inside circular dependency
(node:29720) Warning: Accessing non-existent property 'uniq' of module exports inside circular dependency
(node:29720) Warning: Accessing non-existent property 'which' of module exports inside circular dependency
 ✓ Deleted ../server/src/main/resources/static/client



> weixin-client@0.1.0 copyrelease /opt/testIM/channel-platform/client
> node script/copydir.js dist/ ../server/src/main/resources/static/client

Try copy dist/ to ../server/src/main/resources/static/client


 Copied dist/ to the ../server/src/main/resources/static/client 

+ sleep 5
+ cd /opt/testIM/channel-platform/server
+ mvn clean package
[INFO] Scanning for projects...
[WARNING] 
[WARNING] Some problems were encountered while building the effective model for cn.wildfirechat:channel-server:jar:0.1.2
[WARNING] 'dependencies.dependency.systemPath' for cn.wildfirechat:sdk:jar should not point at files within the project directory, ${project.basedir}/src/main/lib/sdk-${wfc.sdk.version}.jar will be unresolvable by dependent projects @ line 163, column 16
[WARNING] 'dependencies.dependency.systemPath' for cn.wildfirechat:common:jar should not point at files within the project directory, ${project.basedir}/src/main/lib/common-${wfc.sdk.version}.jar will be unresolvable by dependent projects @ line 171, column 16
[WARNING] 
[WARNING] It is highly recommended to fix these problems because they threaten the stability of your build.
[WARNING] 
[WARNING] For this reason, future Maven versions might no longer support building such malformed projects.
[WARNING] 
[INFO] 
[INFO] -------------------< cn.wildfirechat:channel-server >-------------------
[INFO] Building channel-server 0.1.2
[INFO] --------------------------------[ jar ]---------------------------------
[INFO] 
[INFO] --- maven-clean-plugin:3.1.0:clean (default-clean) @ channel-server ---
[INFO] 
[INFO] --- maven-resources-plugin:3.2.0:resources (default-resources) @ channel-server ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Using 'UTF-8' encoding to copy filtered properties files.
[INFO] Copying 104 resources
[INFO] 
[INFO] --- maven-compiler-plugin:3.8.1:compile (default-compile) @ channel-server ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 215 source files to /opt/testIM/channel-platform/server/target/classes
[INFO] /opt/testIM/channel-platform/server/src/main/java/com/github/niefy/modules/wx/entity/WxUser.java: Some input files use or override a deprecated API.
[INFO] /opt/testIM/channel-platform/server/src/main/java/com/github/niefy/modules/wx/entity/WxUser.java: Recompile with -Xlint:deprecation for details.
[INFO] /opt/testIM/channel-platform/server/src/main/java/com/github/niefy/common/xss/HTMLFilter.java: Some input files use unchecked or unsafe operations.
[INFO] /opt/testIM/channel-platform/server/src/main/java/com/github/niefy/common/xss/HTMLFilter.java: Recompile with -Xlint:unchecked for details.
[INFO] 
[INFO] --- maven-resources-plugin:3.2.0:testResources (default-testResources) @ channel-server ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Using 'UTF-8' encoding to copy filtered properties files.
[INFO] skip non existing resourceDirectory /opt/testIM/channel-platform/server/src/test/resources
[INFO] 
[INFO] --- maven-compiler-plugin:3.8.1:testCompile (default-testCompile) @ channel-server ---
[INFO] No sources to compile
[INFO] 
[INFO] --- maven-surefire-plugin:2.22.2:test (default-test) @ channel-server ---
[INFO] Tests are skipped.
[INFO] 
[INFO] --- maven-jar-plugin:3.2.2:jar (default-jar) @ channel-server ---
[INFO] Building jar: /opt/testIM/channel-platform/server/target/channel-server-0.1.2.jar
[INFO] 
[INFO] --- spring-boot-maven-plugin:2.6.4:repackage (repackage) @ channel-server ---
[INFO] Replacing main artifact with repackaged archive
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  7.858 s
[INFO] Finished at: 2025-07-18T19:45:13+08:00
[INFO] ------------------------------------------------------------------------
+ ssh 172.20.0.42 -C 'rm -rf /data/workspace/channel-platform/run/*'
+ scp -r /opt/testIM/channel-platform/server/target/channel-server-0.1.2.jar /opt/testIM/channel-platform/server/target/channel-server-0.1.2.jar.original /opt/testIM/channel-platform/server/target/classes /opt/testIM/channel-platform/server/target/generated-sources /opt/testIM/channel-platform/server/target/maven-archiver /opt/testIM/channel-platform/server/target/maven-status 172.20.0.42:/data/workspace/channel-platform/run/
+ scp -r /opt/testIM/channel-platform/server/config 172.20.0.42:/data/workspace/channel-platform/run/
[SSH] script:
=""
PATH="/usr/local/n/versions/node/16.0.0/bin:/usr/local/jdk1.8/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/var/lib/snapd/snap/bin:/usr/local/maven/bin:/usr/local/git/bin"
NODE_HOME="/usr/local/n/versions/node/16.0.0"
HOME="/root"

export NODE_HOME=/usr/local/node-v14.18.1-linux-x64
export PATH=$NODE_HOME/bin:$PATH

cd /data/workspace/channel-platform/runing

pid=$(ps -ef|grep channel-server-0.1.2.jar |grep -v grep|awk '{print $2}')
if [ $pid  ];then
	kill -9 $pid
fi

rm -rf ./runing/*
cp -r ./run/* ./runing/
sleep 3

nohup java -Xms512m -Xmx512m -jar  channel-server-0.1.2.jar > /data/workspace/channel-platform/logs/channel-server.log 2>&1 &

[SSH] executing...
bash: =: command not found
cp: cannot stat ‘./run/*’: No such file or directory

[SSH] completed
[SSH] exit-status: 0

Finished: SUCCESS