![]() |
|
|
|
|
Issue Type:
|
Bug
|
|
Affects Versions:
|
current |
|
Assignee:
|
Garnik Arakelian
|
|
Components:
|
synergy |
|
Created:
|
02/Dec/13 2:56 PM
|
|
Description:
|
Hello,
I am using Jenkins (version 1.504) with Synergy plug-in (version 1.6) and Synergy 7.1.
After several tries, I noticed that if the projects states are “visible” or “shared” then the plug-in do not update them, but it just dose a “copy to file system”.
We have done some changes in “SynergySCM.java” class, especially in “isStaticProject” method as follows:
private boolean isStaticProject(String project, FilePath workspace) throws IOException, InterruptedException, SynergyException {
// Get project state.
GetProjectStateCommand command = new GetProjectStateCommand(project);
getCommands().executeSynergyCommand(workspace, command);
String state = command.getState();
// Compute result.
if ("prep".equals(state)) {
// Integration testing, become build manager.
SetRoleCommand setRoleCommand = new SetRoleCommand(SetRoleCommand.BUILD_MANAGER);
getCommands().executeSynergyCommand(workspace, setRoleCommand);
return false;
} else if ("working".equals(state)) {
// Development project with Insulated/Collaborative/Custom Development purpose.
return false;
} else if ("visible".equals(state)) {
// Development project with Visible Development purpose.
return false;
} else if ("shared".equals(state)) {
// Development project with Shared Development purpose.
return false;
} else {
// Released project part of a baseline.
return true;
}
}
Then, I’ve generated the .hpi file. It works very well.
Best regards.
|
|
Due Date:
|
02/Dec/13 12:00 AM
|
|
Environment:
|
windows xp
|
|
Fix Versions:
|
current |
|
Project:
|
Jenkins
|
|
Priority:
|
Major
|
|
Reporter:
|
Garnik Arakelian
|
|
|
|
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira
|
--
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
[email protected].
For more options, visit
https://groups.google.com/groups/opt_out.