Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在尝试在我的 Jenkins 构建中加载一个 .so 文件(本机库)。我相信原生库都是通过 java.library.path 读取的。我可以为特定的 Jenkins 项目添加路径吗?
找到了答案 - 您可以在 Jenkins 设置中编辑 java 命令行参数。刚刚将 -Djava.library.path= 添加到参数中。