1
0
mirror of https://github.com/thooge/esp32-nmea2000-obp60.git synced 2025-12-14 14:33:07 +01:00

run and find job with sha

This commit is contained in:
andreas
2023-10-02 20:45:55 +02:00
parent abf79dd022
commit 43dd2059b7
2 changed files with 3 additions and 2 deletions

View File

@@ -65,7 +65,7 @@ function getJobStatus($pipeline,$wf=workflowName,$job=jobName){
if (! isset($pstat['state'])){
throw new Exception("state not set");
}
if ($pstat['state'] == 'created'){
if ($pstat['state'] != 'created'){
return $pstat;
}
$pipeline_id=$pstat['id'];