diff --git a/src/main/resources/hudson/plugins/promoted_builds/Messages.properties b/src/main/resources/hudson/plugins/promoted_builds/Messages.properties index 4069147f..880c39ae 100644 --- a/src/main/resources/hudson/plugins/promoted_builds/Messages.properties +++ b/src/main/resources/hudson/plugins/promoted_builds/Messages.properties @@ -25,7 +25,7 @@ JobPropertyImpl.ValidateRequired=Required JobPropertyImpl.LabelString.InvalidBooleanExpression=\ Invalid boolean expression: {0} JobPropertyImpl.LabelString.NoMatch=\ - There's no slave/cloud that matches this assignment + There's no agent/cloud that matches this assignment KeepBuildForEverAction.descriptor.displayName=Keep Build Forever KeepBuildForEverAction.console.notPromotion=This build is not a promotion, how did we get here? Not keeping build. KeepBuildForEverAction.console.promotionNotGoodEnough=Promotion build result [{0}] is not good enough. Not keeping build. diff --git a/src/main/resources/hudson/plugins/promoted_builds/PromotionProcess/help-assignedLabelString.html b/src/main/resources/hudson/plugins/promoted_builds/PromotionProcess/help-assignedLabelString.html index 4869ca27..a7abd1a1 100644 --- a/src/main/resources/hudson/plugins/promoted_builds/PromotionProcess/help-assignedLabelString.html +++ b/src/main/resources/hudson/plugins/promoted_builds/PromotionProcess/help-assignedLabelString.html @@ -1,12 +1,12 @@
- If you want to always run this promotion process on a specific node/slave, just specify its name. + If you want to always run this promotion process on a specific node/agent, just specify its name. If not specified, the same label which the promoted build used can be used. This works well when you have a small number of nodes.

- As the size of the cluster grows, it becomes useful not to tie projects to specific slaves, - as it hurts resource utilization when slaves may come and go. For such situation, assign labels - to slaves to classify their capabilities and characteristics, and specify a boolean expression + As the size of the cluster grows, it becomes useful not to tie projects to specific agents, + as it hurts resource utilization when agents may come and go. For such situation, assign labels + to agents to classify their capabilities and characteristics, and specify a boolean expression over those labels to decide where to run.

Valid Operators

@@ -32,15 +32,15 @@

Valid Operators

a -> b
"implies" operator. Equivalent to !a|b. - For example, windows->x64 could be thought of as "if run on a Windows slave, - that slave must be 64bit." It still allows Jenkins to run this build on linux. + For example, windows->x64 could be thought of as "if run on a Windows agent, + that agent must be 64bit." It still allows Jenkins to run this build on linux.
a <-> b
"if and only if" operator. Equivalent to a&&b || !a&&!b. - For example, windows->sfbay could be thought of as "if run on a Windows slave, - that slave must be in the SF bay area, but if not on Windows, it must not be in the bay area." + For example, windows->sfbay could be thought of as "if run on a Windows agent, + that agent must be in the SF bay area, but if not on Windows, it must not be in the bay area."

@@ -48,6 +48,6 @@

Valid Operators

An expression can contain whitespace for better readability, and it'll be ignored.

- Label names or slave names can be quoted if they contain unsafe characters. For example, + Label names or agent names can be quoted if they contain unsafe characters. For example, "jenkins-solaris (Solaris)" || "Windows 2008"

diff --git a/src/main/resources/hudson/plugins/promoted_builds/PromotionProcess/process-config.jelly b/src/main/resources/hudson/plugins/promoted_builds/PromotionProcess/process-config.jelly index 6fa003b5..a26558b5 100644 --- a/src/main/resources/hudson/plugins/promoted_builds/PromotionProcess/process-config.jelly +++ b/src/main/resources/hudson/plugins/promoted_builds/PromotionProcess/process-config.jelly @@ -44,8 +44,8 @@ - + description="If not set, the label of the promoted build will be used." field="assignedLabelString"> + diff --git a/src/test/resources/complex-example-dsl.groovy b/src/test/resources/complex-example-dsl.groovy index 3528b39b..f58fc361 100644 --- a/src/test/resources/complex-example-dsl.groovy +++ b/src/test/resources/complex-example-dsl.groovy @@ -4,7 +4,7 @@ freeStyleJob('test-job-complex') { promotion { name("Development") icon("star-red") - restrict('slave1') + restrict('agent1') conditions { manual('testuser'){ parameters{ @@ -32,7 +32,7 @@ freeStyleJob('test-job-complex') { promotion { name("Test") icon("star-yellow") - restrict('slave2') + restrict('agent2') conditions { manual('testuser') upstream("Development")