Last active
August 10, 2017 19:06
-
-
Save c0nrad/0606c3304c2e6e48ccf7b00748360c60 to your computer and use it in GitHub Desktop.
Coverity
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$host = http.getHostHeader(); | |
if ( $host == "coverity.10gen.com" || $host == "coverity.mongodb.com" ) { | |
http.changeSite( "https://coverity.corp.mongodb.com/" ); | |
} | |
if ( $host == "coverity.corp.mongodb.com" ) { | |
if ( !ssl.isSSL() ) { | |
http.changeSite( "https://coverity.corp.mongodb.com/" ); | |
} | |
else { | |
java.run( "com.tengen.zeus.CorpSecure" ); | |
pool.use( "coverity" ); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment