Skip to content
Snippets Groups Projects
Commit aa15eb81 authored by Martin Lowe's avatar Martin Lowe :flag_ca:
Browse files

Merge branch 'malowe/master/group-wiki-fix' into 'master'

Add check for group wiki repository envvar pattern (group-##-wiki)

See merge request eclipsefdn/it/api/git-eca-rest-api!77
parents e6f02537 b0ec407d
No related branches found
No related tags found
1 merge request!77Add check for group wiki repository envvar pattern (group-##-wiki)
Pipeline #3563 passed
...@@ -55,7 +55,7 @@ gl_repo = ENV['GL_REPOSITORY'] ...@@ -55,7 +55,7 @@ gl_repo = ENV['GL_REPOSITORY']
if (nil_or_empty(gl_repo)) then if (nil_or_empty(gl_repo)) then
puts "No Gitlab repository set, likely dealing with non-repo commit, skipping" puts "No Gitlab repository set, likely dealing with non-repo commit, skipping"
exit 0 exit 0
elsif (gl_repo =~ /^wiki-/) then elsif (gl_repo =~ /^wiki-/ || gl_repo =~ /^group-\d+-wiki$/) then
puts "Commit is associated with a wiki, and does not need to be validated. Skipping." puts "Commit is associated with a wiki, and does not need to be validated. Skipping."
exit 0 exit 0
elsif (gl_repo !~ /^project-/) then elsif (gl_repo !~ /^project-/) then
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment