directors-assistant/Jenkinsfile
Adam R Grey e70519a5e8
All checks were successful
gitea/directors-assistant/pipeline/head This commit looks good
one more
because the linux one has no file extension (:
2023-12-03 22:24:10 -05:00

22 lines
656 B
Groovy

pipeline {
agent any
stages {
stage('clean old'){
steps{
sh 'rm -rf bin obj'
}
}
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 win'
archiveArtifacts artifacts: 'bin/Release/net7.0/win-x64/publish/*.*'
}
}
}
}