Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit c6ea315

Browse files
committed
DisableConcurrentBuilds
1 parent c7793ee commit c6ea315

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

Jenkinsfile

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,11 @@ pipeline {
88
PROXY_TEST_USERNAME = credentials('proxy-test-username')
99
PROXY_TEST_PASSWORD = credentials('proxy-test-password')
1010
}
11+
12+
options {
13+
disableConcurrentBuilds()
14+
}
15+
1116
stages {
1217
stage('Unit Test') {
1318
steps {
@@ -27,6 +32,7 @@ if [ "${t%.*}" -lt 80 ]; then
2732
fi'''
2833
}
2934
}
35+
3036
stage('Main Race Condition') {
3137
steps {
3238
sh 'go run --race main.go -t https://proxytest.ddosifytech.com/ -d 1 -n 1500 -a ${PROXY_TEST_USERNAME}:${PROXY_TEST_PASSWORD} -p https'

0 commit comments

Comments
 (0)