-
Notifications
You must be signed in to change notification settings - Fork 902
[JENKINS-31153] Rename Workflow to Pipeline #296
Conversation
… the user interface
This pull request originates from a CloudBees employee. At CloudBees, we require that all pull requests be reviewed by other CloudBees employees before we seek to have the change accepted. If you want to learn more about our process please see this explanation. |
👎 on this pull request till there is an agreement with the community on renaming. |
Just to clarify:
|
@oleg-nenashev I'm maintainer of one of them 😄 |
Removed the @reviewbybees bug according to the inputs |
@@ -127,7 +127,7 @@ public void userDefinedGlobalVariable() throws Exception { | |||
WorkflowJob p = jenkins.createProject(WorkflowJob.class, "p"); | |||
|
|||
p.setDefinition(new CpsFlowDefinition( | |||
"acmeVar.hello('Workflow');" + | |||
"acmeVar.hello('Pipeline');" + |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
OK…not user-visible text, does not really matter, but fine.
🐛 missing updates to 🐛 missing updates to plugin display names in |
@jglick I wanted to separate it in two differents PR:
Do you agree? |
No. Certainly the And if you are going to file a renaming PR in the repo, you might as well just finish and rename the usages in Markdown files too. |
I don't know why I ask it... |
@@ -271,15 +271,15 @@ You may override the new `guessBrowser`, so that scripts do not need to specify | |||
|
|||
If you have a commit trigger, generally an `UnprotectedRootAction` which schedules builds, it will need a few changes. | |||
Use `SCMTriggerItem` rather than the deprecated `SCMedItem`; use `SCMTriggerItem.SCMTriggerItems.asSCMTriggerItem` rather than checking `instanceof`. | |||
Its `getSCMs` method can be used to enumerate configured SCMs, which in the case of a workflow will be those run in the last build. | |||
Its `getSCMs` method can be used to enumerate configured SCMs, which in the case of a Pipeline will be those run in the last build. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This one would be lowercase IMO
@@ -25,5 +25,5 @@ THE SOFTWARE. | |||
|
|||
<?jelly escape-by-default='true'?> | |||
<div> | |||
Defines a new job type for workflows and provides their generic user interface. | |||
Defines a new job type for pipelines and provides their generic user interface. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
+caps
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
But, we have decided to use pipelines
when mentions to generic pipelines. Right?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@recena but ... this is specific to the Pipeline plugin, no? "define a new job type for pipelines..."
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think Manuel is right here: Pipeline creates pipelines. At least it's consistent with the naming scheme from Workflow. Maybe everywhere we talk about pipeline-as-created-by-Pipeline we call it a "Pipeline job" or slightly more clunky "pipeline-job".
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@kwhetstone I'm indifferent on a many of these. Though it could really go either way, in this case we're not defining a job type to create an arbitrary pipeline, we're specifically creating a Jenkins Pipeline.
Although "Pipeline creates pipelines", referring to specific items that the plugin creates, uses, or is otherwise directly tied to it should be referred to as "Pipeline(s)", even though they might also describe a generic pipeline. I didn't bug or ant this, though; it is not that important. :)
@recena Agree with Jesse, add pom.xml to this, and it looks good. |
To me it is weird to see |
🐝 looks good to me afaik, without self-grepping the code :) |
@kzantow I have to dive deeply but it is a first approach |
@recena I agree that it's weird seeing "Pipeline" by itself, but it must have been like that for "Workflow" when it was first released as well! 🐝 |
Again dependencies will be pulled in automatically, including all the OSS plugins. | ||
|
||
# News & questions | ||
|
||
* [Changelog](CHANGES.md) | ||
* [jenkins-workflow tag](http://stackoverflow.com/tags/jenkins-workflow) on StackOverflow | ||
* [jenkins-pipeline tag](http://stackoverflow.com/tags/jenkins-pipeline) on StackOverflow |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🐛 do not change this now—there is no such tag yet. If and when that rename happens, I will update this line of course.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The initial idea was to do the StackOverflow renaming too.
Note that examples like this were updated with new output format. |
🐝 |
Actually one more request: plugin summaries ( |
* [JIRA](https://issues.jenkins-ci.org/secure/IssueNavigator.jspa?reset=true&jqlQuery=project+%3D+JENKINS+AND+resolution+%3D+Unresolved+AND+%28component+%3D+workflow-plugin+OR+labels+in+%28workflow%29%29+ORDER+BY+component+ASC,+key+DESC&mode=hide) (file issues in the `workflow-plugin` component, or other components with the `workflow` label) | ||
* [User list discussions](https://groups.google.com/forum/#!topicsearchin/jenkinsci-users/workflow) (mention `workflow` in the subject) | ||
* [#JenkinsWorkflow](https://twitter.com/hashtag/JenkinsWorkflow) on Twitter | ||
* [JIRA](https://issues.jenkins-ci.org/secure/IssueNavigator.jspa?reset=true&jqlQuery=project+%3D+JENKINS+AND+resolution+%3D+Unresolved+AND+%28component+%3D+workflow-plugin+OR+labels+in+%28workflow%29%29+ORDER+BY+component+ASC,+key+DESC&mode=hide) (file issues in the `workflow-plugin` component, or other components with the `pipeline` label) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🐛 for now we are still using the workflow
label (TBD about its rename). Anyway the text now does not match the query URL.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ok
🐝 |
@@ -32,7 +32,7 @@ | |||
</parent> | |||
<artifactId>workflow-aggregator</artifactId> | |||
<packaging>hpi</packaging> | |||
<name>Workflow: Aggregator</name> | |||
<name>Pipeline (formerly known as Workflow)</name> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This does not seem right to me, but that is a 🐜
🐝 - I have mixed feelings about having/not having parenthetical descriptions of renames, but this change seems fine. |
@svanoort This will be only along a short time. |
@reviewbybees done |
[JENKINS-31153] Rename Workflow to Pipeline
JENKINS-31153
Screenshots
@reviewbybees