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"