Patrick Posted November 11, 2021 Report Share Posted November 11, 2021 Hi, I currently have a build pipeline setup utilizing Jenkins which launches agents to actually conduct builds. The jenkins server itself is extremely lightweight and doesn't actually host the repo on itself. I took a look through the documentation and did a few searches, but was unable to find a way to access information about a cloud repo via an API. I would like to grab information about branches and their changesets prior to launching my agents when conducting builds so that I can display more info for our webhook when starting a build. Any ideas? Link to comment Share on other sites More sharing options...
calbzam Posted November 12, 2021 Report Share Posted November 12, 2021 Hi, You can use the "cm find" commands to query the cloud repos and get the information you need: https://www.plasticscm.com/documentation/cmdrunner/plastic-scm-version-control-cmdrunner-guide https://www.plasticscm.com/documentation/cmfind/plastic-scm-version-control-query-system-guide Regards, Carlos. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now