惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

F
Fortinet All Blogs
小众软件
小众软件
大猫的无限游戏
大猫的无限游戏
B
Blog RSS Feed
WordPress大学
WordPress大学
A
About on SuperTechFans
Apple Machine Learning Research
Apple Machine Learning Research
博客园 - 司徒正美
I
InfoQ
MyScale Blog
MyScale Blog
量子位
博客园 - 【当耐特】
M
MIT News - Artificial intelligence
H
Hackread – Cybersecurity News, Data Breaches, AI and More
博客园 - 三生石上(FineUI控件)
博客园 - 聂微东
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
博客园 - 叶小钗
J
Java Code Geeks
L
LangChain Blog
T
The Blog of Author Tim Ferriss
有赞技术团队
有赞技术团队
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
阮一峰的网络日志
阮一峰的网络日志

Linux - 标签 - cywhat's blog

Linux生成自定义名称的ssh证书 Jmeter进行分布式压测 Linux卸载RabbitMQ Linux安装RabbitMQ Jenkins端口修改之后没有生效 Pkg_resources.DistributionNotFound:The Supervisor==3.4 Jenkins添加html报告并发送到邮箱 Jenkins插件无法安装解决 Linux安装newman生成postman脚本报告
Jenkins报错 Bash:newman:command Not Found
cywhat · 2022-11-15 · via Linux - 标签 - cywhat's blog

   约 169 字  预计阅读 1 分钟    次阅读     条评论

目录

1、报错查看

1
2
3
# 报错如下:
bash: newman: command not found
Build step 'Execute shell' marked build as failure

2、原因分析

1
2
3
4
5
1、Linux环境变量配置没问题

2、Linux中任意位置都可以执行

3、jenkins构建报错not found

3、问题解决1

1
检查jenkins的全局配置是否和linux中的环境变量版本是否一致

4、问题解决2(90%可以解决)

1
2
3
4
# 软链接配置
ln -s /usr/local/node/bin/npm  /usr/bin/npm
ln -s /usr/local/node/bin/newman  /usr/bin/newman
ln -s /usr/local/node/bin/node  /usr/bin/node

关注一下再走吧

公众号 小程序

赞赏支持

微信打赏 支付宝打赏