Developing Java Code in a Scrum Project
Before performing the following operations, ensure that your have permissions to create projects and log in to the CodeArts homepage. The following figure shows the process.
Quickly Creating a Project and a Code Repository
- Register a Huawei Cloud account and log in to the Huawei Cloud Console.
- Click in the upper left corner of the page, and choose Developer Services > CodeArts from the service list.
- Click Access Service to go to the CodeArts homepage.
- Click Create Project, select Scrum as the project template, and enter basic project information.
- In the navigation pane on the left, choose Code > Repo. Click New Repository, choose Template > Java Maven Demo, enter a Repository Name, select Initial Settings, and set Visibility to Private.
- Click OK. The code repository is created and the code page is displayed.
Quickly Creating a Branch and a Code File
Create a branch and a code file. The procedure is as follows:
- Click Branches. On the branch page of the code repository, click Create Branch, and enter the Branch Name to create a branch based on the master branch. The code homepage is displayed.
- Choose Create > Create File. The homepage of the Create File is displayed.
- Enter a file name and select java from the text template drop-down list box on the right of the file name. The code file is created and the file list is displayed.
Creating and Merging an MR
Create and merge an MR. The procedure is as follows:
- Click Create MR. The Create Merge Request page is displayed. Enter the Title for the MR.
- In the upper right corner of the page, click Merge to merge the request.
After the MR is merged, you can clone the latest master branch. You can see that all the latest modified files have been merged.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot