@@ -976,6 +976,7 @@ public Project createProject(Project project) throws GitLabApiException {
976976 * packagesEnabled (optional) - Enable or disable mvn packages repository feature
977977 * buildGitStrategy (optional) - set the build git strategy
978978 * buildCoverageRegex (optional) - set build coverage regex
979+ * ciConfigPath (optional) - Set path to CI configuration file
979980 * squashOption (optional) - set squash option for merge requests
980981 *
981982 * @param project the Project instance with the configuration for the new project
@@ -1024,6 +1025,7 @@ public Project createProject(Project project, String importUrl) throws GitLabApi
10241025 .withParam ("packages_enabled" , project .getPackagesEnabled ())
10251026 .withParam ("build_git_strategy" , project .getBuildGitStrategy ())
10261027 .withParam ("build_coverage_regex" , project .getBuildCoverageRegex ())
1028+ .withParam ("ci_config_path" , project .getCiConfigPath ());
10271029 .withParam ("suggestion_commit_message" , project .getSuggestionCommitMessage ())
10281030 .withParam ("remove_source_branch_after_merge" , project .getRemoveSourceBranchAfterMerge ())
10291031 .withParam ("squash_option" , project .getSquashOption ());
@@ -1224,13 +1226,14 @@ public Project createProject(String name, Integer namespaceId, String descriptio
12241226 * packagesEnabled (optional) - Enable or disable mvn packages repository feature
12251227 * buildGitStrategy (optional) - set the build git strategy
12261228 * buildCoverageRegex (optional) - set build coverage regex
1229+ * ciConfigPath (optional) - Set path to CI configuration file
1230+ * ciForwardDeploymentEnabled (optional) - When a new deployment job starts, skip older deployment jobs that are still pending
12271231 * squashOption (optional) - set squash option for merge requests
12281232 *
12291233 * NOTE: The following parameters specified by the GitLab API edit project are not supported:
12301234 * import_url
12311235 * tag_list array
12321236 * avatar
1233- * ci_config_path
12341237 * initialize_with_readme
12351238 *
12361239 * @param project the Project instance with the configuration for the new project
@@ -1271,6 +1274,8 @@ public Project updateProject(Project project) throws GitLabApiException {
12711274 .withParam ("packages_enabled" , project .getPackagesEnabled ())
12721275 .withParam ("build_git_strategy" , project .getBuildGitStrategy ())
12731276 .withParam ("build_coverage_regex" , project .getBuildCoverageRegex ())
1277+ .withParam ("ci_config_path" , project .getCiConfigPath ())
1278+ .withParam ("ci_forward_deployment_enabled" , project .getCiForwardDeploymentEnabled ());
12741279 .withParam ("merge_method" , project .getMergeMethod ())
12751280 .withParam ("suggestion_commit_message" , project .getSuggestionCommitMessage ())
12761281 .withParam ("remove_source_branch_after_merge" , project .getRemoveSourceBranchAfterMerge ())
0 commit comments