You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
kind: pipeline
|
|
|
|
type: docker
|
|
|
|
name: CI_CONSECO
|
|
|
|
|
|
|
|
trigger :
|
|
|
|
event:
|
|
|
|
- push
|
|
|
|
|
|
|
|
steps:
|
|
|
|
- name: build
|
|
|
|
image: mcr.microsoft.com/dotnet/sdk:6.0
|
|
|
|
commands:
|
|
|
|
- cd Code
|
|
|
|
- dotnet restore CI_CONSECO.sln
|
|
|
|
- dotnet build CI_CONSECO.sln -c Release --no-restore
|
|
|
|
- dotnet publish CI_CONSECO.sln -c Release --no-restore -o CI_PROJECT_DIR/build/release
|
|
|
|
- name: tests
|
|
|
|
image: mcr.microsoft.com/dotnet/sdk:6.0
|
|
|
|
commands:
|
|
|
|
- cd Code
|
|
|
|
- dotnet restore CI_CONSECO.sln
|
|
|
|
- dotnet test CI_CONSECO.sln --no-restore
|
|
|
|
depends_on: [build]
|
|
|
|
- name: code-analysis
|
|
|
|
image: aosapps/drone-sonar-plugin
|
|
|
|
settings:
|
|
|
|
sonar_host:
|
|
|
|
from_secret: SonarConsEco
|
|
|
|
sonar_token:
|
|
|
|
from_secret: sqp_ffc02968e133d03daeb917e8c2e6f243a80d087a
|