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

推荐订阅源

OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
L
LangChain Blog
WordPress大学
WordPress大学
MyScale Blog
MyScale Blog
The Cloudflare Blog
J
Java Code Geeks
Google DeepMind News
Google DeepMind News
Recent Announcements
Recent Announcements
Microsoft Azure Blog
Microsoft Azure Blog
Y
Y Combinator Blog
有赞技术团队
有赞技术团队
Last Week in AI
Last Week in AI
酷 壳 – CoolShell
酷 壳 – CoolShell
Martin Fowler
Martin Fowler
小众软件
小众软件
量子位
月光博客
月光博客
P
Proofpoint News Feed
IT之家
IT之家
腾讯CDC
博客园 - 三生石上(FineUI控件)
博客园 - 司徒正美
雷峰网
雷峰网
V
Visual Studio Blog

Newman - 标签 - cywhat's blog

Linux安装newman生成postman脚本报告 newman生成好看的html报告 Linux/macos安装newman
Jenkins报错 Bash:newman:command Not Found
cywhat · 2022-11-15 · via Newman - 标签 - 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

关注一下再走吧

公众号 小程序

赞赏支持

微信打赏 支付宝打赏