Help Center/ CodeArts Pipeline/ FAQs/ Troubleshooting/ Change-triggered Pipeline Fails to Run and an Error Message Is Returned: "authentication required"
Updated on 2024-10-12 GMT+08:00

Change-triggered Pipeline Fails to Run and an Error Message Is Returned: "authentication required"

Symptom

The CreateReleaseBranch job of the pipeline fails to be executed, and the message "authentication required" is displayed.

Root Cause

If you use an incorrect username or password when creating a CodeArts Repo HTTPS endpoint, this error will be reported.

Solution

  1. Log in to the Huawei Cloud console.
  2. Click in the upper left corner of the page, and choose Developer Services > CodeArts from the service list.
  3. Click Access Service to go to the CodeArts homepage.
  4. Click a project name to access the project.
  5. In the navigation pane, choose Settings > General > Service Endpoints.
  6. Find and edit the CodeArts Repo HTTPS endpoint associated with the change-triggered pipeline and check the username and password.

    1. Click the username in the upper right corner and click This Account Settings.
    2. Choose Repo > HTTPS Password to check the username and password.

    For more information, see Creating a Service Endpoint.

  7. Execute the change-triggered pipeline again.