Console Output

Started by user sunyufu
Obtained params/weihai-submodule.jenkinsfile from git http://159.27.226.4/weilikang/jenkinsfiles.git
Loading library jenkinslib@master
Attempting to resolve master from remote references...
 > git --version # timeout=10
 > git --version # 'git version 2.25.1'
using GIT_ASKPASS to set credentials gitlab_weilk
 > git ls-remote -h -- http://159.27.226.4/weilikang/jenkinslib.git # timeout=10
Found match: refs/heads/master revision 3c4b3bb7966f43147e6976664dcd8bc4ff3426b4
The recommended git tool is: NONE
using credential gitlab_weilk
 > git rev-parse --resolve-git-dir /var/lib/jenkins/workspace/weihai-submodule@libs/e94781a6efe9f09486b8ea226d2b758971618b049d1fe436de6265fac85ceea3/.git # timeout=10
Fetching changes from the remote Git repository
 > git config remote.origin.url http://159.27.226.4/weilikang/jenkinslib.git # timeout=10
Fetching without tags
Fetching upstream changes from http://159.27.226.4/weilikang/jenkinslib.git
 > git --version # timeout=10
 > git --version # 'git version 2.25.1'
using GIT_ASKPASS to set credentials gitlab_weilk
 > git fetch --no-tags --force --progress -- http://159.27.226.4/weilikang/jenkinslib.git +refs/heads/*:refs/remotes/origin/* # timeout=10
Checking out Revision 3c4b3bb7966f43147e6976664dcd8bc4ff3426b4 (master)
 > git config core.sparsecheckout # timeout=10
 > git checkout -f 3c4b3bb7966f43147e6976664dcd8bc4ff3426b4 # timeout=10
Commit message: "Update params.groovy"
 > git rev-list --no-walk 3c4b3bb7966f43147e6976664dcd8bc4ff3426b4 # timeout=10
[Pipeline] Start of Pipeline
[Pipeline] echo
system-node-weihai
[Pipeline] properties
[Pipeline] node
Running on Jenkins in /var/lib/jenkins/workspace/weihai-submodule
[Pipeline] {
[Pipeline] stage
[Pipeline] { (Declarative: Checkout SCM)
[Pipeline] checkout
The recommended git tool is: NONE
using credential gitlab_weilk
 > git rev-parse --resolve-git-dir /var/lib/jenkins/workspace/weihai-submodule/.git # timeout=10
Fetching changes from the remote Git repository
 > git config remote.origin.url http://159.27.226.4/weilikang/jenkinsfiles.git # timeout=10
Fetching upstream changes from http://159.27.226.4/weilikang/jenkinsfiles.git
 > git --version # timeout=10
 > git --version # 'git version 2.25.1'
using GIT_ASKPASS to set credentials gitlab_weilk
 > git fetch --tags --force --progress -- http://159.27.226.4/weilikang/jenkinsfiles.git +refs/heads/*:refs/remotes/origin/* # timeout=10
 > git rev-parse refs/remotes/origin/master^{commit} # timeout=10
Checking out Revision 246f66412d7960da76895956ddcc3e79513c3d55 (refs/remotes/origin/master)
 > git config core.sparsecheckout # timeout=10
 > git checkout -f 246f66412d7960da76895956ddcc3e79513c3d55 # timeout=10
Commit message: "Update system-libraries.jenkinsfile"
 > git rev-list --no-walk 246f66412d7960da76895956ddcc3e79513c3d55 # timeout=10
[Pipeline] }
[Pipeline] // stage
[Pipeline] withEnv
[Pipeline] {
[Pipeline] withEnv
[Pipeline] {
[Pipeline] lock
Trying to acquire lock on [Label: built-in, Quantity: 1]
Lock acquired on [Label: built-in, Quantity: 1]
[Pipeline] {
[Pipeline] timeout
Timeout set to expire in 1 hr 0 min
[Pipeline] {
[Pipeline] stage
[Pipeline] { (checkout)
[Pipeline] script
[Pipeline] {
[Pipeline] ansiColor
[Pipeline] {
[Pipeline] echo >>>>>>>>>>################################# 更新车辆参数: [] ###############################>>>>>>>>>> [Pipeline] }
[Pipeline] // ansiColor [Pipeline] fileExists [Pipeline] sh + rm -rf /root/workspace/params-submodule/weihai-submodule//master/params /root/workspace/params-submodule/weihai-submodule//master/params_submodule [Pipeline] sh + mkdir -p /root/workspace/params-submodule/weihai-submodule//master/params [Pipeline] sh + mkdir -p /root/workspace/params-submodule/weihai-submodule//master/params_submodule [Pipeline] echo -------------------------- 更新参数,设备类型master -------------------------- [Pipeline] dir Running in /root/workspace/params-submodule/weihai-submodule/master/params_submodule [Pipeline] { [Pipeline] echo rc_dev,master,main,null [Pipeline] checkout The recommended git tool is: NONE using credential gitlab_ota Cloning the remote Git repository Using shallow clone with depth 1 Cloning repository null > git init /root/workspace/params-submodule/weihai-submodule/master/params_submodule # timeout=10 Fetching upstream changes from null > git --version # timeout=10 > git --version # 'git version 2.25.1' > git config --get remote.null.url # timeout=10 ERROR: Error cloning remote repo 'origin' hudson.plugins.git.GitException: Command "git config --get remote.null.url" returned status code 1: stdout: stderr: at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(CliGitAPIImpl.java:2671) at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(CliGitAPIImpl.java:2601) at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(CliGitAPIImpl.java:2597) at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommand(CliGitAPIImpl.java:1968) at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommand(CliGitAPIImpl.java:1980) at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.getRemoteUrl(CliGitAPIImpl.java:1587) at hudson.plugins.git.GitAPI.getRemoteUrl(GitAPI.java:99) at org.jenkinsci.plugins.gitclient.CliGitAPIImpl$1.execute(CliGitAPIImpl.java:612) at org.jenkinsci.plugins.gitclient.CliGitAPIImpl$2.execute(CliGitAPIImpl.java:847) at hudson.plugins.git.GitSCM.retrieveChanges(GitSCM.java:1216) at hudson.plugins.git.GitSCM.checkout(GitSCM.java:1294) at org.jenkinsci.plugins.workflow.steps.scm.SCMStep.checkout(SCMStep.java:129) at org.jenkinsci.plugins.workflow.steps.scm.SCMStep$StepExecutionImpl.run(SCMStep.java:97) at org.jenkinsci.plugins.workflow.steps.scm.SCMStep$StepExecutionImpl.run(SCMStep.java:84) at org.jenkinsci.plugins.workflow.steps.SynchronousNonBlockingStepExecution.lambda$start$0(SynchronousNonBlockingStepExecution.java:47) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) at java.lang.Thread.run(Thread.java:748) [Pipeline] } [Pipeline] // dir [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (getInfo & merge) Stage "getInfo & merge" skipped due to earlier failure(s) [Pipeline] parallel [Pipeline] { (Branch: version&dingtalk) [Pipeline] { (Branch: merge) [Pipeline] stage [Pipeline] { (version&dingtalk) [Pipeline] stage [Pipeline] { (merge) Stage "version&dingtalk" skipped due to earlier failure(s) [Pipeline] } Stage "merge" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] // stage [Pipeline] } Failed in branch version&dingtalk [Pipeline] } Failed in branch merge [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (zip->post) Stage "zip->post" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] script [Pipeline] { [Pipeline] echo always [Pipeline] } [Pipeline] // script [Pipeline] script [Pipeline] { [Pipeline] echo failure: checkout [Pipeline] wrap [Pipeline] { [Pipeline] script [Pipeline] { [Pipeline] echo user: , telphone: [Pipeline] } [Pipeline] // script [Pipeline] sh + curl -X POST 'https://oapi.dingtalk.com/robot/send?access_token=0e635ba9c724e48482d5e4146087ccb44e6b324d34f5e351b80db04fcf41017a' -H 'Content-Type: application/json' -d '{"msgtype": "markdown","markdown": {"title":"Jenkins通知","text": "# 版本编译失败 ### [威海港车辆参数] --- - 任务名: [weihai-submodule] - 任务号:# 33 - 阶段:checkout - 状态:<font color=#FF5151> 编译失败 </font> - 执行人:sunyufu --- > 请检查失败原因 @"},"at": {"atMobiles": [""],"isAtAll": "false"} }' % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 412 100 27 100 385 209 2984 --:--:-- --:--:-- --:--:-- 3193 [Pipeline] echo {"errcode":0,"errmsg":"ok"} [Pipeline] } [Pipeline] // wrap [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // timeout [Pipeline] } Lock released on resource [Label: built-in, Quantity: 1] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // node [Pipeline] End of Pipeline ERROR: Error cloning remote repo 'origin' Finished: FAILURE