json - 通过 ssh jenkins 执行 aws 命令的问题
问题描述
早上好你好吗?
我在我的詹金斯中通过 ssh 执行一次执行有问题。
之前出现的那些字符并没有出现,我们也没有在节点中改变任何东西..
我们使用的代码是:
withCredentials([usernamePassword(credentialsId: 'id', passwordVariable: 'pass', usernameVariable: 'user')]) {
def remote = [:]
remote.name = 'id_nme'
remote.host = 'ip_node'
remote.user = user
remote.password = pass
remote.allowAnyHosts = true
remote.timeoutSec = 300
sshCommand remote: remote, command: "aws autoscaling describe-auto-scaling-groups --auto-scaling-group-name [name_asg]"
}
启动命令时,作业被卡住并且没有进展。
解决方案
推荐阅读
- rust - 从 ZIP 存档打开单个文件并作为读取实例传递
- flutter - Flutter - Listview 在另一个小部件后面滚动
- r - R - 无法替换字符串中无法识别的转义符号“\&”
- sql - REDSHIFT:SIZE 低于 65K 但“错误:结果大小超过 LISTAGG 限制代码:8001”
- java - 无法使用本地 Maven 依赖项目中的类
- python-3.x - 为什么我从 python 调用 swagger APi 收到错误的请求?
- python - Python Pandas 计算值并创建摘要数据框
- python - 我可以为 Django 模板使用我自己的文件扩展名并仍然包含 django.contrib.auth.urls 吗?
- arrays - 我正在尝试使用选择排序算法在 python 中对这个数组进行排序,但它没有给出所需的输出。我究竟做错了什么?
- iis - IIS 限制对单独文件的访问