build_platform.pl
changeset 68 e41ebdf49dd5
parent 62 2797c7d55e8b
equal deleted inserted replaced
67:16acd1d8d322 68:e41ebdf49dd5
    24 my $nLOCK_FILE_MAX_ATTEMPTS = 5;
    24 my $nLOCK_FILE_MAX_ATTEMPTS = 5;
    25 my $sNUMBERS_FILE="\\\\v800020\\Publish\\SF_builds\\numbers.txt";
    25 my $sNUMBERS_FILE="\\\\v800020\\Publish\\SF_builds\\numbers.txt";
    26 my $sLETTERS_FILE="letters.txt";
    26 my $sLETTERS_FILE="letters.txt";
    27 my $nMAX_LETTER_AGE_SECONDS = 86400; # max number of seconds after which the letter is forcibly released
    27 my $nMAX_LETTER_AGE_SECONDS = 86400; # max number of seconds after which the letter is forcibly released
    28 
    28 
    29 my $sFbfProjectRepo = "\\\\bishare\\mercurial_development\\oss\\FCL\\interim\\fbf\\projects\\platforms";
    29 my $sFbfProjectRepo = "\\\\v800020\\mercurial_development\\oss\\FCL\\interim\\fbf\\projects\\platforms";
    30 my $sFbfProjectDir = '';
    30 my $sFbfProjectDir = '';
    31 my $sSubProject = '';
    31 my $sSubProject = '';
    32 #my $sSourcesFile = '';
    32 #my $sSourcesFile = '';
    33 #my $sModelFile = '';
    33 #my $sModelFile = '';
    34 my $sFbfConfigRepo="\\\\bishare\\mercurial_development\\oss\\FCL\\interim\\fbf\\configs\\default";
    34 my $sFbfConfigRepo="\\\\v800020\\mercurial_development\\oss\\FCL\\interim\\fbf\\configs\\default";
    35 my $sFbfConfigDir = '';
    35 my $sFbfConfigDir = '';
    36 my $nCmdLineNumber;
    36 my $nCmdLineNumber;
    37 my $sDiamondsTag = '';
    37 my $sDiamondsTag = '';
    38 my $bHudson = 0;
    38 my $bHudson = 0;
    39 my $bPublish = 1;
    39 my $bPublish = 1;
    59 {
    59 {
    60 	print "Usage: build_platform.pl --subproj=RELPATH [OPTIONS]\n";
    60 	print "Usage: build_platform.pl --subproj=RELPATH [OPTIONS]\n";
    61 	print "       build_platform.pl --projectrepo=REPO [OPTIONS]\n";
    61 	print "       build_platform.pl --projectrepo=REPO [OPTIONS]\n";
    62 	print "where OPTIONS are:\n";
    62 	print "where OPTIONS are:\n";
    63 	print "\t--subproj=RELPATH Select subproject located at RELPATH (relative to the root of the project repository)\n";
    63 	print "\t--subproj=RELPATH Select subproject located at RELPATH (relative to the root of the project repository)\n";
    64 	print "\t--projectrepo=REPO[#REV] Use repository REPO at revision REV for the project (instead of \\\\bishare\\mercurial_internal\\fbf\\projects\\packages)\n";
    64 	print "\t--projectrepo=REPO[#REV] Use repository REPO at revision REV for the project (instead of \\\\v800020\\mercurial_internal\\fbf\\projects\\packages)\n";
    65 	print "\t--projectdir=DIR Use DIR location for the project (exclusive with --projectrepo).\n";
    65 	print "\t--projectdir=DIR Use DIR location for the project (exclusive with --projectrepo).\n";
    66 	#print "\t--sources=FILE ...\n";
    66 	#print "\t--sources=FILE ...\n";
    67 	#print "\t--model=FILE ...\n";
    67 	#print "\t--model=FILE ...\n";
    68 	print "\t--configrepo=REPO[#REV] Use repository REPO at revision REV for the config (instead of \\\\bishare\\mercurial_internal\\fbf\\config\\default)\n";
    68 	print "\t--configrepo=REPO[#REV] Use repository REPO at revision REV for the config (instead of \\\\v800020\\mercurial_internal\\fbf\\config\\default)\n";
    69 	print "\t--configdir=DIR Use DIR location for the config (exclusive with --configrepo).\n";
    69 	print "\t--configdir=DIR Use DIR location for the config (exclusive with --configrepo).\n";
    70 	print "\t--number=N Force build number to N\n";
    70 	print "\t--number=N Force build number to N\n";
    71 	print "\t--tag=TAG Apply Diamonds tag TAG to this build\n";
    71 	print "\t--tag=TAG Apply Diamonds tag TAG to this build\n";
    72 	print "\t--hudson Checks that there is at least NUMBER_OF_PROCESSORS X 10 GB available on the working drive\n";
    72 	print "\t--hudson Checks that there is at least NUMBER_OF_PROCESSORS X 10 GB available on the working drive\n";
    73 	print "\t--nopublish Use \\numbers_test.txt for numbers and disable publishing\n";
    73 	print "\t--nopublish Use \\numbers_test.txt for numbers and disable publishing\n";