如何在 PowerShell 中使用 jfrog CLI 工具向 Artifactory 上传/下载?
因此,我在使用 PowerShell 在 Windows 下启动并运行 jf CLI 工具时遇到一些问题。我选择了通过 PowerShell 命令安装 jf CLI 工具的安装机制。 首先,我在配置服务器时遇到了很大的麻烦。无论如何,我通过导出 Linux 上的配置并将其导入 PowerShell 来解决了这个问题。
我的问题是,无论我做什么,我都会收到 RemoteException。当我尝试上传或下载文件时,例如使用以下命令: jf rt u my-source-folder/ my-rt-repository/
,我首先收到一个 RemoteException,然后是:
{
"status": "success"
"totals": {
"success": 0,
"failure": 0
}
}
我认为我使用 Linux 语法(适用于 Linux)做错了什么,但老实说,我不知道在哪里可以获得有关 PowerShell 命令的参考,因为 JFrog 网站是一堆垃圾。
我做错了什么?
So I'm having some issues to get the jf CLI tool up and running under Windows using PowerShell. I've opted for the install mechanism of installing the jf CLI tool via PowerShell command.
I had quite a bit of trouble configuring a server in the first place. Anyway, I solved it by exporting my configuration on Linux and importing it in PowerShell.
My problem is whatever I do, I receive a RemoteException. When I try to upload or download a file, for example by using this command:jf rt u my-source-folder/ my-rt-repository/
, I first receive a RemoteException followed by this:
{
"status": "success"
"totals": {
"success": 0,
"failure": 0
}
}
I assume I do something wrong, by using the Linux syntax (works on Linux), but I honestly don't know where to get a reference with PowerShell commands, since the JFrog website is a load of garbage.
What am I doing wrong?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论