Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Renamed Hudson to Jenkins in UI #6797

Merged
merged 1 commit into from
Jan 9, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,4 @@
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.
OpenIDE-Module-Name=Hudson Git Bindings
OpenIDE-Module-Name=Jenkins Git Bindings
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,8 @@ public class HudsonGitSCM implements HudsonSCM {
private static final Logger LOG = Logger.getLogger(HudsonGitSCM.class.getName());

@Messages({
"# {0} - original URL", "# {1} - replacement URL", "ro_replacement=Replacing {0} with {1} in Hudson configuration.",
"# {0} - repository location", "warning.local_repo={0} will only be accessible from a Hudson server on the same machine."
"# {0} - original URL", "# {1} - replacement URL", "ro_replacement=Replacing {0} with {1} in Jenkins configuration.",
"# {0} - repository location", "warning.local_repo={0} will only be accessible from a Jenkins server on the same machine."
})
@Override public Configuration forFolder(File folder) {
if (!new File(folder, ".git").isDirectory()) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,4 @@
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.
OpenIDE-Module-Name=Hudson Mercurial Bindings
OpenIDE-Module-Name=Jenkins Mercurial Bindings
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ public class HudsonMercurialSCM implements HudsonSCM {

@Messages({
"# {0} - repository location",
"warning.local_repo={0} will only be accessible from a Hudson server on the same machine.",
"warning.local_repo={0} will only be accessible from a Jenkins server on the same machine.",
"error.repo.in.parent=Cannot find repository metadata in the project folder. Please configure the build manually."
})
public Configuration forFolder(File folder) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.
OpenIDE-Module-Name=Hudson Subversion Bindings
OpenIDE-Module-Name=Jenkins Subversion Bindings
# {0} - file basename
# {1} - revision number
SubversionHyperlink.title={0} #{1,number,#}
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,4 @@
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.
OpenIDE-Module-Name=Hudson Action Items
OpenIDE-Module-Name=Jenkins Action Items
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,8 @@ private static class CacheEntry {
private final Map<Project,CacheEntry> cache = new WeakHashMap<Project,CacheEntry>();

@Messages({
"HudsonScanner.displayName=Hudson Warnings",
"HudsonScanner.description=Warnings and other action items coming from Hudson servers, currently supporting the Static Analysis plugin suite."
"HudsonScanner.displayName=Jenkins Warnings",
"HudsonScanner.description=Warnings and other action items coming from Jenkins servers, currently supporting the Static Analysis plugin suite."
})
public HudsonScanner() {
super(HudsonScanner_displayName(), HudsonScanner_description(), null);
Expand Down
8 changes: 7 additions & 1 deletion ide/hudson.ui/licenseinfo.xml
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,14 @@
<fileset>
<file>src/org/netbeans/modules/hudson/ui/resources/notification.png</file>
<file>src/org/netbeans/modules/hudson/ui/resources/hudson.png</file>
<file>src/org/netbeans/modules/hudson/ui/resources/instance.png</file>
<license ref="Apache-2.0-ASF" />
<comment type="COMMENT_UNSUPPORTED" />
</fileset>
<fileset>
<file>src/org/netbeans/modules/hudson/ui/resources/instance.png</file>
<license ref="CC-BY-SA-3.0" />
<notice>Original image from the Jenkins project (https://jenkins.io/):
https://github.com/jenkins-infra/jenkins.io/blob/master/content/images/logos/jenkins/jenkins.svg
(placed on square background, rendered to 16x16px with inkscape)</notice>
</fileset>
</licenseinfo>
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
# under the License.

OpenIDE-Module-Display-Category=Base IDE
OpenIDE-Module-Name=Hudson UI
OpenIDE-Module-Name=Jenkins UI

FormLogin.locationLabel.text=&Server:
FormLogin.userLabel.text=&Username:
Expand All @@ -25,4 +25,4 @@ APITokenConnectionAuthenticator.userLabel.text=&Username:
APITokenConnectionAuthenticator.locationLabel.text=&Server:
APITokenConnectionAuthenticator.tokLabel.text=API &Token:
APITokenConnectionAuthenticator.tokButton.text=&Find...
OpenIDE-Module-Short-Description=User Interface and IDE integration for Hudson Support
OpenIDE-Module-Short-Description=User Interface and IDE integration for Jenkins Support
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ private FormLogin() {
public static class AuthImpl implements PasswordAuthorizer {

@Messages({
"FormLogin.log_in=Log in to Hudson",
"FormLogin.log_in=Log in to Jenkins",
"# {0} - server location", "# {1} - user name", "FormLogin.password_description=Password for {1} on {0}"
})
@Override
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
import org.openide.util.NbBundle;

/**
* Add Hudson instance action launches the wizard.
* Add Jenkins instance action launches the wizard.
*/
public class AddInstanceAction extends AbstractAction {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ public class AddTestInstanceAction extends AbstractAction implements Runnable {

private static final Logger LOG = Logger.getLogger(AddTestInstanceAction.class.getName());

@Messages("AddTestInstanceAction.label=Try Hudson on &Localhost")
@Messages("AddTestInstanceAction.label=Try Jenkins on &Localhost")
public AddTestInstanceAction() {
super(Bundle.AddTestInstanceAction_label());
}
Expand All @@ -57,8 +57,8 @@ public void actionPerformed(ActionEvent e) {

@Messages({
"# {0} - path to javaws", "AddTestInstanceAction.no_javaws=Could not find {0}. Run: javaws https://hudson.dev.java.net/hudson.jnlp",
"AddTestInstanceAction.could_not_run=Could not download or run Hudson. Run: javaws https://hudson.dev.java.net/hudson.jnlp",
"AddTestInstanceAction.starting=Downloading & running Hudson...",
"AddTestInstanceAction.could_not_run=Could not download or run Jenkins. Run: javaws https://hudson.dev.java.net/hudson.jnlp",
"AddTestInstanceAction.starting=Downloading & running Jenkins...",
"AddTestInstanceAction.instance_name=Local Test Server"
})
@Override
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,18 +15,18 @@
# specific language governing permissions and limitations
# under the License.

LBL_Add_Instance=&Add Hudson Instance...
LBL_Add_Instance=&Add jenkins Instance...

LBL_StartJobAction=&Start Job
ShowChanges.label=Show Changes
ShowChanges.no_changes=No changes.
# {0} - job #build
ShowChanges.title={0} changes
CreateJobPanel.pick_server=Pick a Hudson server to create a job on.
CreateJobPanel.pick_server=Pick a Jenkins server to create a job on.
CreateJobPanel.pick_project=Pick a project to create a job for.
CreateJobPanel.unknown_project_type=The IDE does not know how to set up a job for this project.
CreateJobPanel.name_taken=This name is taken. Pick another.
CreateJobPanel.already_associated=This project already seems to be associated with a Hudson job.
CreateJobPanel.already_associated=This project already seems to be associated with a Jenkins job.
CreateJobPanel.AccessibleContext.accessibleDescription=Create a new build job for a project.
CreateJobPanel.explanationLabel.text=<html>Build Server will automatically get the sources and libraries from the same\n<br>source code repository and run the same build targets as your local project.
CreateJobPanel.browse.AccessibleContext.accessibleDescription=Select a project to build from disk.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -139,10 +139,10 @@ boolean runCustomActionIfAvailable(ActionEvent e) {
"CreateJob.failure=Could not create job. Please check your server's log for details.",
"# UI logging of creating new build job",
"# {0} - project type",
"UI_HUDSON_JOB_CREATED=New Hudson build job created [project type: {0}]",
"UI_HUDSON_JOB_CREATED=New Jenkins build job created [project type: {0}]",
"# Usage Logging",
"# {0} - project type",
"USG_HUDSON_JOB_CREATED=New Hudson build job created [project type: {0}]"
"USG_HUDSON_JOB_CREATED=New Jenkins build job created [project type: {0}]"
})
private void finalizeJob(HudsonInstance instance, ProjectHudsonJobCreator creator, String name, Project project) {
try {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,8 @@ public ProjectAssociationAction(HudsonJob job) {
@Messages({
"ProjectAssociationAction.open_some_projects=Open some projects to choose from.",
"ProjectAssociationAction.title_select_project=Select Project",
"ProjectAssociationAction.could_not_associate=Failed to record a Hudson job association.",
"ProjectAssociationAction.could_not_dissociate=Failed to find the Hudson job association to be removed."
"ProjectAssociationAction.could_not_associate=Failed to record a Jenkins job association.",
"ProjectAssociationAction.could_not_dissociate=Failed to find the Jenkins job association to be removed."
})
@Override public void actionPerformed(ActionEvent e) {
if (alreadyAssociatedProject == null) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
import org.netbeans.spi.quicksearch.SearchResponse;
import org.openide.util.NbBundle.Messages;

@Messages("quicksearch=Hudson") // QuickSearch/Hudson#displayName
@Messages("quicksearch=Jenkins") // QuickSearch/Jenkins#displayName
public class SearchProviderImpl implements SearchProvider {

@Override public void evaluate(SearchRequest request, SearchResponse response) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -143,9 +143,9 @@ private String getProjectInfoString() {

@Messages({
"TXT_Instance_Prop_Name=Name",
"DESC_Instance_Prop_Name=Hudson's instance name",
"DESC_Instance_Prop_Name=Jenkins's instance name",
"TXT_Instance_Prop_Url=URL",
"DESC_Instance_Prop_Url=Hudson's instance URL",
"DESC_Instance_Prop_Url=Jenkins's instance URL",
"TXT_Instance_Prop_Sync=Autosynchronization time",
"DESC_Instance_Prop_Sync=Autosynchronization time in minutes (if it's 0 the autosynchronization is off)"
})
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -132,9 +132,9 @@ protected Sheet createSheet() {

@Messages({
"TXT_Job_Prop_Name=Name",
"DESC_Job_Prop_Name=Hudson's job name",
"DESC_Job_Prop_Name=Jenkins's job name",
"TXT_Job_Prop_Url=URL",
"DESC_Job_Prop_Url=Hudson's job URL",
"DESC_Job_Prop_Url=Jenkins's job URL",
"HudsonJobImpl.watched=Watched",
"HudsonJobImpl.watched_desc=Whether you wish to be notified of failures in this job."
})
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,12 +37,12 @@

@ServicesTabNodeRegistration(name=HudsonRootNode.HUDSON_NODE_NAME, displayName="#LBL_HudsonNode", shortDescription="#TIP_HudsonNode", iconResource=HudsonRootNode.ICON_BASE, position=488)
@Messages({
"LBL_HudsonNode=Hudson Builders",
"TIP_HudsonNode=Hudson continuous integration servers, including Jenkins."
"LBL_HudsonNode=Jenkins Builders",
"TIP_HudsonNode=Jenkins continuous integration servers, including Jenkins."
})
public class HudsonRootNode extends AbstractNode {

public static final String HUDSON_NODE_NAME = "hudson"; // NOI18N
public static final String HUDSON_NODE_NAME = "jenkins"; // NOI18N
static final String ICON_BASE = "org/netbeans/modules/hudson/ui/resources/hudson.png"; // NOI18N


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ public void run() {
@Messages({
"# {0} - job name",
"# {1} - server name",
"ProblemNotification.ignore.question=Do you wish to cease to receive notifications of failures in {0}? If you change your mind, use Services > Hudson Builders > {1} > {0} > Properties > Watched.",
"ProblemNotification.ignore.question=Do you wish to cease to receive notifications of failures in {0}? If you change your mind, use Services > Jenkins Builders > {1} > {0} > Properties > Watched.",
"# {0} - job name",
"ProblemNotification.ignore.title=Ignore Failures in {0}"
})
Expand Down
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,10 @@
# specific language governing permissions and limitations
# under the License.

LBL_InstanceWiz_Title=Add Hudson Instance
LBL_InstanceWiz_Title=Add Jenkins Instance
InstanceDialog.add=Add
# {0} - minimum supported Hudson version number
MSG_WrongVersion=Provide a valid Hudson root URL ({0} or newer).
# {0} - minimum supported Jenkins version number
MSG_WrongVersion=Provide a valid Jenkins root URL ({0} or newer).
MSG_FailedToConnect=Connection to server failed or resulted in error.
MSG_incorrect_redirects=Server fails to redirect query strings (http://seothegame.com/redirects-on-windows-servers-iis-61)

Expand All @@ -39,6 +39,6 @@ InstanceDialog.http_protocol=Must be an HTTP(S) URL.
InstancePropertiesVisual.proxyButton.AccessibleContext.accessibleDescription=Configure your HTTP(S) proxy.
InstancePropertiesVisual.autoSyncCheckBox.AccessibleContext.accessibleDescription=Automatically refresh the server periodically.
InstancePropertiesVisual.nameTxt.AccessibleContext.accessibleDescription=Name by which this server will be displayed.
InstancePropertiesVisual.urlTxt.AccessibleContext.accessibleDescription=Base location of the Hudson installation.
InstancePropertiesVisual.AccessibleContext.accessibleDescription=Register a Hudson server in the IDE.
InstancePropertiesVisual.urlTxt.AccessibleContext.accessibleDescription=Base location of the Jenkins installation.
InstancePropertiesVisual.AccessibleContext.accessibleDescription=Register a Jenkins server in the IDE.
InstancePropertiesVisual.autoSyncSpinner.AccessibleContext.accessibleDescription=Number of minutes between server refreshes.
Original file line number Diff line number Diff line change
Expand Up @@ -67,15 +67,15 @@ public void actionPerformed(ActionEvent e) {
public HudsonInstance show() {
dialog = DialogDisplayer.getDefault().createDialog(this);
dialog.setVisible(true);
LOG.log(Level.FINE, "Added Hudson instance: {0}", created);
LOG.log(Level.FINE, "Added Jenkins instance: {0}", created);
return created;
}

@NbBundle.Messages({
"# UI logging of adding new server",
"UI_HUDSON_SERVER_REGISTERED=Hudson server registered",
"UI_HUDSON_SERVER_REGISTERED=Jenkins server registered",
"# Usage Logging",
"USG_HUDSON_SERVER_REGISTERED=Hudson server registered"
"USG_HUDSON_SERVER_REGISTERED=Jenkins server registered"
})
private void tryToAdd() {
addButton.setEnabled(false);
Expand Down
7 changes: 3 additions & 4 deletions ide/hudson/src/org/netbeans/modules/hudson/Bundle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@

OpenIDE-Module-Display-Category=Base IDE
OpenIDE-Module-Long-Description=\
Helps browse and manage installations of the Hudson continuous integration server (http://hudson-ci.org/). \
http://wiki.netbeans.org/HudsonInNetBeans has more information.
OpenIDE-Module-Name=Hudson
OpenIDE-Module-Short-Description=Support for the Hudson continuous integration server.
Helps browse and manage installations of the Jenkins continuous integration server (https://www.jenkins.io/ ).
OpenIDE-Module-Name=Jenkins
OpenIDE-Module-Short-Description=Support for the Jenkins continuous integration server.
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
* This is not such a loss, since heavy users of folders are not likely to need lots of views anyway.
* The standard connector also assumes that there is an exported {@link primaryView} field,
* defined in the Jenkins version of the interface.
* <p>In the Hudson/Jenkins model, this would really in an inheritance hierarchy with {@link HudsonJob} and {@link HudsonInstance},
* <p>In the Jenkins model, this would really in an inheritance hierarchy with {@link HudsonJob} and {@link HudsonInstance},
* but due to the many methods in those interfaces which make no sense on folders, it seems better to separate them.
* @since hudson/1.31
*/
Expand Down
6 changes: 3 additions & 3 deletions ide/hudson/src/org/netbeans/modules/hudson/api/HudsonJob.java
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
public interface HudsonJob extends Comparable<HudsonJob> {

/**
* Describes state of the Hudson Job.
* Describes state of the Jenkins Job.
* See {@code hudson.model.BallColor}.
*/
public enum Color {
Expand Down Expand Up @@ -100,14 +100,14 @@ public boolean isRunning() {
public String getDisplayName();

/**
* Name of the Hudson Job
* Name of the Jenkins Job
*
* @return job's name
*/
public String getName();

/**
* URL of the Hudson Job
* URL of the Jenkins Job
*
* @return job url
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ public void run() {
delay();
HudsonManagerImpl.getDefault().addInstance(
HudsonInstanceImpl.createHudsonInstance(
"TestHudsonInstance" + i,
"TestJenkinsInstance" + i,
"http://testHudsonInstance" + i + "/",
"0"));
} catch (Throwable e) {
Expand All @@ -71,7 +71,7 @@ public void run() {
}
}
}
}, "AddHudsonInstances");
}, "AddJenkinsInstances");
addInstancesThread.start();

for (int i = 0; i < 10; i++) {
Expand Down