File tree Expand file tree Collapse file tree 2 files changed +5
-11
lines changed Expand file tree Collapse file tree 2 files changed +5
-11
lines changed Original file line number Diff line number Diff line change 3333
3434#  Find the latest build for the target JDK version
3535LATEST_BUILD=$( echo " $JDK_DATA "   |  jq -r --arg target " $TARGET_JDK "   ' 
36-   .majors[$target].builds |   
37-   sort_by(.archived_at) |   
36+   .majors[$target].builds | 
37+   sort_by(.archived_at) | 
3838  last'  
3939) 
4040
7777
7878echo  " SHOULD_TRIGGER: $SHOULD_TRIGGER " 
7979
80- #  Format BUILD_TIME as ISO 8601 for EFFECTIVE_START_DATE env in ES BENCH pipeline
81- if  [[ " $BUILD_TIME "   !=  " 0"   ]];  then 
82-   EFFECTIVE_START_DATE=$( date -u -d " @$BUILD_TIME "   +" %Y-%m-%dT%H:%M:%SZ"   2> /dev/null ||  date -u -r " $BUILD_TIME "   +" %Y-%m-%dT%H:%M:%SZ"   2> /dev/null ||  echo  " " ) 
83- else 
84-   EFFECTIVE_START_DATE=" " 
85- fi 
86- 
8780
8881if  [[ " $SHOULD_TRIGGER "   ==  " true"   ]];  then 
82+   EFFECTIVE_START_DATE=$( date -u -d " @$BUILD_TIME "   +" %Y-%m-%dT%H:%M:%SZ"   2> /dev/null ||  date -u -r " $BUILD_TIME "   +" %Y-%m-%dT%H:%M:%SZ"   2> /dev/null ||  echo  " " ) 
8983  echo  " Triggering performance-esbench-jdk for new jdk build $JDK_IDENTIFIER " 
9084  cat <<  EOF  | buildkite-agent pipeline upload
9185steps: 
9690    branch: "$BUILDKITE_BRANCH " 
9791    env: 
9892      EFFECTIVE_START_DATE: "$EFFECTIVE_START_DATE " 
99-       EXECUTION_MODE: "start-test " 
93+       EXECUTION_MODE: "start-run " 
10094EOF 
10195fi 
Original file line number Diff line number Diff line change @@ -174,7 +174,7 @@ spec:
174174      schedules :
175175        Periodically on main :
176176          branch : main 
177-           cronline : " 0 4  * * * America/New_York " 
177+           cronline : " 0 6  * * * UTC " 
178178          message : " Check for new java pre release build 1x per day" 
179179---
180180#  yaml-language-server: $schema=https://gist.githubusercontent.com/elasticmachine/988b80dae436cafea07d9a4a460a011d/raw/e57ee3bed7a6f73077a3f55a38e76e40ec87a7cf/rre.schema.json
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments