- html - 出于某种原因,IE8 对我的 Sass 文件中继承的 html5 CSS 不友好?
- JMeter 在响应断言中使用 span 标签的问题
- html - 在 :hover and :active? 上具有不同效果的 CSS 动画
- html - 相对于居中的 html 内容固定的 CSS 重复背景?
我有一个 .bat 文件,它调用以下 gsutil 将文件推送到 Google Cloud:
python "C:\Program Files (x86)\gsutil\gsutil" -D -m cp -a public-read C:\Temp\MyMSI.msi gs://downloads-gs.mywebsite.com/binaries/myapplication/auto_installer/
这是我的输出(为了模糊起见更改了一些名称):
----------------------------------------------------------
Copy to google 11:02:33 AM 11:02:34 AM 00:00:00:479 Failed (Ignored)
Collapse Messages
Messages
Collapse
Executing external process: C:\Windows\system32\cmd.exe
Starting Directory: C:\BuildScripts
Parameters: /c "c:\buildscripts\push_goog.bat"
Collapse
Output from C:\Windows\system32\cmd.exe
The system cannot find the drive specified.
C:\BuildScripts>pushd c:\BuildScripts\
The system cannot find the drive specified.
Traceback (most recent call last):
File "C:\Program Files (x86)\gsutil\gsutil", line 67, in <module>
from gslib.util import UsingCrcmodExtension
File "C:\Program Files (x86)\gsutil\gslib\util.py", line 121, in <module>
os.path.join(CreateTrackerDirIfNeeded(), '.last_software_update_check'))
File "C:\Program Files (x86)\gsutil\gslib\util.py", line 108, in CreateTrackerDirIfNeeded
os.makedirs(tracker_dir)
File "C:\Python27\lib\os.py", line 150, in makedirs
makedirs(head, mode)
**C:\BuildScripts>python "C:\Program Files (x86)\gsutil\gsutil" -D -m cp -a public-read C:\Temp\MyMSI.msi gs://downloads-gs.mywebsite.com/binaries/myapplication/auto_installer/**
File "C:\Python27\lib\os.py", line 157, in makedirs
mkdir(name, mode)
WindowsError: [Error 3] The system cannot find the path specified: 'H:\\\\'
Program returned code : 1
它提到了一些关于 H:\\\\的内容,我们没有使用,也从未在 .bat 文件或 gsutil 的参数中提及。我不确定为什么它在从 FinalBuilder 应用程序运行时完美运行,然后在 FinalBuilder 网站运行相同的 FinalBuilder 应用程序文件但只是通过 FinalBuilder 服务器触发时出现此错误。
任何帮助都会很棒。
最佳答案
根本原因是您的主目录设置为无效位置。
作为解决方法,您可以更改 .boto
配置文件中的跟踪器目录。这是相关部分:
[GSUtil]
# 'resumable_tracker_dir' specifies the base location where resumable
# transfer tracker files are saved. By default they're in ~/.gsutil
#resumable_tracker_dir = <file path>
取消注释 resumable_tracker_dir
变量并将其设置为磁盘上确实存在的位置。
关于batch-file - 为什么此 gsutil 调用在 FinalBuilder 网站上不起作用,但在 FinalBuilder 应用程序中运行时有效?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/20247458/
我有一个 .bat 文件,它调用以下 gsutil 将文件推送到 Google Cloud: python "C:\Program Files (x86)\gsutil\gsutil" -D -m c
使用 FinalBuilder Server 进行持续集成时 - 运行一套单元测试并基于 FastMM 内存泄漏检查建立构建通过/失败的推荐方法是什么? 最佳答案 较新版本的 DUnit 可以选择链接
我向我的 FinalBuilder 项目添加了“执行 PowerShell 脚本”操作。手册说我可以使用以下语法访问 FinalBuilder 变量(在 Specify Script 区域中输入):
我正在运行 TeamCity Professional 4.5.3 和 FinalBuilder Pro 6; TeamCity 使用命令行任务运行 FinalBuilder 项目。 如何让 Fina
我想设置输出可执行文件InternalName类似的东西: ProgramName_build_300_rev_100_201303141324.exe 地点: 300 - 内部版本号 100 - 最
我们一直在使用 FinalBuilder 作为 Delphi 项目的持续集成服务器。 目前,我们的构建是从 subversion checkin 自动触发的,dUnit 测试在单元测试可执行文件构建后
我们有一个大型 Delphi 项目(150 万行代码),并且我们正在转向使用敏捷流程。 我们已经有了一个持续集成环境 (FinalBuilder),我已将其更新为在发给我们开发团队中每个人的电子邮件中
这个问题在这里已经有了答案: 关闭 12 年前。 Possible Duplicate: Continuous Integration stack on Windows with Mercurial
总结:使用 Scons 或 Foray (TCBuild) 可能会更好,因为它们可以解决 Fortran (Fortran 90) 依赖关系。 ============================
当我在 FinalBuilder 中构建应用程序时,显然是使用 dcc32.exe,GUI 看起来像 Windows XP 应用程序,但如果我在 IDE 中编译它,它看起来就像 Windows 7 程
我是一名优秀的程序员,十分优秀!