我已经在我的Git库中创建了一个Jenkinsfile,它的定义如下: pipeline {
//None parameter in the agent section means that no global agent will be allocated for the entire Pipeline’s
//execution and that each stage directive must specify its own agent section.
agent none
stages {
stage('Build') {
我正在尝试使用管道来运行一些东西,当我开始运行我的管道时,它无法登录到docker。 奇怪的是,我可以登录到机器本身,但当我运行管道时,is失败了,出现了这个奇怪的错误: Started by user admin
Running in Durability level: MAX_SURVIVABILITY
[Pipeline] Start of Pipeline
[Pipeline] stage
[Pipeline] { (Front-end)
[Pipeline] node
Running on test-env in /var/www/test-env/workspace/client
我在Jenkins中使用Kubernetes Cloud服务器运行管道时出错。
在我得到Cannot contact nodejs-rn5f3: hudson.remoting.ChannelClosedException: Channel "hudson.remoting.Channel@3b1e0041:nodejs-rn5f3": Remote call on nodejs-rn5f3 failed. The channel is closing down or has closed down的npm install之前,一切都很正常
如何修复此错误?
以下是我的日志: