Skip to main content

2.2 Release list → Jenkins run

Release list tab · momo-ticket-system ext API · Jenkins classic remote API

Usermomo-cogworkmomo-ticket-systemext APIJenkinsOpen the “Release list” tabGET /api/ext/releases?ticketNumber=&deployer=release list (release_status, releaseType, urgentReason…)Click a release ticketGET /api/ext/releases/{id} (with details[])system / developer / branch / program count / config pathClick a systemGET /api/ext/systems/{systemId}/jenkins-jobsJenkins jobs for that system (sorted by executionOrder)Tick the jobs to run → enter the run screenbuildWithParameters (RELEASE_ID injected automatically)202 + Location (queue item)loop · poll until the build endspoll queue / build status, consoleTextrunning / success / failedsuccess → next job starts automatically (sequential lock)failure → pause; “unlock and retry” available(optional) pipeline reports the deploy result itselfPUT /api/ext/releases/{id}/status

Figure 2 — Release list tab: from querying a ticket to running Jenkins jobs one after another