Update .woodpecker.yml

This commit is contained in:
2026-01-08 13:05:39 +00:00
committed by Piotr Kus
parent f0c4fef3cb
commit 2c196c68d7

View File

@@ -5,17 +5,6 @@ when:
branch: [master] branch: [master]
steps: steps:
debug-workspace:
image: alpine:latest
commands:
- echo "=== Aktualny katalog roboczy (pwd) ==="
- pwd
- echo "=== Zawartość /woodpecker/src ==="
- ls -la /woodpecker/src
- echo "=== Pełna struktura src (do głębokości 4) ==="
- find /woodpecker/src -type d -maxdepth 4 | sort
- echo "=== Szukam katalogu z kodem (.git lub .csproj) ==="
- find /woodpecker -name ".git" -o -name "*.csproj" | head -20
clone-manual: clone-manual:
image: woodpeckerci/plugin-git image: woodpeckerci/plugin-git
settings: settings:
@@ -28,7 +17,7 @@ steps:
commands: commands:
- | - |
set -euf set -euf
CODE_DIR="/woodpecker/src/srv51.mikr.us/git/FA/FA_WEB" CODE_DIR="/woodpecker/src/localhost/git/FA/FA_WEB"
cd "$CODE_DIR" cd "$CODE_DIR"
echo "=== Restore wszystkich projektów ===" echo "=== Restore wszystkich projektów ==="
find . -name "*.csproj" -type f -exec dotnet restore "{}" \; find . -name "*.csproj" -type f -exec dotnet restore "{}" \;
@@ -38,7 +27,7 @@ steps:
commands: commands:
- | - |
set -euf set -euf
CODE_DIR="/woodpecker/src/srv51.mikr.us/git/FA/FA_WEB" CODE_DIR="/woodpecker/src/localhost/git/FA/FA_WEB"
cd "$CODE_DIR" cd "$CODE_DIR"
echo "=== Uruchamianie testów ===" echo "=== Uruchamianie testów ==="
dotnet test --no-restore --configuration Release --logger "trx" dotnet test --no-restore --configuration Release --logger "trx"
@@ -49,7 +38,7 @@ steps:
commands: commands:
- | - |
set -euf set -euf
CODE_DIR="/woodpecker/src/srv51.mikr.us/git/FA/FA_WEB" CODE_DIR="/woodpecker/src/localhost/git/FA/FA_WEB"
cd "$CODE_DIR" cd "$CODE_DIR"
echo "=== Diagnostyka projektów ===" echo "=== Diagnostyka projektów ==="
find . -name "*.csproj" -type f | sort find . -name "*.csproj" -type f | sort
@@ -77,7 +66,7 @@ steps:
commands: commands:
- | - |
set -euf set -euf
CODE_DIR="/woodpecker/src/srv51.mikr.us/git/FA/FA_WEB" CODE_DIR="/woodpecker/src/localhost/git/FA/FA_WEB"
cd "$CODE_DIR" cd "$CODE_DIR"
echo "=== Test połączenia z BaGetter ===" echo "=== Test połączenia z BaGetter ==="