FirmTracker-Server/JenkinsFile
2024-11-28 21:50:25 +01:00

25 lines
597 B
Plaintext

pipeline {
agent any
stages {
stage('Restore Dependencies') {
steps {
echo 'Restoring dependencies...'
sh 'dotnet restore'
}
}
stage('Build') {
steps {
echo 'Building the project...'
sh 'dotnet build --configuration Release'
}
}
stage('Publish') {
steps {
echo 'Publishing the project...'
sh 'dotnet publish --configuration Release --output ./publish'
}
}
}
}