Skip to content
Permalink
Browse files

[JENKINS-31153] Rename Workflow to Pipeline. All the display names in…

… the user interface

Originally-Committed-As: b91ba5c3fd00a8bf4ef6178ae74f2fa43da4b5cb
  • Loading branch information
Manuel Recena
Manuel Recena committed Jan 11, 2016
1 parent 1299986 commit a5e9d5900f8d6390943dff0784ac136d522e09ab
@@ -92,7 +92,7 @@
@Inject public Snippetizer snippetizer;

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

}
@@ -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);
@@ -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) {
@@ -54,7 +54,7 @@
}

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

}
@@ -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.
You can’t perform that action at this time.