Skip to content

Commit dcb4b7a

Browse files
Build: only run on agents tagged with 'java'.
1 parent 4a22e9d commit dcb4b7a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Jenkinsfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ String buildsToKeep = '500'
66

77
// https://jenkins.io/doc/book/pipeline/syntax/
88
pipeline {
9-
agent any
9+
agent { label 'java' }
1010

1111
environment {
1212
GITLAB_URL = credentials('gitlab_url')

0 commit comments

Comments
 (0)