directors-assistant/Jenkinsfile
Adam R Grey 53c0c8d3fb
Some checks failed
gitea/directors-assistant/pipeline/head There was a failure building this commit
no no, one MORE jenkinsfile update
2023-12-03 23:19:40 -05:00

28 lines
936 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('pi') {
steps {
sh 'dotnet publish directors-assistant.csproj --configuration Release --runtime linux-arm64 --self-contained'
archiveArtifacts artifacts: 'bin/Release/net7.0/linux-armx64/publish/*'
}
}
stage('windows') {
steps {
sh 'dotnet publish directors-assistant.csproj --configuration Release --os win'
archiveArtifacts artifacts: 'bin/Release/net7.0/win-x64/publish/*.*'
}
}
}
}