Skip to content

Commit

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

Originally-Committed-As: b91ba5c3fd00a8bf4ef6178ae74f2fa43da4b5cb
  • Loading branch information
Manuel Recena committed Jan 11, 2016
1 parent f68cfda commit 98609ab
Show file tree
Hide file tree
Showing 9 changed files with 17 additions and 17 deletions.
Expand Up @@ -148,14 +148,14 @@ public void testRetry() throws Exception {

idx = 0;
for (String msg : new String[] {
"[Workflow] Retry the body up to N times : Start",
"[Workflow] retry {",
"[Workflow] } //retry",
"[Workflow] retry {",
"[Workflow] } //retry",
"[Workflow] retry {",
"[Workflow] } //retry",
"[Workflow] Retry the body up to N times : End",
"[Pipeline] Retry the body up to N times : Start",
"[Pipeline] retry {",
"[Pipeline] } //retry",
"[Pipeline] retry {",
"[Pipeline] } //retry",
"[Pipeline] retry {",
"[Pipeline] } //retry",
"[Pipeline] Retry the body up to N times : End",
}) {
idx = log.indexOf(msg, idx + 1);
assertTrue(msg + " not found", idx != -1);
Expand Down
2 changes: 1 addition & 1 deletion cps/package.json
@@ -1,7 +1,7 @@
{
"name": "workflow-ui",
"version": "1.0.0",
"description": "Jenkins Workflow UI",
"description": "Jenkins Pipeline UI",
"author": "Tom Fennelly <tom.fennelly@gmail.com> (https://github.com/tfennelly)",
"license": "MIT",
"repository": {
Expand Down
Expand Up @@ -111,7 +111,7 @@ public static class DescriptorImpl extends FlowDefinitionDescriptor {

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

public FormValidation doCheckScript(@QueryParameter String value, @QueryParameter boolean sandbox) {
Expand Down
Expand Up @@ -359,7 +359,7 @@ private Env createInitialEnv() {

private CpsScript parseScript() throws IOException {
shell = new CpsGroovyShell(this);
CpsScript s = (CpsScript) shell.reparse("WorkflowScript",script);
CpsScript s = (CpsScript) shell.reparse("WorkflowScript", script);

for (Entry<String, String> e : loadedScripts.entrySet()) {
shell.reparse(e.getKey(), e.getValue());
Expand Down
Expand Up @@ -136,7 +136,7 @@ private String getFilePathSuffix() {
@Inject public Snippetizer snippetizer;

@Override public String getDisplayName() {
return "Workflow script from SCM";
return "Pipeline script from SCM";
}

public Collection<? extends SCMDescriptor<?>> getApplicableDescriptors() {
Expand Down
Expand Up @@ -237,7 +237,7 @@ public HttpResponse doGenerateSnippet(StaplerRequest req, @QueryParameter String
public void doStatic(StaplerRequest req, StaplerResponse rsp) throws Exception {
rsp.setContentType("text/html;charset=UTF-8");
PrintWriter pw = rsp.getWriter();
pw.println("<html><head><title>Jenkins Workflow Reference</title></head><body>");
pw.println("<html><head><title>Jenkins Pipeline Reference</title></head><body>");
pw.println("<h1>Steps</h1>");
for (StepDescriptor d : getStepDescriptors(false)) {
generateStepHelp(d, pw);
Expand Down
2 changes: 1 addition & 1 deletion cps/src/main/resources/index.jelly
Expand Up @@ -25,5 +25,5 @@ THE SOFTWARE.

<?jelly escape-by-default='true'?>
<div>
Workflow execution engine based on continuation passing style transformation of Groovy scripts.
Pipeline execution engine based on continuation passing style transformation of Groovy scripts.
</div>
@@ -1,5 +1,5 @@
<div>
Relative location within the checkout of your Workflow script.
Relative location within the checkout of your Pipeline script.
Note that it will always be run inside a Groovy sandbox.
<code>Jenkinsfile</code> is conventional and allows you to switch easily to a multibranch project
(just use <code>checkout scm</code> to retrieve sources from the same location as is configured here).
Expand Down
Expand Up @@ -13,7 +13,7 @@ node {
</p>
<p>
These definitions will also be available via the REST API during the build or after its completion,
and from upstream Workflow builds using the <code>build</code> step.
and from upstream Pipeline builds using the <code>build</code> step.
</p>
<p>
However any variables set this way are global to the workflow build.
Expand All @@ -24,7 +24,7 @@ node {
<p>
A set of environment variables are made available to all Jenkins projects, including workflows.
The following is a general list of variables (by name) that are available;
see the notes below the list for Workflow-specific details.
see the notes below the list for Pipeline-specific details.
</p>
<!-- Cf. EnvironmentContributor/EnvVarsHtml/index.groovy -->
<j:forEach var="ec" items="${it.environmentContributors}">
Expand Down

0 comments on commit 98609ab

Please sign in to comment.