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?


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.

  • 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

  • User Avatar
    0
    epieters created

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

  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    hi

    Can you try to add --old?

    abp login maliming -p *** --old

  • 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

  • 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.

  • User Avatar
    0
    epieters created

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

  • 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.

  • User Avatar
    0
    epieters created

    Thanks, that will work for us ;-)

  • 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. : )

Boost Your Development
ABP Live Training
Packages
See Trainings
Mastering ABP Framework Book
Do you need assistance from an ABP expert?
Schedule a Meeting
Mastering ABP Framework Book
The Official Guide
Mastering
ABP Framework
Learn More
Mastering ABP Framework Book
Made with ❤️ on ABP v9.3.0-preview. Updated on April 16, 2025, 12:13