< img height="1" width="1" style="display:none;" alt="" src="https://px.ads.linkedin.com/collect/?pid=3131724&fmt=gif" />

Log in to Jenkins Dashboard

Jenkins dashboard is installed by default when you install DevOps.

Prerequisites

KubeSphere platform needs to have the DevOps extension installed and enabled.

Steps

  1. Check the service corresponding to the Jenkins dashboard, then refer to Access a Service to access Jenkins dashboard.

    kubectl -n kubesphere-devops-system get svc devops-jenkins
  2. Get the username and password for Jenkins admin.

    kubectl -n kubesphere-devops-system get secret devops-jenkins -o yaml

    Sample output:

    data:
      jenkins-admin-password: aXMxZno1Z3lnQWFTaGRIU2EwUDZkbg==
      jenkins-admin-token: MTE5NTQ4NDY3MTE4MDQ4ODAzMDI1MTc3MDk1OTUwNTM2MQ==
      jenkins-admin-user: YWRtaW4=

    Decode the base64 encoded jenkins-admin-user and jenkins-admin-password to get the username and password for Jenkins admin.

  3. Use the obtained username and password to log in to Jenkins dashboard.

Note

To log in to Jenkins dashboard through LDAP or OpenID Connect, please refer to the instructions on the details page of DevOps extension in Extensions Center.

Receive the latest news, articles and updates from KubeSphere


Thanks for the feedback. If you have a specific question about how to use KubeSphere, ask it on Slack. Open an issue in the GitHub repo if you want to report a problem or suggest an improvement.

What’s on this Page