Skip to content

Commit 51d0205

Browse files
committed
Merged PR 153: Back ported check for pending team projects as well as being sucessfull.
Back ported check for pending team projects as well as being sucessfull.
1 parent 27e70a6 commit 51d0205

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

processtemplatetask/v3/importProcess.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ If ($waitForUpdate)
134134
Start-Sleep -s ([int]$waitForInterval)
135135
}
136136
}
137-
if ($statusResult.successful)
137+
if ($statusResult.successful -and ($statusResult.pending -eq 0))
138138
{
139139
Write-Output ("Job Finished Sucess {0}m:{1}s | Complete {2} | Pending {3} | Retries remaining {4}" -f [int]$elapsedTime.TotalMinutes, $elapsedTime.Seconds, $statusResult.complete, $statusResult.pending, $statusResult.remainingRetries)
140140
}

0 commit comments

Comments
 (0)