directors-assistant/Jenkinsfile

23 lines
692 B
Plaintext
Raw Normal View History

pipeline {
agent any
stages {
stage('clean old'){
steps{
sh 'rm -rf bin obj'
2023-12-03 22:09:29 -05:00
cleanWs()
}
}
stage('linux') {
steps {
2023-12-03 22:11:15 -05:00
sh 'dotnet publish directors-assistant.csproj --configuration Release --os linux'
2023-03-08 17:30:10 -05:00
archiveArtifacts artifacts: 'bin/Release/net7.0/linux-x64/publish/*.*'
}
}
stage('windows') {
steps {
2023-12-03 22:11:15 -05:00
sh 'dotnet publish directors-assistant.csproj --configuration Release --os windows'
2023-03-08 17:30:10 -05:00
archiveArtifacts artifacts: 'bin/Release/net7.0/windows-x64/publish/*.*'
}
}
}
}