@AspMaster

Почему не появляются файлы после gitlab ci/cd?

Воспользовался gitlab для доставки и развертывания проекта на Ubuntu. Написал следующий yml:
image: microsoft/dotnet:latest

stages:
    - publish

publish:
    stage: publish
    script:
        - "dotnet publish --configuration Release --output '/home/user/publish/test'"

GitLab обозначил, что все прошло успешно, но на сервере не появилось этих файлов. В чем может быть проблема?

Вот информация о выполнение в гит:
$ dotnet publish --configuration Release --output '/home/user/publish/test'
Microsoft (R) Build Engine version 15.9.20+g88f5fadfbe for .NET Core
Copyright (C) Microsoft Corporation. All rights reserved.

  Restoring packages for /builds/Saharman/testing/TestingTest/TestingTest.csproj...
  Installing Microsoft.IdentityModel.Logging 5.2.0.
  ...
  //установка различных пакетов
 ...
  Installing Microsoft.AspNetCore.SignalR 1.0.1.
  Installing Microsoft.AspNetCore.SpaServices.Extensions 2.1.1.
  Installing Microsoft.AspNetCore.Server.HttpSys 2.1.1.
  Installing Microsoft.AspNetCore.Mvc.Localization 2.1.1.
  Installing Microsoft.AspNetCore.ResponseCaching 2.1.1.
  Installing Microsoft.AspNetCore.Mvc.DataAnnotations 2.1.1.
  Installing Microsoft.AspNetCore.Mvc.Formatters.Xml 2.1.1.
  Installing Microsoft.AspNetCore.Owin 2.1.1.
  Installing Microsoft.AspNetCore.Mvc.Cors 2.1.1.
  Installing Microsoft.Extensions.Configuration.Xml 2.1.1.
  Generating MSBuild file /builds/SecretLogin/testing/TestingTest/obj/TestingTest.csproj.nuget.g.props.
  Generating MSBuild file /builds/SecretLogin/testing/TestingTest/obj/TestingTest.csproj.nuget.g.targets.
  Restore completed in 4.5 sec for /builds/SecretLogin/testing/TestingTest/TestingTest.csproj.
  TestingTest -> /builds/SecretLogin/testing/TestingTest/bin/Release/netcoreapp2.1/TestingTest.dll
  TestingTest -> /builds/SecretLogin/testing/TestingTest/bin/Release/netcoreapp2.1/TestingTest.Views.dll
  TestingTest -> /home/user/publish/test/
Job succeeded
  • Вопрос задан
  • 122 просмотра
Пригласить эксперта
Ваш ответ на вопрос

Войдите, чтобы написать ответ

Войти через центр авторизации
Похожие вопросы