Mise à jour de '.drone.yml'
continuous-integration/drone/push Build encountered an error Details

pull/7/head^2
Leni BEAULATON 3 weeks ago
parent c13a864252
commit 4520ecbe0d

@ -1,32 +1,32 @@
kind: pipeline #kind: pipeline
type: docker #type: docker
name: CI_ApiPm #name: CI_ApiPm
trigger: #trigger:
event: # event:
- push # - push
branch: # branch:
exclude: # exclude:
- master # - master
steps: #steps:
- name: retore & build # - name: retore & build
image: mcr.microsoft.com/dotnet/sdk:8.0 # image: mcr.microsoft.com/dotnet/sdk:8.0
commands: # commands:
- dotnet build WF_EF_Api/WF_EF_Api.sln --configuration Release # - dotnet build WF_EF_Api/WF_EF_Api.sln --configuration Release
depend_on: [clone] # depend_on: [clone]
- name: test # - name: test
image: mcr.microsoft.com/dotnet/sdk:8.0 # image: mcr.microsoft.com/dotnet/sdk:8.0
commands: # commands:
- dotnet test WF_EF_Api/XUnitTest/XUnitTest.csproj # - dotnet test WF_EF_Api/XUnitTest/XUnitTest.csproj
depends_on: [retore & build] # depends_on: [retore & build]
- name: publish # - name: publish
image: mcr.microsoft.com/dotnet/sdk:8.0 # image: mcr.microsoft.com/dotnet/sdk:8.0
commands: # commands:
- dotnet publish WF_EF_Api/WfApi/WfApi.csproj -c Release -o out # - dotnet publish WF_EF_Api/WfApi/WfApi.csproj -c Release -o out
depends_on: [retore & build, test] # depends_on: [retore & build, test]
--- ---

Loading…
Cancel
Save