Skip to content

Provide information about build progress - #1001

Draft
ekharkunov wants to merge 2 commits into
devfrom
feature/build-progress
Draft

Provide information about build progress#1001
ekharkunov wants to merge 2 commits into
devfrom
feature/build-progress

Conversation

@ekharkunov

Copy link
Copy Markdown
Contributor

No description provided.

# Conflicts:
#	server/src/main/java/com/defold/extender/AsyncBuilder.java
#	server/src/main/java/com/defold/extender/Extender.java
#	server/src/main/java/com/defold/extender/remote/RemoteEngineBuilder.java
#	server/src/test/java/com/defold/extender/process/ProcessExecutorTest.java
return ResponseEntity.notFound().build();
}
if (jobResultDir.exists()) {
if (new File(jobResultDir, BuilderConstants.BUILD_RESULT_FILENAME).exists()) {
if (new File(jobResultDir, BuilderConstants.BUILD_RESULT_FILENAME).exists()) {
return ResponseEntity.ok(progressService.finishedJobEmitter(jobId, true));
}
if (new File(jobResultDir, BuilderConstants.BUILD_ERROR_FILENAME).exists()) {
Comment on lines +54 to +55
this.maxReconnectAttempts = Integer.parseInt(
System.getProperty("com.defold.extender.client.progress-reconnect-attempts", "5"));
* @param currentFile Files compiled so far for the current extension, or -1 when not compiling.
* @param totalFiles Total files to compile for the current extension, or -1 when not compiling.
*/
void onProgress(String stage, String detail, int percent, int currentFile, int totalFiles);
List<Long> ids = new ArrayList<>();
Matcher matcher = Pattern.compile("^id:(\\d+)$", Pattern.MULTILINE).matcher(sseContent);
while (matcher.find()) {
ids.add(Long.parseLong(matcher.group(1)));
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants