vassago/Jenkinsfile

25 lines
543 B
Plaintext
Raw Normal View History

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/*'
}
}
stage('Deploy'){
when{
branch "release"
}
steps{
}
}
2023-12-05 22:53:17 -05:00
}
}