Fix Jenkinsfile: force recreate + health check

This commit is contained in:
soufiane 2025-11-01 17:32:37 +01:00
parent 15bd1f0610
commit 4a732b5f59
2 changed files with 6 additions and 9 deletions

View File

@ -34,7 +34,7 @@ app.get("/db-check", async (req, res) => {
// --- Route daccueil (fix pour 'Cannot GET /') ---
app.get("/", (req, res) => {
res.json({ message: "✅ API Thé Tip Top en ligne et opérationnelle 1231 !" });
res.json({ message: "✅ API Thé Tip Top en ligne et opérationnelle 123n1 !" });
});
// --- Monitoring Prometheus ---

View File

@ -6,7 +6,10 @@
"type": "module",
"scripts": {
"start": "node index.js",
"dev": "nodemon index.js"
"dev": "nodemon index.js",
"lint": "eslint .",
"test": "jest --coverage",
"test:integration": "jest --config jest.integration.config.js"
},
"keywords": [],
"author": "",
@ -35,11 +38,5 @@
"repository": {
"type": "git",
"url": "https://gitea.wk-archi-o24a-15m-g3.fr/wkadmin/the-tip-top-backend.git"
},
"scripts": {
"lint": "eslint .",
"test": "jest --coverage",
"test:integration": "jest --config jest.integration.config.js"
}
}
}