This documentation is for a release that is no longer maintained
See documentation for the latest supported version 3 or the latest supported version 4.6.3.9. JBoss EAP
设置新的 GitHub 存储库,并将它作为远程分支添加到当前本地 Git 存储库:
git remote add <remote-name> https://github.com/<github-id>/<repo-name>
$ git remote add <remote-name> https://github.com/<github-id>/<repo-name>
Copy to Clipboard Copied! Toggle word wrap Toggle overflow 将本地 v2 源代码推送到新存储库:
git push -u <remote-name> master
$ git push -u <remote-name> master
Copy to Clipboard Copied! Toggle word wrap Toggle overflow - 如果存储库包含预构建的 .war 文件,它们需要驻留在存储库的根目录的 deployments 目录中。
使用 JBoss EAP 7 构建器镜像(jboss-eap70-openshift)和来自 GitHub 的源代码存储库创建新应用:
oc new-app --strategy=source jboss-eap70-openshift:1.6~https://github.com/<github-id>/<repo-name>.git
$ oc new-app --strategy=source jboss-eap70-openshift:1.6~https://github.com/<github-id>/<repo-name>.git
Copy to Clipboard Copied! Toggle word wrap Toggle overflow