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

推荐订阅源

H
Help Net Security
大猫的无限游戏
大猫的无限游戏
雷峰网
雷峰网
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
博客园 - 聂微东
V
Visual Studio Blog
爱范儿
爱范儿
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
美团技术团队
有赞技术团队
有赞技术团队
云风的 BLOG
云风的 BLOG
Google DeepMind News
Google DeepMind News
Blog — PlanetScale
Blog — PlanetScale
The Cloudflare Blog
Engineering at Meta
Engineering at Meta
博客园 - 三生石上(FineUI控件)
WordPress大学
WordPress大学
Vercel News
Vercel News
F
Fortinet All Blogs
Last Week in AI
Last Week in AI
M
MIT News - Artificial intelligence
小众软件
小众软件
月光博客
月光博客
A
About on SuperTechFans

Jenkins - 分类 - cywhat's blog

Jenkins端口修改之后没有生效 Jenkins添加html报告并发送到邮箱 Jenkins插件无法安装解决 Jenkins启动报错原因分析
Jenkins报错 Bash:newman:command Not Found
cywhat · 2022-11-15 · via Jenkins - 分类 - 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

关注一下再走吧

公众号 小程序

赞赏支持

微信打赏 支付宝打赏