added workspace check
Some checks failed
Tests / Declarative: Post Actions passed: 1
csharp-secdevops-pipeline-pod/pipeline/head There was a failure building this commit

This commit is contained in:
2026-05-05 14:27:17 +02:00
parent d00ad9cddc
commit cdcc55a487

14
Jenkinsfile vendored
View File

@@ -59,6 +59,20 @@ pipeline {
} }
} }
} }
stage('Workspace Check') {
steps {
container('dotnet') {
// Listet alle Dateien auf.
// Wenn du hier Ordner wie 'bin' oder 'obj' siehst, BEVOR dotnet build lief,
// dann bleibt der Workspace erhalten.
sh 'ls -R'
// Optional: Erstelle eine Testdatei, um es beim nächsten Mal zu sehen
sh 'touch ich_war_schon_da.txt'
}
}
}
stage('Set Build Name') { stage('Set Build Name') {
steps { steps {