Is there anyway that I can manage the executor number for the same Jenkins job (using jenkins 2.0 pipeline as code)? All multiple builds in the same job will failed due to resource conflict.
Here is my situation:


The Jenkinsfile is:
node ('ios') {
stage ("Preparation") {
sh '''
... ...
'''
}
stage ("Preparation") {
sh '''
... ...
'''
}
...
}security unlock-keychain -p <LOGIN_PWD> xxx.keychain
security import <KEY_PATH.p12> -k xxx.keychain -t priv -f pkcs12 -A -P <LOGIN_PWD>