我正在安装 Azure API 管理开发人员门户的开源版本。
我按照 wiki 链接 中提到的步骤,除了 wiki 链接中的第 3 点,因为 org.enterprise github 没有启用 github 操作,我认为他们将来也不会启用它,因为该组织使用詹金斯。
请协助使用 Jenkins 寻找第 3 步的解决方法,即关于如何让它工作的任何参考文档或任何其他选项以获得与第 3 点类似的操作。
无需 github 操作即可获得开源 Azure API 开发人员门户的替代方法。
作为工作流的一部分运行的实际命令在这里。您可以将它们放在脚本中并在任何选择的 CI/CD 平台上运行。
这里有具体的命令供参考
# Install node dependencies
npm install
# Run publish npm script
npm run publish
# Copy final assets (the following is an example if you are copying it for a nginx docker image as an example)
cp -r ./catalog/dist/website/* /usr/share/nginx/html/