我正在开发 Jenkins 应用程序和管道,以测试 Apex 代码并将其从 Bitbucket 存储库部署到 Salesforce。到目前为止,我已经成功地将我的存储库与我的 Jenkins 环境进行了通信。我的 Jenkins 实例在我公司笔记本电脑的 Windows 10 上运行,我已完成本指南中的最后步骤: https: //medium.com/@r.kurchenko/setup-continuous-integration-based-on-salesforcedx- c9f461c4db03
我现在试图处理的问题是,在推送到我的存储库时,尽管管道启动了,但它甚至没有进入构建步骤,并给出以下错误消息:
Started by an SCM change
Started by an SCM change
Running as SYSTEM
Building in workspace C:\JenkinsHome\workspace\sfdx-ci-force-push-build
The recommended git tool is: NONE
No credentials specified
> git.exe rev-parse --resolve-git-dir C:\JenkinsHome\workspace\sfdx-ci-force-push-build\.git # timeout=10
Fetching changes from the remote Git repository
> git.exe config remote.origin.url {repositoryURL} # timeout=10
Fetching upstream changes from {repositoryURL}
> git.exe --version # timeout=10
> git --version # …Run Code Online (Sandbox Code Playgroud)