From 18e05a14edef213e4241e73fed557300c59d4c6a Mon Sep 17 00:00:00 2001 From: fernando Date: Wed, 31 Jan 2024 17:32:52 -0500 Subject: [PATCH] Update Jenkinsfile --- Jenkinsfile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Jenkinsfile b/Jenkinsfile index 1beae20..c917464 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -6,6 +6,10 @@ pipeline { PATH = "/var/lib/jenkins/.cargo/bin:${env.PATH}" } steps { + // Clean workspace. TODO: Separate backend & frontend build + cleanWs() + checkout scm + dir("backend") { sh "touch .env" sh "echo DATABASE_URL=mysql://educa7ls_user:123456789a*@md-89.webhostbox.net:3306/educa7ls_plataforma >> .env"