Merge branch 'main' into add-authentik-sso

This commit is contained in:
egelhaus 2025-04-14 04:35:33 +02:00 committed by GitHub
commit a14c950ce5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 5 additions and 13 deletions

View File

@ -8,6 +8,10 @@ jobs:
build-and-publish:
runs-on: ubuntu-latest
permissions:
contents: read # for actions/checkout and general read access
packages: write # to push images to ghcr.io
steps:
- name: Checkout code
uses: actions/checkout@v4

14
Jenkinsfile vendored
View File

@ -27,25 +27,13 @@ pipeline {
}
}
stage('Run Unit Tests') {
steps {
sh 'npm test'
}
}
stage('Build Project') {
steps {
sh 'npm run build 2>&1 | tee build_report.log' // Captures build output
sh 'npm run build'
}
}
}
post {
always {
junit '**/reports/junit.xml'
archiveArtifacts artifacts: 'reports/**', fingerprint: true
archiveArtifacts artifacts: 'build_report.log', fingerprint: true
cleanWs(cleanWhenNotBuilt: false, notFailBuild: true)
}
success {
echo 'Build completed successfully!'