added workspace check
This commit is contained in:
14
Jenkinsfile
vendored
14
Jenkinsfile
vendored
@@ -60,6 +60,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 {
|
||||||
script {
|
script {
|
||||||
|
|||||||
Reference in New Issue
Block a user