summaryrefslogtreecommitdiff
path: root/app/helpers/gitlab_helper.rb
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dzaporozhets@gitlab.com>2014-11-05 09:51:39 +0000
committerDmitriy Zaporozhets <dzaporozhets@gitlab.com>2014-11-05 09:51:39 +0000
commit3559e3906a005a71183032bc06cf7538fc9d7d05 (patch)
tree5cd5f8f194ef03e10cac10cd7860c86aff5939bb /app/helpers/gitlab_helper.rb
parentf18299e45279ce2ffdaee22482e30e6f37c1f5b6 (diff)
parente1ea394072b9358d77a02a021cc79a37ddee1409 (diff)
downloadgitlab-ci-3559e3906a005a71183032bc06cf7538fc9d7d05.tar.gz
Merge branch 'parallel-builds' into 'master'
Parallel builds This merge contains next changes: * Replace project scripts textarea with jobs * Create multiple builds on push if there are multiple jobs * Change UI hierarchy to next chain: project -> commit -> builds * Requires GitLab 7.5.0pre or higher See merge request !83
Diffstat (limited to 'app/helpers/gitlab_helper.rb')
-rw-r--r--app/helpers/gitlab_helper.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/helpers/gitlab_helper.rb b/app/helpers/gitlab_helper.rb
index a8cac14..a5d3192 100644
--- a/app/helpers/gitlab_helper.rb
+++ b/app/helpers/gitlab_helper.rb
@@ -15,6 +15,6 @@ module GitlabHelper
def gitlab_commit_link project, sha
gitlab_url = project.gitlab_url.dup
gitlab_url << "/commit/#{sha}"
- link_to sha, gitlab_url
+ link_to sha[0...10], gitlab_url
end
end