2022-11-30 16:30:11 -05:00
|
|
|
pipeline {
|
|
|
|
agent any
|
|
|
|
tools {
|
|
|
|
dotnetsdk 'dotnet6'
|
|
|
|
}
|
|
|
|
stages {
|
|
|
|
stage('Build') {
|
|
|
|
steps {
|
|
|
|
echo 'Building..'
|
2022-12-06 15:27:17 -05:00
|
|
|
sh 'dotnet publish --configuration Release --output PUBLISH-linux --os linux'
|
|
|
|
sh 'dotnet publish --configuration Release --output PUBLISH-windows --os windows'
|
2022-11-30 16:30:11 -05:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|