When running CI it would be great to post a link to the build on cdash. Is it possible to generate the link? If not, it seems like I just need the buildid e.g.:
https://mycdashserver.com/cdash/buildSummary.php?buildid=1234
Is it possible to query cdash for the buildid?
             
            
              
            
           
          
            
              
                ben.boeckel  
              
                  
                    December 11, 2019,  8:52pm
                   
                  2 
               
             
            
              I remember some way was added to get this information, but can’t find it right now. @zackgalbreath 
             
            
              
            
           
          
            
              
                ben.boeckel  
              
                  
                    December 11, 2019,  8:56pm
                   
                  3 
               
             
            
              Ah, there is ctest_submit(BUILD_ID) added in 3.15.
             
            
              
            
           
          
            
            
              I am doing the following:
ctest_submit(PARTS Notes BUILD_ID build_id)
and build_id is empty… bummer
             
            
              
            
           
          
            
              
                ben.boeckel  
              
                  
                    December 12, 2019,  1:15pm
                   
                  5 
               
             
            
              I think it needs to be on the first ctest_submit. I’m not sure off-hand, Zack should be able to help more when he gets a chance.
             
            
              
            
           
          
            
            
              @zackgalbreath  any thoughts? I can’t seem to get anything meaningful from BUILD_ID…
             
            
              
            
           
          
            
            
              Is it possible that the version of cdash I use is not compatible with this feature?
             
            
              
            
           
          
            
              
                ben.boeckel  
              
                  
                    December 12, 2019, 10:09pm
                   
                  8 
               
             
            
              That is likely the problem.
             
            
              
            
           
          
            
            
              
That’s my hunch too. This feature was added to CDash here:
  
  
    
  
  
    
    
      
        committed 02:54PM - 18 Sep 18 UTC 
      
      
      
     
   
 
  
    If CTest provides us with the name, site, and stamp for a build,
we now assign a…  buildid upon submission time.  Previously a buildid
did not get assigned until parse time. 
   
   
  
    
    
  
  
 
This commit (just barely) made it into CDash v2.6, so if you’re running something older CDash won’t be able to give you back a buildid at submit time.