Open Closed

abp login as part of CI/CD process #9065


User avatar
0
epieters created

We are having ABP Commercial and are migrating from 8.2 to 9.1 As part of our CI/CD process in Azure Devops we were running:

  1. abp login $(abpUser) -p $(abpPassword)
  2. abp install-libs

But with the new version of the cli, it's no longer possible to use <user> and <password> on the commandline for abp login. Hence our CI/CD process is blocked.

Is there a solution for this problem?

Markdown supported.
Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)

10 Answer(s)
  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    hi

    it's no longer possible to use <user> and <password> on the commandline for abp login.

    Why? do you get an error?

    Thanks.

    Markdown supported.
    Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)
  • User Avatar
    0
    epieters created

    I'm getting a message saying that I need to open the browser to login, but since this jobrunner is a standard devops agent, that is not possible

    Markdown supported.
    Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)
  • User Avatar
    0
    epieters created

    Also tried with the --old switch, but that resulted in an error as well

    Markdown supported.
    Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)
  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    hi

    Can you try to add --old?

    abp login maliming -p *** --old

    Markdown supported.
    Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)
  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    hi

    Please try to install the old CLI version in advance in your pipeline.

    dotnet tool install --global Volo.Abp.Cli --version 9.1.1

    Markdown supported.
    Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)
  • User Avatar
    0
    epieters created

    See my answer above.

    This works for the moment: dotnet tool install -g Volo.Abp.Cli As it installs the latest (old) CLI.

    Markdown supported.
    Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)
  • User Avatar
    0
    epieters created

    Will you continue to support the old CLI? Or is this something that will disappear?

    Markdown supported.
    Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)
  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    hi

    We will add password login in the new CLI. Before that, you can use the old CLI.

    Markdown supported.
    Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)
  • User Avatar
    0
    epieters created

    Thanks, that will work for us ;-)

    Markdown supported.
    Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)
  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    We will add password login in the next studio CLI.

    abp login maliming -p *** --password

    Thanks. : )

    Markdown supported.
    Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)
Boost Your Development
ABP Live Training
Packages
See Trainings
Mastering ABP Framework Book
The Official Guide
Mastering
ABP Framework
Learn More
Mastering ABP Framework Book
Made with ❤️ on ABP v10.8.0-preview. Updated on September 16, 2026, 14:50
1
ABP Assistant
🔐 You need to be logged in to use the chatbot. Please log in first.