]> git.ipfire.org Git - pakfire.git/commitdiff
jenkins: Cleanup the workspace before mastering the repository
authorMichael Tremer <michael.tremer@ipfire.org>
Thu, 5 Dec 2024 16:48:06 +0000 (16:48 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Thu, 5 Dec 2024 17:03:49 +0000 (17:03 +0000)
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Jenkinsfile

index ff6fca21673a01011871caa270ef5abc92731b41..a7702fe150f9b2a36fa98237752a1a9ee4798071 100644 (file)
@@ -427,6 +427,9 @@ pipeline {
                                        }
 
                                        steps {
+                                               // Cleanup the workspace
+                                               cleanWs()
+
                                                // Create the GPG stash directory
                                                sh """
                                                        mkdir -p $GNUPGHOME