public class GitResourceService extends Object implements IVCSResourceService
| Constructor and Description |
|---|
GitResourceService() |
| Modifier and Type | Method and Description |
|---|---|
void |
checkoutDevelopBranch(WorkflowReleaseContext context,
Locale locale)
Checkout develop branch.
|
String |
doCheckoutRepository(WorkflowReleaseContext context,
String strLogin,
String strPassword)
Do checkout repository.
|
String |
fetchPom(Site site,
String strGitLogin,
String strGitPwd)
Fetch the pom.xml content from a repository
|
String |
getLastRelease(Site site,
String strGitLogin,
String strGitPwd)
Gets the last release found in the SVN repository.
|
void |
rollbackRelease(WorkflowReleaseContext context,
Locale locale)
Rollback release.
|
void |
updateDevelopBranch(WorkflowReleaseContext context,
Locale locale,
String strMessage)
Update develop branch.
|
void |
updateMasterBranch(WorkflowReleaseContext context,
Locale locale)
Update master branch.
|
public String fetchPom(Site site, String strGitLogin, String strGitPwd)
fetchPom in interface IVCSResourceServicesite - the sitestrGitLogin - the str git loginstrGitPwd - the str git pwdpublic String getLastRelease(Site site, String strGitLogin, String strGitPwd)
getLastRelease in interface IVCSResourceServicesite - the sitestrGitLogin - the str git loginstrGitPwd - the str git pwdpublic String doCheckoutRepository(WorkflowReleaseContext context, String strLogin, String strPassword)
doCheckoutRepository in interface IVCSResourceServicecontext - the contextstrLogin - the str loginstrPassword - the str passwordpublic void updateDevelopBranch(WorkflowReleaseContext context, Locale locale, String strMessage)
updateDevelopBranch in interface IVCSResourceServicecontext - the contextlocale - the localestrMessage - the str messagepublic void updateMasterBranch(WorkflowReleaseContext context, Locale locale)
updateMasterBranch in interface IVCSResourceServicecontext - the contextlocale - the localepublic void rollbackRelease(WorkflowReleaseContext context, Locale locale)
rollbackRelease in interface IVCSResourceServicecontext - the contextlocale - the localepublic void checkoutDevelopBranch(WorkflowReleaseContext context, Locale locale)
checkoutDevelopBranch in interface IVCSResourceServicecontext - the contextlocale - the localeCopyright © 2020 City of Paris. All rights reserved.