16 lines
414 B
Groovy
16 lines
414 B
Groovy
pipeline {
|
|
agent any
|
|
tools {
|
|
dotnetsdk 'dotnet6'
|
|
}
|
|
stages {
|
|
stage('Build') {
|
|
steps {
|
|
dotnetClean
|
|
echo 'Building..'
|
|
sh 'dotnet publish --configuration Release --output PUBLISH-linux --os linux'
|
|
sh 'dotnet publish --configuration Release --output PUBLISH-windows --os windows'
|
|
}
|
|
}
|
|
}
|
|
} |