Category: GitLab
-
Post Views: 15 1. In GitLab, the last commit ID of multiple tags is the same. as shown in Figure 1 2. In Jenkins, set the tag name of the build: pcs_api_1.13.5.0_base. as shown in Figure 2 3. However, the tag name included in the final image name: pcs_api_1.13.5.0. Not in line with expectations (not equal to settings). as shown…
-
Post Views: 49 1. Force push on GitLab, and report an error: Remote GitLab you are not allowed to push code to a protected branch on this project. as shown in Figure 1 2. Check GitLab – Members – Existing Members and Groups. Master, in theory, has permissions. as shown in Figure 2 3. Repository settings – protected branches –…
-
Post Views: 16 1. Edit .gitignore and add /vendor to the git warehouse, as shown in Figure 1 2. Failed to build in Jenkins, check Console output. as shown in Figure 2 3. Docker deployment, delete the composer install. Edit Dockerfile. as shown in Figure 3 4. Build successfully in Jenkins. as shown in Figure 4 5. Failed to start…
-
Post Views: 55 1. Reference website: https://www.shuijingwanwq.com/en/2020/04/09/9889/ , adjust the group and name of the project in gitlab. 2. After configuring in jenkins, an error is reported: repositoryhttps://gitlab.chinamcloud.com/pcs/pcs_api.git/not found, as shown in Figure 1 3. The user list under the analysis group PHP, there is a user: JenkinsIntegration, as shown in Figure 2 4. In the user list under the…
-
Post Views: 47 1. The group of the existing project and its names are: PHP, PCS-API, as shown in Figure 1 2. In settings -> general -> advanced settings, the php in the path is not allowed to be modified, as shown in Figure 2 3. In Settings -> General -> Export Project, export the project and all related data,…
-
Post Views: 17 1. When pushing based on TortoiseGit, prompt: The input source reference is not clear, as shown in Figure 1 2. Analyze the reason, it is that there are branches and labels with the same name at the same time, the name is: fixbug-1.3.26-alpha.3, as shown in Figure 2 3. According to the prompt, add refs/heads/ as the…
-
Post Views: 13 1. On the develop branch in the local environment, execute the console command and report an error: as shown in Figure 1 2. Since this bug has been fixed in a single commit (EE8290) on the feature-netease branch, as shown in Figure 2 Therefore, it is decided to merge a single commit (EE8290) on the develop branch…
-
Post Views: 16 1. View the commit on the develop branch on GitLab, as shown in Figure 1 2. View the commit on the wx-auth branch on gitlab, as shown in Figure 2 3. In the local repository, switch to the develop branch, right-click, and TortoiseGit -> Merge, as shown in Figure 3 4. From the remotes/origin/wx-auth branch (why the…
-
Post Views: 14 1. In the submission of a developer, there is a conflicting file, and the conflict is forced to submit, as shown in Figure 1 2. Decide to delete several possible conflicting files to delete, and reset the version to the latest valid submission, as shown in Figure 2 3. Select hard reset, and discard all subsequent commits…