Skip to content

Commit

Permalink
Change links to gocd.org
Browse files Browse the repository at this point in the history
  • Loading branch information
varshavaradarajan committed Jun 8, 2017
1 parent b935ed3 commit 51e9b44
Show file tree
Hide file tree
Showing 171 changed files with 248 additions and 248 deletions.
6 changes: 3 additions & 3 deletions CONTRIBUTING.md
@@ -1,9 +1,9 @@
# Contributing

We encourage you to contribute to Go. For information on contributing to this project, please see our <a href="https://www.gocd.io/contribute/">contributor's guide</a>.
A lot of useful information like links to user documentation, design documentation, mailing lists etc can be found in the <a href="https://www.gocd.io/community/resources.html">resources</a> section.
We encourage you to contribute to Go. For information on contributing to this project, please see our <a href="https://www.gocd.org/contribute/">contributor's guide</a>.
A lot of useful information like links to user documentation, design documentation, mailing lists etc can be found in the <a href="https://www.gocd.org/community/resources.html">resources</a> section.

## Contributing Code?

Signing the [Contributor License Agreement (CLA)](https://www.gocd.io/contribute/cla.html) is required before any of your code or pull-requests are accepted.
Signing the [Contributor License Agreement (CLA)](https://www.gocd.org/contribute/cla.html) is required before any of your code or pull-requests are accepted.

8 changes: 4 additions & 4 deletions README.md
Expand Up @@ -4,16 +4,16 @@

This is the main repository for GoCD - a continuous delivery server. GoCD helps you automate and streamline the build-test-release cycle for worry-free, continuous delivery of your product.

All information to help you get started with GoCD can be found on the [GoCD website](https://gocd.io).
All information to help you get started with GoCD can be found on the [GoCD website](https://gocd.org).

## Development Setup

This is a Java/JRuby on Rails project. Here is the guide to setup your [development environment](https://developer.gocd.io/current/2/2.1.html).
This is a Java/JRuby on Rails project. Here is the guide to setup your [development environment](https://developer.gocd.org/current/2/2.1.html).

## Contributing

We'd love it if you contributed to GoCD. For information on contributing to this project, please see our [contributor's guide](https://gocd.io/contribute).
A lot of useful information like links to user documentation, design documentation, mailing lists etc. can be found in the [resources](https://gocd.io/community/resources.html) section.
We'd love it if you contributed to GoCD. For information on contributing to this project, please see our [contributor's guide](https://gocd.org/contribute).
A lot of useful information like links to user documentation, design documentation, mailing lists etc. can be found in the [resources](https://gocd.org/community/resources.html) section.

## License

Expand Down
2 changes: 1 addition & 1 deletion base/src/com/thoughtworks/go/util/SystemEnvironment.java
Expand Up @@ -175,7 +175,7 @@ public class SystemEnvironment implements Serializable, ConfigDirProvider {
public static GoSystemProperty<Boolean> GO_CONFIG_REPO_PERIODIC_GC = new GoBooleanSystemProperty("go.config.repo.gc.periodic", false);

public static GoSystemProperty<String> GO_UPDATE_SERVER_PUBLIC_KEY_FILE_NAME = new GoStringSystemProperty("go.update.server.public.key.file.name", "go_update_server.pub");
public static GoSystemProperty<String> GO_UPDATE_SERVER_URL = new GoStringSystemProperty("go.update.server.url", "https://update.gocd.io/channels/supported/latest.json");
public static GoSystemProperty<String> GO_UPDATE_SERVER_URL = new GoStringSystemProperty("go.update.server.url", "https://update.gocd.org/channels/supported/latest.json");
public static GoSystemProperty<Boolean> GO_CHECK_UPDATES = new GoBooleanSystemProperty("go.check.updates", true);

public static GoSystemProperty<Integer> GO_ELASTIC_PLUGIN_CREATE_AGENT_THREADS = new GoIntSystemProperty("go.elasticplugin.createagent.threads", 5);
Expand Down
Expand Up @@ -70,7 +70,7 @@ public abstract class LinuxPackagingTask extends DefaultTask {
cmd += ['--category', 'Development/Build Tools']
cmd += ['--architecture', 'all']
cmd += ['--maintainer', 'ThoughtWorks, Inc.']
cmd += ['--url', 'https://gocd.io']
cmd += ['--url', 'https://gocd.org']
cmd += ['--before-install', project.file('linux/shared/before-install.sh.erb')]
cmd += ['--before-upgrade', project.file("linux/${packageType()}/before-upgrade.sh.erb")]
cmd += ['--after-upgrade', project.file("linux/${packageType()}/after-upgrade.sh.erb")]
Expand Down
Expand Up @@ -32,7 +32,7 @@ public class DirectoryEntries extends ArrayList<DirectoryEntry> implements HtmlR

public void render(HtmlRenderer renderer) {
if (isArtifactsDeleted || isEmpty()) {
HtmlElement element = p().content("Artifacts for this job instance are unavailable as they may have been <a href='https://docs.gocd.io/current/configuration/delete_artifacts.html' target='blank'>purged by Go</a> or deleted externally. "
HtmlElement element = p().content("Artifacts for this job instance are unavailable as they may have been <a href='https://docs.gocd.org/current/configuration/delete_artifacts.html' target='blank'>purged by Go</a> or deleted externally. "
+ "Re-run the stage or job to generate them again.");
element.render(renderer);
}
Expand Down
Expand Up @@ -49,7 +49,7 @@ public void checkRepoAndAddWarningIfRequired() {
"the configured threshold. As the size of config repo increases, the config save operations tend to slow down " +
"drastically. It is recommended that you run 'git gc' from " +
"'&lt;go server installation directory&gt;/db/config.git/' to address this problem. Go can do this " +
"automatically on a periodic basis if you enable automatic GC. <a target='_blank' href='https://docs.gocd.io/current/advanced_usage/config_repo.html'>read more...</a>";
"automatically on a periodic basis if you enable automatic GC. <a target='_blank' href='https://docs.gocd.org/current/advanced_usage/config_repo.html'>read more...</a>";

serverHealthService.update(ServerHealthState.warningWithHtml(message, description, HealthStateType.general(HealthStateScope.forConfigRepo(SCOPE))));
LOGGER.warn("{}:{}", message, description);
Expand Down
Expand Up @@ -55,7 +55,7 @@ public void shouldAddWarningWhenConfigRepoLooseObjectCountGoesBeyondTheConfigure
"the configured threshold. As the size of config repo increases, the config save operations tend to slow down " +
"drastically. It is recommended that you run 'git gc' from " +
"'&lt;go server installation directory&gt;/db/config.git/' to address this problem. Go can do this " +
"automatically on a periodic basis if you enable automatic GC. <a target='_blank' href='https://docs.gocd.io/current/advanced_usage/config_repo.html'>read more...</a>";
"automatically on a periodic basis if you enable automatic GC. <a target='_blank' href='https://docs.gocd.org/current/advanced_usage/config_repo.html'>read more...</a>";

assertThat(healthStates.get(0).getDescription(), is(description));
assertThat(healthStates.get(0).getLogLevel(), is(HealthStateLevel.WARNING));
Expand Down
Expand Up @@ -89,7 +89,7 @@ private static void setupPlugins() throws IOException, InterruptedException {
if (passwordFilePluginJar.exists()) {
System.out.println("Found a local copy of passwordFile plugin, using it.");
} else {
new ProcessRunner().command("curl", "-L", "https://build.gocd.io/go/files/plugins/latest/build/latest/file-authentication-plugin/filebased-authentication-plugin.jar", "-u 'view:password'", "--output", passwordFilePluginJar.getAbsolutePath()).failOnError(true).run();
new ProcessRunner().command("curl", "-L", "https://build.gocd.org/go/files/plugins/latest/build/latest/file-authentication-plugin/filebased-authentication-plugin.jar", "-u 'view:password'", "--output", passwordFilePluginJar.getAbsolutePath()).failOnError(true).run();
}
new ZipUtil().zipFolderContents(pluginsDist, new File(classpath(), "plugins.zip"));
}
Expand Down
Expand Up @@ -19,5 +19,5 @@
echo "Installation of GoCD Agent completed."
echo "Now please edit /etc/default/go-agent and set GO_SERVER_URL to the url address of your GoCD Server (https://example.com:8154/go)."
echo "To ensure full end-to-end transport security between the agent and server"
echo "see https://docs.gocd.io/current/installation/ssl_tls/end_to_end_transport_security.html"
echo "see https://docs.gocd.org/current/installation/ssl_tls/end_to_end_transport_security.html"
echo "Once that is done start the GoCD Agent with '/etc/init.d/go-agent start'"
2 changes: 1 addition & 1 deletion installers/osx-shared/JavaApplicationStub64
Expand Up @@ -241,7 +241,7 @@ test -z "${JAVACMD}" -o ! -x "${JAVACMD}" && show_message_and_exit 2 "${APPLICAT
"You need to have Java 1.7 or newer installed to run the ${APPLICATION_NAME} application." "" \
"Java found was: \\\"${JAVACMD}\\\"" "" \
"If you do have Java 1.7 or newer installed, please see: \
https://docs.gocd.io/current/installation/troubleshoot_installer.html#mac_java"
https://docs.gocd.org/current/installation/troubleshoot_installer.html#mac_java"

COMMAND=()
add_arg "$JAVACMD"
Expand Down
4 changes: 2 additions & 2 deletions installers/windows-shared/windows-installer-base.nsi
Expand Up @@ -253,9 +253,9 @@ Section "Install"
; Write the uninstall keys for Windows
WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\Go $%NAME%" "DisplayName" "Go $%NAME%"
WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\Go $%NAME%" "DisplayVersion" "$%VERSION%"
WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\Go $%NAME%" "HelpLink" "https://docs.gocd.io/current/"
WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\Go $%NAME%" "HelpLink" "https://docs.gocd.org/current/"
WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\Go $%NAME%" "InstallLocation" "$INSTDIR"
WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\Go $%NAME%" "URLInfoAbout" "https://www.gocd.io/"
WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\Go $%NAME%" "URLInfoAbout" "https://www.gocd.org/"
WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\Go $%NAME%" "UninstallString" '"$INSTDIR\uninstall.exe"'
WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\Go $%NAME%" "DisplayIcon" '"$INSTDIR\go.ico"'
WriteRegDWORD HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\Go $%NAME%" "NoModify" 1
Expand Down
Expand Up @@ -33,7 +33,7 @@
* Please refer to the Go Plugin documentation for more details on how to use
* this annotation.
*
* @see <a href="https://developer.gocd.io/current/writing_go_plugins/go_plugins_basics.html" target="_blank">Go Plugin Documentation</a>
* @see <a href="https://developer.gocd.org/current/writing_go_plugins/go_plugins_basics.html" target="_blank">Go Plugin Documentation</a>
*
* @author Go Team
*/
Expand Down
Expand Up @@ -38,7 +38,7 @@
*
* Please refer to the Go Plugin documentation for more details.
*
* @see <a href="https://developer.gocd.io/current/writing_go_plugins/go_plugins_basics.html" target="_blank">Go Plugin Documentation</a>
* @see <a href="https://developer.gocd.org/current/writing_go_plugins/go_plugins_basics.html" target="_blank">Go Plugin Documentation</a>
* @see com.thoughtworks.go.plugin.api.info.PluginContext
* @see Load
*
Expand Down
Expand Up @@ -41,7 +41,7 @@
*
* Please refer to the Go Plugin documentation for more details.
*
* @see <a href="https://developer.gocd.io/current/writing_go_plugins/go_plugins_basics.html" target="_blank">Go Plugin Documentation</a>
* @see <a href="https://developer.gocd.org/current/writing_go_plugins/go_plugins_basics.html" target="_blank">Go Plugin Documentation</a>
* @see com.thoughtworks.go.plugin.api.info.PluginContext
* @see Load
*
Expand Down
Expand Up @@ -22,7 +22,7 @@
/**
* Descriptor represent the plugin descriptor XML file.
*
* @see <a href="https://developer.gocd.io/current/writing_go_plugins/go_plugins_basics.html" target="_blank">Go Plugin Documentation</a>
* @see <a href="https://developer.gocd.org/current/writing_go_plugins/go_plugins_basics.html" target="_blank">Go Plugin Documentation</a>
*
* @author Go Team
*/
Expand Down
Expand Up @@ -24,7 +24,7 @@
* Logger for use by plugin developers.
*
* @author Go Team
* @see <a href="https://developer.gocd.io/current/writing_go_plugins/go_plugins_basics.html" target="_blank">Go Plugin Documentation</a>
* @see <a href="https://developer.gocd.org/current/writing_go_plugins/go_plugins_basics.html" target="_blank">Go Plugin Documentation</a>
*/
public class Logger {
private String pluginId;
Expand Down
2 changes: 1 addition & 1 deletion server/resources/available.toggles
Expand Up @@ -3,7 +3,7 @@
"toggles": [
{
"key": "pipeline_comment_feature_toggle_key",
"description": "Enables commenting on a pipeline run, in the pipeline history view. See more at: https://docs.gocd.io/current/beta/comment_on_pipeline_run.html. Default: off.",
"description": "Enables commenting on a pipeline run, in the pipeline history view. See more at: https://docs.gocd.org/current/beta/comment_on_pipeline_run.html. Default: off.",
"value": false
},
{
Expand Down
Expand Up @@ -32,7 +32,7 @@ public class EmailMessageDrafter {
+ "When the available space goes below %sMb, Go will stop scheduling. "
+ "Please ensure enough space is available. You can read more about Go's artifacts repository, "
+ "including our recommendation to create a separate partition for it at "
+ "https://docs.gocd.io/current/installation/configuring_server_details.html\n";
+ "https://docs.gocd.org/current/installation/configuring_server_details.html\n";

private static final String NO_ARTIFACTS_DISK_SPACE_EMAIL =
"The email has been sent out automatically by the Go server at (%s) to Go administrators.\n"
Expand All @@ -41,7 +41,7 @@ public class EmailMessageDrafter {
+ "because it has less than %sMb of disk space available at %s to store artifacts. "
+ "Please ensure enough space is available. You can read more about Go's artifacts repository, "
+ "including our recommendation to create a separate partition for it at "
+ "https://docs.gocd.io/current/installation/configuring_server_details.html\n";
+ "https://docs.gocd.org/current/installation/configuring_server_details.html\n";

private static final String LOW_DATABASE_DISK_SPACE_EMAIL =
"The email has been sent out automatically by the Go server at (%s) to Go administrators.\n"
Expand Down
Expand Up @@ -294,7 +294,7 @@ public void updateRuntimeInfo(AgentRuntimeInfo info) {
LOGGER.warn(format("Found agent [%s] with duplicate uuid. Please check the agent installation.", info.agentInfoDebugString()));
serverHealthService.update(
ServerHealthState.warning(format("[%s] has duplicate unique identifier which conflicts with [%s]", info.agentInfoForDisplay(), findAgentAndRefreshStatus(info.getUUId()).agentInfoForDisplay()),
"Please check the agent installation. Click <a href='https://docs.gocd.io/current/faq/agent_guid_issue.html' target='_blank'>here</a> for more info.",
"Please check the agent installation. Click <a href='https://docs.gocd.org/current/faq/agent_guid_issue.html' target='_blank'>here</a> for more info.",
HealthStateType.duplicateAgent(HealthStateScope.forAgent(info.getCookie())), Timeout.THIRTY_SECONDS));
throw new AgentWithDuplicateUUIDException(format("Agent [%s] has invalid cookie", info.agentInfoDebugString()));
}
Expand Down
Expand Up @@ -67,7 +67,7 @@ private String lowArtifactDiskSpaceEmail(String ip, String size, int noDiskSpace
+ "When the available space goes below %sMb, Go will stop scheduling. "
+ "Please ensure enough space is available. You can read more about Go's artifacts repository, "
+ "including our recommendation to create a separate partition for it at "
+ "https://docs.gocd.io/current/installation/configuring_server_details.html\n", ip, size, artifactRoot, noDiskSpaceSize);
+ "https://docs.gocd.org/current/installation/configuring_server_details.html\n", ip, size, artifactRoot, noDiskSpaceSize);
}

private String noArtifactDiskSpaceEmail(String ip, String size) {
Expand All @@ -76,6 +76,6 @@ private String noArtifactDiskSpaceEmail(String ip, String size) {
+ "This server has stopped scheduling because it has less than %sMb of disk space available at %s to store artifacts. "
+ "Please ensure enough space is available. You can read more about Go's artifacts repository, "
+ "including our recommendation to create a separate partition for it at "
+ "https://docs.gocd.io/current/installation/configuring_server_details.html\n", ip, size, artifactRoot);
+ "https://docs.gocd.org/current/installation/configuring_server_details.html\n", ip, size, artifactRoot);
}
}
Expand Up @@ -113,7 +113,7 @@ public void shouldThrowExceptionWhenADuplicateAgentTriesToUpdateStatus() throws
assertThat(e.getMessage(), is(format("Agent [%s] has invalid cookie", runtimeInfo.agentInfoDebugString())));
assertThat(Arrays.asList(logFixture.getMessages()), hasItem(format("Found agent [%s] with duplicate uuid. Please check the agent installation.", runtimeInfo.agentInfoDebugString())));
verify(serverHealthService).update(ServerHealthState.warning(format("[%s] has duplicate unique identifier which conflicts with [%s]", runtimeInfo.agentInfoForDisplay(), original.agentInfoForDisplay()),
"Please check the agent installation. Click <a href='https://docs.gocd.io/current/faq/agent_guid_issue.html' target='_blank'>here</a> for more info.",
"Please check the agent installation. Click <a href='https://docs.gocd.org/current/faq/agent_guid_issue.html' target='_blank'>here</a> for more info.",
HealthStateType.duplicateAgent(HealthStateScope.forAgent(runtimeInfo.getCookie())), Timeout.THIRTY_SECONDS));
}
}
Expand Down
Expand Up @@ -128,7 +128,7 @@ public void shouldReturnFalseIfTheArtifactFolderExceedSizeLimit() {

@Test
public void shouldFormatLowDiskSpaceWarningMailWithHelpLinksHttpAndSiteUrl() throws URISyntaxException {
String expectedHelpUrl = "https://docs.gocd.io/current/installation/configuring_server_details.html";
String expectedHelpUrl = "https://docs.gocd.org/current/installation/configuring_server_details.html";
ServerConfig serverConfig = new ServerConfig(null, null, new ServerSiteUrlConfig("http://test.host"), new ServerSiteUrlConfig("https://test.host"));
CruiseConfig cruiseConfig = new BasicCruiseConfig();
cruiseConfig.setServerConfig(serverConfig);
Expand Down
Expand Up @@ -107,7 +107,7 @@ public void shouldShowAbsolutePathOfArtifactDirInWarningMessage() throws IOExcep

@Test
public void shouldFormatLowDiskSpaceWarningMailWithHelpLinksHttpAndSiteUrl() throws URISyntaxException {
String expectedHelpUrl = "https://docs.gocd.io/current/installation/configuring_server_details.html";
String expectedHelpUrl = "https://docs.gocd.org/current/installation/configuring_server_details.html";

GoConfigService goConfigService = mockGoConfigServiceToHaveSiteUrl();

Expand Down
Expand Up @@ -23,7 +23,7 @@ class AgentSummaryRepresenter < ApiV1::BaseRepresenter
end

link :doc do |opts|
'https://api.gocd.io/#agents'
'https://api.gocd.org/#agents'
end

link :find do |opts|
Expand Down
Expand Up @@ -19,7 +19,7 @@ class BackupRepresenter < ApiV1::BaseRepresenter
alias_method :backup, :represented

link :doc do
'https://api.gocd.io/#backups'
'https://api.gocd.org/#backups'
end

property :getTime, as: :time
Expand Down
Expand Up @@ -28,7 +28,7 @@ class EnvironmentConfigRepresenter < ApiV1::BaseRepresenter
end

link :doc do |opts|
'https://api.gocd.io/#environment-config'
'https://api.gocd.org/#environment-config'
end

link :find do |opts|
Expand Down

0 comments on commit 51e9b44

Please sign in to comment.