Changeset 34940
- Timestamp:
- 2021-02-28T22:46:37+13:00 (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
other-projects/nightly-tasks/snapshot/trunk/task.pl
r34939 r34940 106 106 107 107 #keep wget/curl base command in a variable 108 my $httpRetrieve = $^O eq "darwin" ? "curl" : "wget - O -";108 my $httpRetrieve = $^O eq "darwin" ? "curl" : "wget --no-check-certificate -O -"; 109 109 110 110 #print STDERR "@@@@@@@@@@ PATH: ".$ENV{'PATH'}."\n"; … … 117 117 if ( $major_version == 2 ) { 118 118 $ENV{'snapshot_id2'} = `$httpRetrieve https://www.greenstone.org/next-release.txt`; 119 #HARDCODED DUE TO THE 32 BIT LSB ENVIRONMENT NOT HAVING WGET 120 #$ENV{'snapshot_id2'} = "2.88"; 119 121 chomp($ENV{'snapshot_id2'}); 120 122 } else { 121 123 $ENV{'snapshot_id3'} = `$httpRetrieve https://www.greenstone.org/next-release-greenstone3.txt`; 124 #HARDCODED DUE TO THE 32 BIT LSB ENVIRONMENT NOT HAVING WGET 125 #$ENV{'snapshot_id3'} = "3.10"; 122 126 chomp($ENV{'snapshot_id3'}); 123 127 } … … 142 146 #set the path to server.exe 143 147 $ENV{'SERVER_EXE_LOCATION'} = "https://www.greenstone.org/caveat-emptor/latest-server.exe"; 144 148 145 149 } elsif ( $ENV{'TASK_NAME'} =~ "stable\$" ) { 146 150 $ENV{'SNAPSHOT_MODE'} = "stable"; … … 149 153 #dont proceed if main/stable is old 150 154 #get last changed date from svn 151 open( INFO, "svn info http ://svn.greenstone.org/main/$ENV{'BRANCH_PATH'}|" )155 open( INFO, "svn info https://svn.greenstone.org/main/$ENV{'BRANCH_PATH'}|" ) 152 156 or die "Cant determine age of stable tag"; 153 157 my $changed_date;
Note:
See TracChangeset
for help on using the changeset viewer.