From a Project Template
Using a project template, you can quickly create a project with predefined and populated artifacts, such as Git repositories and build jobs. When you create a project from a project template, the defined artifacts of the project template are copied to the new project. If you don’t want to use a copied artifact, you can delete it. Note that after you create a project from a template, updates made to the project template won’t be reflected in the project you created.
These types of project templates are available:
Project Template | Description |
---|---|
Public templates |
The VB Studio team creates and manages the public templates. They are available to all users across all identity domains and are marked by a Public Template label. |
Shared templates |
Your organization users create and manage shared templates. They are listed by name and are available to all users of the organization. |
Private templates |
Not listed by name to general users, but accessible through their private keys. To create a project from a private project template, you must have its private key. Private templates are visible by name only to the members of the project template. |
- On the Organization page, click + Create.
- In the New Project wizard's Project Details
dialog:
- Click Next.
- In the Template dialog, select the project template and
then click Next:
- To create a project for a visual application, select the Visual Application template and follow the instructions in the next step.
- To create a project for an extension, select the
Application Extension template and follow the instructions in the next step.
Note:
Instead of creating a project using the template, you should click the Open in Visual Builder Studio icon (or link) in the Oracle Cloud Application you are extending and follow the steps in the New App Extension wizard.
- To create a project from a private template, select Private Template, and follow the instructions in the next step.
- In the Project Properties dialog:
- If you previously selected the Visual Application
template, enter the Git Repository Name, select the Development VB Instance
and Visual Application template, and enter the Workspace Name and Working
Branch Name.
Description of the illustration project-properties-visapp.png
- If you previously selected the Application
Extension template, enter the Extension Name, Extension Id,
and Workspace Name, select the Oracle Cloud Applications Development
Instance and Base Application, and enter the Git Repository Name and Working
Branch Name.
Description of the illustration project-properties-appext.png
- If you previously selected Private Template, in
the Private Template Selection dialog, enter the
private key in Private Key.
Description of the illustration project-properties-private.png
- If you previously selected the Visual Application
template, enter the Git Repository Name, select the Development VB Instance
and Visual Application template, and enter the Workspace Name and Working
Branch Name.
- Click Next.
- In the Team dialog:
- Click Finish.
In the new project, these artifacts are copied from the project template:
Artifacts | Description |
---|---|
Git repositories |
The project template's defined Git repositories are copied to the new project. You can use the copied Git repositories and modify their files, or delete them. In the left navigator, click Git to view the copied Git repositories. |
Build jobs and pipelines |
All the project template's build jobs and pipelines are copied to the new project. You can change these jobs, create their copies, or delete them. In the left navigator, click Builds to view the copied jobs and pipelines. |
Wiki pages |
All the project template's wiki pages are copied to the new project. You can change the wiki pages or delete them. In the left navigator, click Wiki to see the copied wiki pages. |
Announcements |
All the project template's active project announcements are copied to the new project. You can’t edit the copied announcements since they are read-only, but you can activate or deactivate them. In the left navigator, click Project Administration , and then click Announcements to activate or deactivate them. |
Links |
All the project template's link rules are copied to the new project. Link rules enable you to convert plain text to links when the text is entered in the commit and merge request comments. In the left navigator, click Project Administration and then click Links to see the copied link rules. |