-
Notifications
You must be signed in to change notification settings - Fork 928
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Scm cluster config #3102
Scm cluster config #3102
Conversation
@@ -129,4 +129,7 @@ ScmExportResult export( | |||
* @param originalPath original path | |||
*/ | |||
ScmDiffResult getFileDiff(JobExportReference job, String originalPath); | |||
|
|||
|
|||
Map clusterFixJobs(List<JobReference> jobs); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you add javadoc to explain what this is for?
jobs.each { job -> | ||
def storedCommitId = ((JobScmReference)job).scmImportMetadata?.commitId | ||
def commitId = lastCommitForPath(getRelativePathForJob(job)) | ||
println(commitId) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
remove
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
plz :)
See #1622
Removed member unique config. Now, on cluster mode, the configuration its saved on the
scm
folder, not in thescm/nodeUuid
folder. This require configure again the scm plugins on cluster environments.If a job is imported or from one node, other nodes got the same information.