Adam R Grey
805b0cc476
Some checks failed
gitea/directors-assistant/pipeline/head There was a failure building this commit
23 lines
692 B
Groovy
23 lines
692 B
Groovy
pipeline {
|
|
agent any
|
|
stages {
|
|
stage('clean old'){
|
|
steps{
|
|
sh 'rm -rf bin obj'
|
|
cleanWs()
|
|
}
|
|
}
|
|
stage('linux') {
|
|
steps {
|
|
sh 'dotnet publish directors-assistant.csproj --configuration Release --os linux'
|
|
archiveArtifacts artifacts: 'bin/Release/net7.0/linux-x64/publish/*.*'
|
|
}
|
|
}
|
|
stage('windows') {
|
|
steps {
|
|
sh 'dotnet publish directors-assistant.csproj --configuration Release --os windows'
|
|
archiveArtifacts artifacts: 'bin/Release/net7.0/windows-x64/publish/*.*'
|
|
}
|
|
}
|
|
}
|
|
} |