2023-12-05 22:53:17 -05:00
|
|
|
pipeline {
|
|
|
|
agent any
|
|
|
|
|
|
|
|
stages {
|
|
|
|
stage('clean old'){
|
|
|
|
steps{
|
|
|
|
sh 'rm -rf bin obj'
|
|
|
|
}
|
|
|
|
}
|
|
|
|
stage('Build') {
|
|
|
|
steps {
|
2023-12-05 22:59:30 -05:00
|
|
|
sh 'dotnet publish vassago.csproj --configuration Release --os linux'
|
2023-12-05 22:53:17 -05:00
|
|
|
archiveArtifacts artifacts: 'bin/Release/net7.0/linux-x64/publish/*'
|
|
|
|
}
|
|
|
|
}
|
2024-04-05 23:02:15 -04:00
|
|
|
stage('Deploy'){
|
|
|
|
when{
|
|
|
|
branch "release"
|
|
|
|
}
|
|
|
|
steps{
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
2023-12-05 22:53:17 -05:00
|
|
|
}
|
|
|
|
}
|