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"