-
New Feature
-
Resolution: Unresolved
-
Major
-
None
-
Gitea 1.17.2
Jenkins 2.361.1
Gitea Plugin 1.4.3
This is a feature request:
Similar to the Jenkins gitlab-plugin it would be very handy to have the possibility to skip build for Work in Progress (W.I.P.) Pull Requests in the gitea-plugin.
[JENKINS-69725] Add possibility to skip builds for WIP PRs
Issue Type | Original: Bug [ 1 ] | New: New Feature [ 2 ] |
Description |
Original:
Jenkins scans regularly the multibranch pipelines.
This scan fails if within a repository exists a pull request from a personal fork: {noformat} Checking pull request #5042 ‘Jenkinsfile’ found Met criteria No changes detected: PR-5042 (still at f28e872c1c0e9c2afc1dfd902ccd4beb046b3b84+683a03dc45583ec40ab8d08d58d0cd5c29addddd) Checking pull request #5041 ERROR: [Tue Sep 27 23:03:29 CEST 2022] Could not fetch branches from source org.jenkinsci.plugin.gitea.GiteaSCMNavigator::https://gitea.boom.org::bangorg::bimrepo [Tue Sep 27 23:03:29 CEST 2022] Finished branch indexing. Indexing took 29 sec FATAL: Failed to recompute children of MultiBranchPipelineName » bimrepo org.jenkinsci.plugin.gitea.client.api.GiteaHttpStatusException: HTTP 404/Not Found at org.jenkinsci.plugin.gitea.client.impl.DefaultGiteaConnection.getObject(DefaultGiteaConnection.java:867) at org.jenkinsci.plugin.gitea.client.impl.DefaultGiteaConnection.fetchRepository(DefaultGiteaConnection.java:200) at org.jenkinsci.plugin.gitea.GiteaSCMFileSystem$BuilderImpl.build(GiteaSCMFileSystem.java:170) at org.jenkinsci.plugin.gitea.GiteaSCMSource.createProbe(GiteaSCMSource.java:620) at jenkins.scm.api.trait.SCMSourceRequest.process(SCMSourceRequest.java:339) at jenkins.scm.api.trait.SCMSourceRequest.process(SCMSourceRequest.java:249) at org.jenkinsci.plugin.gitea.GiteaSCMSource.retrieve(GiteaSCMSource.java:386) at jenkins.scm.api.SCMSource._retrieve(SCMSource.java:373) at jenkins.scm.api.SCMSource.fetch(SCMSource.java:283) at jenkins.branch.MultiBranchProject.computeChildren(MultiBranchProject.java:641) at com.cloudbees.hudson.plugins.folder.computed.ComputedFolder.updateChildren(ComputedFolder.java:278) at com.cloudbees.hudson.plugins.folder.computed.FolderComputation.run(FolderComputation.java:166) at jenkins.branch.MultiBranchProject$BranchIndexing.run(MultiBranchProject.java:1032) at hudson.model.ResourceController.execute(ResourceController.java:107) at hudson.model.Executor.run(Executor.java:449) Finished: FAILURE {noformat} |
New:
This is a feature request:
Similar to the Jenkins [gitlab-plugin|https://github.com/jenkinsci/gitlab-plugin/commit/b5c73fe5f711467b5d73c7f586ae371ffcf87c83] it would be very handy to have the possibility to skip build for Work in Progress (W.I.P.) Pull Requests. |
Description |
Original:
This is a feature request:
Similar to the Jenkins [gitlab-plugin|https://github.com/jenkinsci/gitlab-plugin/commit/b5c73fe5f711467b5d73c7f586ae371ffcf87c83] it would be very handy to have the possibility to skip build for Work in Progress (W.I.P.) Pull Requests. |
New:
This is a feature request:
Similar to the Jenkins [gitlab-plugin|https://github.com/jenkinsci/gitlab-plugin/commit/b5c73fe5f711467b5d73c7f586ae371ffcf87c83] it would be very handy to have the possibility to skip build for Work in Progress (W.I.P.) Pull Requests in the gitea-plugin. |
Priority | Original: Minor [ 4 ] | New: Major [ 3 ] |
This issue is still relevant on Gitea 1.22.1, Jenkins 2.462.1, Gitea Plugin 220.v4618c82a_40fb
Due to the complexity of our build system, our CI builds are fragile, and PRs touching the build system can break our workflow. We still need those PRs to improve our build system and fix the root issue. But it's important for us to be able to review such work without running breaking builds more than necessary.
This feature is a must-have for us.