From 60ace745f3e7552a887b0adab2ad1a7e27477d47 Mon Sep 17 00:00:00 2001 From: Ashir Ali <32892597+AshirAli@users.noreply.github.com> Date: Fri, 1 May 2026 01:27:33 +0530 Subject: [PATCH] feat: disableConcurrentBuilds --- Jenkinsfile | 4 ++++ Jenkinsfile.prod | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/Jenkinsfile b/Jenkinsfile index 6bde369..d41e248 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -22,6 +22,10 @@ def ENV_LAYOUT = [ pipeline { agent { label 'jagent06' } + options { + disableConcurrentBuilds() + } + triggers { GenericTrigger( causeString: 'Triggered by Gitea webhook', diff --git a/Jenkinsfile.prod b/Jenkinsfile.prod index ccab6a6..2a5c068 100644 --- a/Jenkinsfile.prod +++ b/Jenkinsfile.prod @@ -24,6 +24,10 @@ pipeline { label 'jagent06' } + options { + disableConcurrentBuilds() + } + environment { REMOTE_HOST = "root@170.187.237.83" REMOTE_DEPLOY_DIR = "/root/gg-backend"