2022-11-30 16:30:11 -05:00
|
|
|
pipeline {
|
|
|
|
agent any
|
|
|
|
stages {
|
2022-12-14 18:02:14 -05:00
|
|
|
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'
|
2023-12-03 22:24:10 -05:00
|
|
|
archiveArtifacts artifacts: 'bin/Release/net7.0/linux-x64/publish/*'
|
2022-12-14 18:02:14 -05:00
|
|
|
}
|
|
|
|
}
|
2023-12-03 23:16:51 -05:00
|
|
|
stage('pi') {
|
|
|
|
steps {
|
|
|
|
sh 'dotnet publish directors-assistant.csproj --configuration Release --runtime linux-arm64 --self-contained'
|
2023-12-03 23:19:40 -05:00
|
|
|
archiveArtifacts artifacts: 'bin/Release/net7.0/linux-armx64/publish/*'
|
2023-12-03 23:16:51 -05:00
|
|
|
}
|
|
|
|
}
|
2022-12-14 18:02:14 -05:00
|
|
|
stage('windows') {
|
2022-11-30 16:30:11 -05:00
|
|
|
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/*.*'
|
2022-11-30 16:30:11 -05:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|