为什么都没了

This commit is contained in:
路 范
2021-09-24 12:59:34 +08:00
parent a975b3bdee
commit a66921f0f4
962 changed files with 252792 additions and 0 deletions

29
framework/Jenkinsfile vendored Normal file
View File

@@ -0,0 +1,29 @@
pipeline {
agent any
stages {
stage('Build') {
steps {
echo 'StartBuild'
sh 'dotnet restore Api/Ewide.Web.Entry/Ewide.Web.Entry.csproj'
sh 'dotnet clean Api/Ewide.Web.Entry/Ewide.Web.Entry.csproj'
writeFile(file: 'Api/Ewide.EntityFramework.Core/dbsettings.Development.json', text: '{}')
sh 'dotnet build Api/Ewide.Web.Entry/Ewide.Web.Entry.csproj'
}
}
stage('Test') {
steps {
echo 'Start Test'
sh 'dotnet test Api/Ewide.Test/Ewide.Test.csproj'
}
}
stage('Publish') {
steps {
echo 'StartPublish'
sh 'dotnet publish Api/Ewide.Web.Entry/Ewide.Web.Entry.csproj -c Release'
}
}
}
}