Jenkins更多错误

来自linux中国网wiki
Evan讨论 | 贡献2020年9月5日 (六) 03:34的版本
(差异) ←上一版本 | 最后版本 (差异) | 下一版本→ (差异)
跳到导航 跳到搜索

311.sh: node: not found

前端node项目


[test-hailuo-webview] $ /bin/sh -xe /tmp/jenkins5348164667826368311.sh
+ node -v
/tmp/jenkins5348164667826368311.sh: 2: /tmp/jenkins5348164667826368311.sh: node: not found
Build step 'Execute shell' marked build as failure
Finished: FAILURE


yarn --ignore-engines && \ 
yarn run build:dev

换成
yarn --ignore-engines && \
yarn run release


"release" could not be activated

 #这个第二次没出现了 但是感觉有点怪
 [INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 20.916 s
[INFO] Finished at: 2018-10-15T15:23:51+08:00
[INFO] ------------------------------------------------------------------------
[WARNING] The requested profile "release" could not be activated because it does not exist.


mvn打包提示的错误 java程序员说是代码问题 我运维控制不了的

[INFO] Scanning for projects...
[WARNING] 
[WARNING] Some problems were encountered while building the effective model for com.xtwl.interface.dao:xtwl_dao:jar:0.0.1-SNAPSHOT-dao
[WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-compiler-plugin is missing. @ com.xtwl.interface:xtwlztdj_interface:0.0.1-SNAPSHOT, /root/.jenkins/workspace/release_read_write_comm/pom.xml, line 23, column 21
[WARNING] 
[WARNING] Some problems were encountered while building the effective model for com.xtwl.interface.service:xtwl_service:jar:0.0.1-SNAPSHOT-service
[WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-compiler-plugin is missing. @ com.xtwl.interface:xtwlztdj_interface:0.0.1-SNAPSHOT, /root/.jenkins/workspace/release_read_write_comm/pom.xml, line 23, column 21
[WARNING] 
[WARNING] Some problems were encountered while building the effective model for com.xtwl.interface.util:xtwl_util:jar:0.0.1-SNAPSHOT-util
[WARNING] 'dependencies.dependency.(groupId:artifactId:type:classifier)' must be unique: org.slf4j:slf4j-log4j12:jar -> duplicate declaration of version 1.6.1 @ line 64, column 15
[WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-compiler-plugin is missing. @ line 8, column 21
[WARNING] 
[WARNING] Some problems were encountered while building the effective model for com.xtwl.interface.universal:xtwlztdj_universal_interface:war:0.0.1-SNAPSHOT-universal
[WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-compiler-plugin is missing. @ com.xtwl.interface:xtwlztdj_interface:0.0.1-SNAPSHOT, /root/.jenkins/workspace/release_read_write_comm/pom.xml, line 23, column 21
[WARNING] 
[WARNING] Some problems were encountered while building the effective model for com.xtwl.interface.write:xtwlztdj_write_interface:war:0.0.1-SNAPSHOT-write
[WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-compiler-plugin is missing. @ com.xtwl.interface:xtwlztdj_interface:0.0.1-SNAPSHOT, /root/.jenkins/workspace/release_read_write_comm/pom.xml, line 23, column 21
[WARNING] 
[WARNING] Some problems were encountered while building the effective model for com.xtwl.interface.read:xtwlztdj_read_interface:war:0.0.1-SNAPSHOT-read
[WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-compiler-plugin is missing. @ com.xtwl.interface:xtwlztdj_interface:0.0.1-SNAPSHOT, /root/.jenkins/workspace/release_read_write_comm/pom.xml, line 23, column 21
[WARNING] 
[WARNING] Some problems were encountered while building the effective model for com.xtwl.interface:xtwlztdj_interface:pom:0.0.1-SNAPSHOT
[WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-compiler-plugin is missing. @ line 23, column 21
[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] --- maven-clean-plugin:2.5:clean (default-clean) @ xtwlztdj_interface ---
[WARNING] Attempt to (de-)serialize anonymous class hudson.maven.reporters.MavenArtifactArchiver$2; see: https://jenkins.io/redirect/serialization-of-anonymous-classes/
[WARNING] Attempt to (de-)serialize anonymous class hudson.maven.reporters.MavenFingerprinter$1; see: https://jenkins.io/redirect/serialization-of-anonymous-classes/


[INFO] Compiling 76 source files to /root/.jenkins/workspace/release_read_write_comm/xtwl_util/target/classes
[WARNING] /root/.jenkins/workspace/release_read_write_comm/xtwl_util/src/main/java/org/platform_util/util/HttpUtil.java: /root/.jenkins/workspace/release_read_write_comm/xtwl_util/src/main/java/org/platform_util/util/HttpUtil.java使用或覆盖了已过时的 API。
[WARNING] /root/.jenkins/workspace/release_read_write_comm/xtwl_util/src/main/java/org/platform_util/util/HttpUtil.java: 有关详细信息, 请使用 -Xlint:deprecation 重新编译。
[WARNING] /root/.jenkins/workspace/release_read_write_comm/xtwl_util/src/main/java/org/platform_util/duiba/SignTool.java: 某些输入文件使用了未经检查或不安全的操作。
[WARNING] /root/.jenkins/workspace/release_read_write_comm/xtwl_util/src/main/java/org/platform_util/duiba/SignTool.java: 有关详细信息, 请使用 -Xlint:unchecked 重新编译。
[INFO] 


[JENKINS] Recording test results
[WARNING] Attempt to (de-)serialize anonymous class hudson.maven.reporters.SurefireArchiver$2; see: https://jenkins.io/redirect/serialization-of-anonymous-classes/
[WARNING] Attempt to (de-)serialize anonymous class hudson.maven.reporters.BuildInfoRecorder$1; see: https://jenkins.io/redirect/serialization-of-anonymous-classes/
[INFO] 

[INFO] Compiling 1002 source files to /root/.jenkins/workspace/release_read_write_comm/xtwl_dao/target/classes
[WARNING] /root/.jenkins/workspace/release_read_write_comm/xtwl_dao/src/main/java/org/platform_dao/read/billsettlement/bean/req/ReadOrderWCount.java: 某些输入文件使用了未经检查或不安全的操作。
[WARNING] /root/.jenkins/workspace/release_read_write_comm/xtwl_dao/src/main/java/org/platform_dao/read/billsettlement/bean/req/ReadOrderWCount.java: 有关详细信息, 请使用 -Xlint:unchecked 重新编译。
[INFO] 

[INFO] Compiling 114 source files to /root/.jenkins/workspace/release_read_write_comm/xtwl_service/target/classes
[WARNING] /root/.jenkins/workspace/release_read_write_comm/xtwl_service/src/main/java/org/platform_service/write/paymax/model/Paymax.java: /root/.jenkins/workspace/release_read_write_comm/xtwl_service/src/main/java/org/platform_service/write/paymax/model/Paymax.java使用或覆盖了已过时的 API。
[WARNING] /root/.jenkins/workspace/release_read_write_comm/xtwl_service/src/main/java/org/platform_service/write/paymax/model/Paymax.java: 有关详细信息, 请使用 -Xlint:deprecation 重新编译。
[WARNING] /root/.jenkins/workspace/release_read_write_comm/xtwl_service/src/main/java/org/platform_service/read/home/HomeImpl.java: 某些输入文件使用了未经检查或不安全的操作。
[WARNING] /root/.jenkins/workspace/release_read_write_comm/xtwl_service/src/main/java/org/platform_service/read/home/HomeImpl.java: 有关详细信息, 请使用 -Xlint:unchecked 重新编译。
[INFO] 

[INFO] Compiling 15 source files to /root/.jenkins/workspace/release_read_write_comm/xtwlztdj_universal_interface/target/classes
[WARNING] /root/.jenkins/workspace/release_read_write_comm/xtwlztdj_universal_interface/src/main/java/org/platform_universal/spring/SpringContextHolder.java: /root/.jenkins/workspace/release_read_write_comm/xtwlztdj_universal_interface/src/main/java/org/platform_universal/spring/SpringContextHolder.java使用了未经检查或不安全的操作。
[WARNING] /root/.jenkins/workspace/release_read_write_comm/xtwlztdj_universal_interface/src/main/java/org/platform_universal/spring/SpringContextHolder.java: 有关详细信息, 请使用 -Xlint:unchecked 重新编译。
[INFO]