forked from adam/discord-bot-shtik
25 lines
543 B
Groovy
25 lines
543 B
Groovy
pipeline {
|
|
agent any
|
|
|
|
stages {
|
|
stage('clean old'){
|
|
steps{
|
|
sh 'rm -rf bin obj'
|
|
}
|
|
}
|
|
stage('Build') {
|
|
steps {
|
|
sh 'dotnet publish vassago.csproj --configuration Release --os linux'
|
|
archiveArtifacts artifacts: 'bin/Release/net7.0/linux-x64/publish/*'
|
|
}
|
|
}
|
|
stage('Deploy'){
|
|
when{
|
|
branch "release"
|
|
}
|
|
steps{
|
|
|
|
}
|
|
}
|
|
}
|
|
} |