directors-assistant/Jenkinsfile

22 lines
656 B
Plaintext
Raw Normal View History

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