directors-assistant/Jenkinsfile

25 lines
668 B
Plaintext
Raw Normal View History

pipeline {
agent any
tools {
dotnetsdk 'dotnet6'
}
stages {
stage('clean old'){
steps{
sh 'rm -rf bin obj'
}
}
stage('linux') {
steps {
sh 'dotnet publish --configuration Release --os linux'
2022-12-14 18:05:13 -05:00
archiveArtifacts artifacts: '/bin/Release/net/net6.0/linux-x64/publish/*.*'
}
}
stage('windows') {
steps {
sh 'dotnet publish --configuration Release --os windows'
2022-12-14 18:05:13 -05:00
archiveArtifacts artifacts: '/bin/Release/net/net6.0/windows-x64/publish/*.*'
}
}
}
}