You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

Bitbucket Pipeline在Windows自托管运行器执行简单命令失败求助

Windows自托管Bitbucket Pipeline执行简单命令始终失败

我在Windows自托管运行器上使用Bitbucket Pipeline,已经把构建步骤简化到只执行echo $env:SOLUTION_NAME,但每次执行都失败。尝试在脚本末尾添加exit 0后问题依旧,至今从未成功完成过一次构建。

我的Pipeline配置代码如下:

pipelines:
  default:
    - step:
        runs-on:
          - self.hosted
          - windows
        name: Lint the code
        caches:
          - dotnetcore
        script:              
          - echo $env:SOLUTION_NAME

相关报错截图:
报错截图1
报错截图2

内容的提问来源于stack exchange,提问作者chris crowe

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.06.27 22:44:50