Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
佳 邓
Gitlab4j Api
Commits
6098c820
Unverified
Commit
6098c820
authored
Mar 13, 2018
by
Greg Messner
Committed by
GitHub
Mar 13, 2018
Browse files
Fixed typo.
parent
259dcad6
Changes
1
Hide whitespace changes
Inline
Side-by-side
README.md
View file @
6098c820
...
@@ -289,13 +289,13 @@ List<Runner> runners = gitLabApi.getRunnersApi().getAllRunners();
...
@@ -289,13 +289,13 @@ List<Runner> runners = gitLabApi.getRunnersApi().getAllRunners();
#### ServicesApi
#### ServicesApi
```
java
```
java
// Activates the gitlab-ci service.
// Activates the gitlab-ci service.
g
e
tLabApi
.
getServicesApi
().
setGitLabCI
(
"project-name"
,
"auth-token"
,
"project-ci-url"
);
g
i
tLabApi
.
getServicesApi
().
setGitLabCI
(
"project-name"
,
"auth-token"
,
"project-ci-url"
);
```
```
#### SessionApi
#### SessionApi
```
java
```
java
// Log in to the GitLab server and get the session info
// Log in to the GitLab server and get the session info
g
e
tLabApi
.
getSessionApi
().
login
(
"your-username"
,
"your-email"
,
"your-password"
);
g
i
tLabApi
.
getSessionApi
().
login
(
"your-username"
,
"your-email"
,
"your-password"
);
```
```
#### SystemHooksApi
#### SystemHooksApi
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment