them options disableConcurrentBuilds()

This commit is contained in:
thienqb123456
2025-01-09 19:28:42 +07:00
parent 86f02a2d15
commit c4bec8b9a9
@@ -31,6 +31,9 @@ pipeline {
TELEGRAM_CHAT_ID = -4678013464 TELEGRAM_CHAT_ID = -4678013464
TELEGRAM_BOT_TOKEN = credentials('TELEGRAM_BOT_TOKEN') TELEGRAM_BOT_TOKEN = credentials('TELEGRAM_BOT_TOKEN')
} }
options {
disableConcurrentBuilds() // Ngăn build song song, hủy build cũ khi có build mới
}
stages { stages {
stage('Checkout') { stage('Checkout') {