Skip to content

feat(job): consolidate job configuration updates#1119

Open
clintonsteiner wants to merge 7 commits intopycontribs:masterfrom
clintonsteiner:block/job-config-updates
Open

feat(job): consolidate job configuration updates#1119
clintonsteiner wants to merge 7 commits intopycontribs:masterfrom
clintonsteiner:block/job-config-updates

Conversation

@clintonsteiner
Copy link
Copy Markdown
Collaborator

This consolidates the overlapping job-configuration helpers into one merge block to reduce repeated conflicts on jenkinsapi/job.py.

Supersedes: #1101, #1108, #1110

Port from jenkins_api_client (Ruby):
- Job.wipe_out_workspace(): POST /doWipeOutWorkspace to clear build workspace
- Job.trigger_scm_poll(): POST /polling to trigger SCM change detection
Port from jenkins_api_client (Ruby):
- Job.change_description(description): update the job description field
  via config.xml without requiring callers to manage raw XML
Port from jenkins_api_client (Ruby):
- set_concurrent_builds(enabled): toggle concurrent build execution
- block/unblock_build_when_downstream_building(): control downstream blocking
- block/unblock_build_when_upstream_building(): control upstream blocking
- restrict_to_node(node_name): pin job to specific node or label
@clintonsteiner clintonsteiner force-pushed the block/job-config-updates branch from 6d444bf to b88fc03 Compare March 31, 2026 04:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant