Skip to content

Commit

Permalink
HSEARCH-4191 Avoid "master"/"slave" in CI configuration
Browse files Browse the repository at this point in the history
See also https://www.jenkins.io/doc/book/glossary/

Signed-off-by: Yoann Rodière <yoann@hibernate.org>
  • Loading branch information
yrodiere authored and fax4ever committed Mar 17, 2021
1 parent 888380a commit bc78506
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
8 changes: 4 additions & 4 deletions Jenkinsfile
Expand Up @@ -151,11 +151,11 @@ import org.hibernate.jenkins.pipeline.helpers.version.Version
@Field final String MAVEN_TOOL = 'Apache Maven 3.6'

// Default node pattern, to be used for resource-intensive stages.
// Should not include the master node.
@Field final String NODE_PATTERN_BASE = 'Slave'
// Should not include the controller node.
@Field final String NODE_PATTERN_BASE = 'Worker'
// Quick-use node pattern, to be used for very light, quick, and environment-independent stages,
// such as sending a notification. May include the master node in particular.
@Field final String QUICK_USE_NODE_PATTERN = 'Master||Slave'
// such as sending a notification. May include the controller node in particular.
@Field final String QUICK_USE_NODE_PATTERN = 'Controller||Worker'

@Field AlternativeMultiMap<BuildEnvironment> environments
@Field JobHelper helper
Expand Down
4 changes: 2 additions & 2 deletions jenkins/performance-elasticsearch.groovy
Expand Up @@ -19,8 +19,8 @@ import org.hibernate.jenkins.pipeline.helpers.job.JobHelper
// Performance node pattern, to be used for stages involving performance tests.
@Field final String PERFORMANCE_NODE_PATTERN = 'Performance'
// Quick-use node pattern, to be used for very light, quick, and environment-independent stages,
// such as sending a notification. May include the master node in particular.
@Field final String QUICK_USE_NODE_PATTERN = 'Master||Slave||Performance'
// such as sending a notification. May include the controller node in particular.
@Field final String QUICK_USE_NODE_PATTERN = 'Controller||Worker||Performance'

@Field JobHelper helper

Expand Down
4 changes: 2 additions & 2 deletions jenkins/performance-lucene.groovy
Expand Up @@ -19,8 +19,8 @@ import org.hibernate.jenkins.pipeline.helpers.job.JobHelper
// Performance node pattern, to be used for stages involving performance tests.
@Field final String PERFORMANCE_NODE_PATTERN = 'Performance'
// Quick-use node pattern, to be used for very light, quick, and environment-independent stages,
// such as sending a notification. May include the master node in particular.
@Field final String QUICK_USE_NODE_PATTERN = 'Master||Slave||Performance'
// such as sending a notification. May include the controller node in particular.
@Field final String QUICK_USE_NODE_PATTERN = 'Controller||Worker||Performance'

@Field JobHelper helper

Expand Down

0 comments on commit bc78506

Please sign in to comment.