2

我对 BlueOcean 非常陌生,尝试打开管道编辑器时出现以下错误:

从此存储库中的 Jenkinsfile 加载管道时出错。通过使用声明性语法编辑 Jenkinsfile 来更正错误,然后将其提交回存储库。

无法读取未定义的属性“indexOf”

詹金斯文件

pipeline {
   agent any

   stages {
      stage('Build') {
        steps {
            echo 'Building..'
        }
    }
    stage('Test') {
        steps {
            echo 'Testing..'
        }
    }
    stage('Deploy') {
        steps {
            echo 'Deploying....'
        }
     }
  }
}

错误截图 -

错误

4

0 回答 0