You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
同时jenkins任务构建失败
Started by user jiaxuefeng
Running as SYSTEM
Building on master in workspace E:\fengfeng\work_tools\MyJenkinsWorkSpace\workspace\ZTF-TestNg-Git
[WS-CLEANUP] Deleting project workspace...
[WS-CLEANUP] Deferred wipeout is used...
[WS-CLEANUP] Done
No credentials specified
Cloning the remote Git repository
Cloning repository https://gitee.com/jjxff2000/ci_test_testng.git
[INFO]
[INFO] --- maven-jar-plugin:2.4:jar (default-jar) @ ci_test_testng ---
[INFO] Building jar: E:\fengfeng\work_tools\MyJenkinsWorkSpace\workspace\ZTF-TestNg-Git\target\ci_test_testng-0.4-SNAPSHOT.jar
[INFO]
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ ci_test_testng ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory E:\fengfeng\work_tools\MyJenkinsWorkSpace\workspace\ZTF-TestNg-Git\src\main\resources
[INFO]
[INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ ci_test_testng ---
[INFO] Nothing to compile - all classes are up to date
[INFO]
[INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ ci_test_testng ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 1 resource
[INFO]
[INFO] --- maven-compiler-plugin:3.1:testCompile (default-testCompile) @ ci_test_testng ---
[INFO] Nothing to compile - all classes are up to date
[INFO]
[INFO] --- maven-surefire-plugin:2.12.4:test (default-test) @ ci_test_testng ---
[INFO] Skipping execution of surefire because it has already been run for this configuration
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 14.012 s
[INFO] Finished at: 2020-06-17T10:50:59+08:00
[INFO] ------------------------------------------------------------------------
git版本库禅道配置
git触发jenkins任务构建配置
后台计划任务显示正常
实际结果并未按照git tag触发构建,而是每5分钟触发一次
同时jenkins任务构建失败
Started by user jiaxuefeng
Running as SYSTEM
Building on master in workspace E:\fengfeng\work_tools\MyJenkinsWorkSpace\workspace\ZTF-TestNg-Git
[WS-CLEANUP] Deleting project workspace...
[WS-CLEANUP] Deferred wipeout is used...
[WS-CLEANUP] Done
No credentials specified
Cloning the remote Git repository
Cloning repository https://gitee.com/jjxff2000/ci_test_testng.git
E:\fengfeng\work_tools\MyJenkinsWorkSpace\workspace\ZTF-TestNg-Git>echo
ECHO 处于打开状态。
E:\fengfeng\work_tools\MyJenkinsWorkSpace\workspace\ZTF-TestNg-Git>exit 0
[ZTF-TestNg-Git] $ cmd /c call C:\Users\ADMINI~1\AppData\Local\Temp\jenkins3844686234650660713.bat
E:\fengfeng\work_tools\MyJenkinsWorkSpace\workspace\ZTF-TestNg-Git>ztf.exe testng -p 001 mvn clean package test
[INFO] Scanning for projects...
[INFO]
[INFO] ------------------< com.ngtesting.ci:ci_test_testng >-------------------
[INFO] Building ci_test_testng 0.4-SNAPSHOT
[INFO] --------------------------------[ jar ]---------------------------------
[INFO]
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ ci_test_testng ---
[INFO]
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ ci_test_testng ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory E:\fengfeng\work_tools\MyJenkinsWorkSpace\workspace\ZTF-TestNg-Git\src\main\resources
[INFO]
[INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ ci_test_testng ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 2 source files to E:\fengfeng\work_tools\MyJenkinsWorkSpace\workspace\ZTF-TestNg-Git\target\classes
[INFO]
[INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ ci_test_testng ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 1 resource
[INFO]
[INFO] --- maven-compiler-plugin:3.1:testCompile (default-testCompile) @ ci_test_testng ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 1 source file to E:\fengfeng\work_tools\MyJenkinsWorkSpace\workspace\ZTF-TestNg-Git\target\test-classes
[INFO]
[INFO] --- maven-surefire-plugin:2.12.4:test (default-test) @ ci_test_testng ---
[INFO] Surefire report directory: E:\fengfeng\work_tools\MyJenkinsWorkSpace\workspace\ZTF-TestNg-Git\target\surefire-reports
T E S T S
Running com.ngtesting.autotest.test.TestLogin
Configuring TestNG with: org.apache.maven.surefire.testng.conf.TestNG652Configurator@6d86b085
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.488 sec
Results :
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0
[INFO]
[INFO] --- maven-jar-plugin:2.4:jar (default-jar) @ ci_test_testng ---
[INFO] Building jar: E:\fengfeng\work_tools\MyJenkinsWorkSpace\workspace\ZTF-TestNg-Git\target\ci_test_testng-0.4-SNAPSHOT.jar
[INFO]
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ ci_test_testng ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory E:\fengfeng\work_tools\MyJenkinsWorkSpace\workspace\ZTF-TestNg-Git\src\main\resources
[INFO]
[INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ ci_test_testng ---
[INFO] Nothing to compile - all classes are up to date
[INFO]
[INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ ci_test_testng ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 1 resource
[INFO]
[INFO] --- maven-compiler-plugin:3.1:testCompile (default-testCompile) @ ci_test_testng ---
[INFO] Nothing to compile - all classes are up to date
[INFO]
[INFO] --- maven-surefire-plugin:2.12.4:test (default-test) @ ci_test_testng ---
[INFO] Skipping execution of surefire because it has already been run for this configuration
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 14.012 s
[INFO] Finished at: 2020-06-17T10:50:59+08:00
[INFO] ------------------------------------------------------------------------
==================================================================================================================================== 2020-06-17 10:51:00 found_scripts: ===================================================================================================================================
(1/3) pass [com.ngtesting.autotest.test.TestLogin] [1. loginSuccess] (0.041s)
(2/3) pass [com.ngtesting.autotest.test.TestLogin] [2. loginFail] (0.004s)
(3/3) pass [com.ngtesting.autotest.test.TestLogin] [3. loginFail] (0.003s)
2020-06-17 10:51:00 run_scripts
{"env":"windows","testType":"unit","testFrame":"testng","productId":1,"taskId":0,"zentaoData":"compile=137","buildUrl":"http://localhost:9000/job/ZTF-TestNg-Git/13/","pass":3,"fail":0,"skip":0,"total":3,"startTime":1592362240,"endTime":1592362260,"duration":20,"funcResult":null,"unitResult":[{"title":"loginSuccess","testSuite":"com.ngtesting.autotest.test.TestLogin","duration":0.041,"failure":null,"id":1,"status":"pass"},{"title":"loginFail","testSuite":"com.ngtesting.autotest.test.TestLogin","duration":0.004,"failure":null,"id":2,"status":"pass"},{"title":"loginFail","testSuite":"com.ngtesting.autotest.test.TestLogin","duration":0.003,"failure":null,"id":3,"status":"pass"}]}
fail_to_submit_test_result
server_return
10:51:01 Uncaught Error: Call to undefined method compileModel::syncCompileStatus() in E:\fengfeng\tools\zentao\xampp\zentao\module\ci\control.php:115
Stack trace:
#0 E:\fengfeng\tools\zentao\xampp\zentao\framework\base\router.class.php(1712): ci->commitResult()
#1 E:\fengfeng\tools\zentao\xampp\zentao\www\index.php(71): baseRouter->loadModule()
#2 {main}
thrown in E:\fengfeng\tools\zentao\xampp\zentao\module\ci\control.php on line 115 when visiting ci-commitResult-
==================================================================================================================================================== = ====================================================================================================================================================
E:\fengfeng\work_tools\MyJenkinsWorkSpace\workspace\ZTF-TestNg-Git>exit 1
Build step 'Execute Windows batch command' marked build as failure
Finished: FAILURE
The text was updated successfully, but these errors were encountered: