@@ -139,7 +139,7 @@ public Stream<Job> getJobsStream(Object projectIdOrPath, JobScope scope) throws
139139 * @return a list containing the jobs for the specified project ID and pipeline ID
140140 * @throws GitLabApiException if any exception occurs during execution
141141 */
142- public List <Job > getJobsForPipeline (Object projectIdOrPath , int pipelineId ) throws GitLabApiException {
142+ public List <Job > getJobsForPipeline (Object projectIdOrPath , long pipelineId ) throws GitLabApiException {
143143 Response response = get (Response .Status .OK , getDefaultPerPageParam (),
144144 "projects" , getProjectIdOrPath (projectIdOrPath ), "pipelines" , pipelineId , "jobs" );
145145 return (response .readEntity (new GenericType <List <Job >>() {}));
@@ -156,7 +156,7 @@ public List<Job> getJobsForPipeline(Object projectIdOrPath, int pipelineId) thro
156156 * @return a list containing the jobs for the specified project ID and pipeline ID
157157 * @throws GitLabApiException if any exception occurs during execution
158158 */
159- public List <Job > getJobsForPipeline (Object projectIdOrPath , int pipelineId , JobScope scope ) throws GitLabApiException {
159+ public List <Job > getJobsForPipeline (Object projectIdOrPath , long pipelineId , JobScope scope ) throws GitLabApiException {
160160 GitLabApiForm formData = new GitLabApiForm ().withParam ("scope" , scope ).withParam (PER_PAGE_PARAM , getDefaultPerPage ());
161161 Response response = get (Response .Status .OK , formData .asMap (), "projects" , getProjectIdOrPath (projectIdOrPath ), "pipelines" , pipelineId , "jobs" );
162162 return (response .readEntity (new GenericType <List <Job >>() {}));
@@ -173,7 +173,7 @@ public List<Job> getJobsForPipeline(Object projectIdOrPath, int pipelineId, JobS
173173 * @return a list containing the jobs for the specified project ID and pipeline ID
174174 * @throws GitLabApiException if any exception occurs during execution
175175 */
176- public Pager <Job > getJobsForPipeline (Object projectIdOrPath , int pipelineId , int itemsPerPage ) throws GitLabApiException {
176+ public Pager <Job > getJobsForPipeline (Object projectIdOrPath , long pipelineId , int itemsPerPage ) throws GitLabApiException {
177177 return (new Pager <Job >(this , Job .class , itemsPerPage , getDefaultPerPageParam (),
178178 "projects" , getProjectIdOrPath (projectIdOrPath ), "pipelines" , pipelineId , "jobs" ));
179179 }
@@ -187,7 +187,7 @@ public Pager<Job> getJobsForPipeline(Object projectIdOrPath, int pipelineId, int
187187 * @return a Stream containing the jobs for the specified project ID
188188 * @throws GitLabApiException if any exception occurs during execution
189189 */
190- public Stream <Job > getJobsStream (Object projectIdOrPath , int pipelineId ) throws GitLabApiException {
190+ public Stream <Job > getJobsStream (Object projectIdOrPath , long pipelineId ) throws GitLabApiException {
191191 return (getJobsForPipeline (projectIdOrPath , pipelineId , getDefaultPerPage ()).stream ());
192192 }
193193
0 commit comments