jenkinsci / plasticscm-plugin

A plugin for Jenkins to be able to use Plastic SCM
MIT License
16 stars 31 forks source link

Add Mergebot features #63

Closed mig42 closed 1 year ago

mig42 commented 1 year ago

This PR brings the functionality currently located in the Mergebot plugin.

Installing the plugin will enable DevOps workflows from Plastic SCM to be triggered in Jenkins. Mergebots trigger builds, setting the spec to build in a specific parameter. The Mergebot SCM picks that up and uses it to checkout the sources.

The benefit of this merge is keeping a single codebase for both SCM plugins, and unlock the latest features in the Mergebot plugin: cm as auto-installing tool, setting per-project credentials, cleanup modes.

This PR is still a draft. Pending to do:

Testing done

There are a few unit tests added, and the functionality was verified via manual testing.

Tests include:

Submitter checklist