them options disableConcurrentBuilds()
This commit is contained in:
@@ -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') {
|
||||||
|
|||||||
Reference in New Issue
Block a user