Class: Gitlab::Checks::ProjectCreated

Inherits:
PostPushMessage show all
Defined in:
lib/gitlab/checks/project_created.rb

Constant Summary collapse

PROJECT_CREATED =
"project_created"

Instance Method Summary collapse

Methods inherited from PostPushMessage

#add_message, fetch_message, #initialize

Constructor Details

This class inherits a constructor from Gitlab::Checks::PostPushMessage

Instance Method Details

#messageObject


8
9
10
11
12
13
14
15
16
17
18
19
20
# File 'lib/gitlab/checks/project_created.rb', line 8

def message
  <<~MESSAGE

  The private project #{project.full_path} was successfully created.

  To configure the remote, run:
    git remote add origin #{url_to_repo}

  To view the project, visit:
    #{project_url}

  MESSAGE
end