Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
[JENKINS-31153] Rename Workflow to Pipeline. All the display names in…
… the user interface

Originally-Committed-As: b91ba5c3fd00a8bf4ef6178ae74f2fa43da4b5cb
  • Loading branch information
Manuel Recena committed Jan 11, 2016
1 parent 1299986 commit a5e9d59
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
Expand Up @@ -92,7 +92,7 @@ class SCMBinder extends FlowDefinition {
@Inject public Snippetizer snippetizer;

@Override public String getDisplayName() {
return "Workflow script from " + WorkflowMultiBranchProject.SCRIPT;
return "Pipeline script from " + WorkflowMultiBranchProject.SCRIPT;
}

}
Expand Down
Expand Up @@ -60,7 +60,7 @@
Run<?,?> build = script.$build();
// TODO some code overlap with SCMBinder.create, but not obvious how to factor out common parts
if (!(build instanceof WorkflowRun)) {
throw new AbortException("not available outside a workflow build");
throw new AbortException("not available outside a Pipeline build");
}
Job<?,?> job = build.getParent();
BranchJobProperty property = job.getProperty(BranchJobProperty.class);
Expand Down
Expand Up @@ -68,7 +68,7 @@ public WorkflowMultiBranchProject(ItemGroup parent, String name) {
@Extension public static class DescriptorImpl extends MultiBranchProjectDescriptor {

@Override public String getDisplayName() {
return "Multibranch Workflow";
return "Multibranch Pipeline";
}

@Override public TopLevelItem newInstance(ItemGroup parent, String name) {
Expand Down
Expand Up @@ -54,7 +54,7 @@ public class WorkflowMultiBranchProjectFactory extends MultiBranchProjectFactory
}

@Override public String getDisplayName() {
return "Workflow Jenkinsfile";
return "Pipeline Jenkinsfile";
}

}
Expand Down
Expand Up @@ -20,4 +20,4 @@
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
# THE SOFTWARE.

body=Creates a set of Workflow projects according to detected branches in one SCM repository.
body=Creates a set of Pipeline projects according to detected branches in one SCM repository.

0 comments on commit a5e9d59

Please sign in to comment.