mirror of
https://hub.spigotmc.org/stash/scm/spigot/buildtools.git
synced 2025-08-05 16:59:05 +00:00
Print java -version to log
This commit is contained in:
parent
9c3baed030
commit
aff98e65f4
1 changed files with 9 additions and 0 deletions
|
@ -257,6 +257,15 @@ public class Builder
|
||||||
runProcess( CWD, "git", "config", "--global", "user.email", "unconfigured@null.spigotmc.org" );
|
runProcess( CWD, "git", "config", "--global", "user.email", "unconfigured@null.spigotmc.org" );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
try
|
||||||
|
{
|
||||||
|
runProcess( CWD, "java", "-version" );
|
||||||
|
} catch ( Exception ex )
|
||||||
|
{
|
||||||
|
System.out.println( "Could not successfully run Java." + ex.getMessage() );
|
||||||
|
System.exit( 1 );
|
||||||
|
}
|
||||||
|
|
||||||
if ( !dontUpdate && !dev )
|
if ( !dontUpdate && !dev )
|
||||||
{
|
{
|
||||||
String askedVersion = options.valueOf( jenkinsVersion );
|
String askedVersion = options.valueOf( jenkinsVersion );
|
||||||
|
|
Loading…
Add table
Reference in a new issue