Bataan

The US Army is conducting a fighting retreat. A high bridge spans a ravine on the Bataan Peninsula. After the army and some civilians cross, a group of eleven hastily assembled soldiers from different units is assigned to blow it up and delay Japanese rebuilding efforts as long as possible. The rear guard is a mixed lot, including:

Cavalry Captain Henry Lassiter (Lee Bowman)
Sergeant Bill Dane (Robert Taylor) from the regular 31st Infantry
Corporal Barney Todd (Lloyd Nolan), who claims to be a signalman. However, Dane suspects him of being Danny Burns, a soldier accused of murder who had escaped before the war while being guarded by then-military policeman Dane.
Corporal Jake Feingold (Thomas Mitchell) of the Chemical Corps
Private Felix Ramirez (Desi Arnaz), a Mexican American California National Guardsman
Private Wesley Epps (Kenneth Lee Spencer), a black demolitions expert
Private Matthew Hardy (Phillip Terry), a conscientious objector in the Medical Corps
Private Francis X. Matowski (Barry Nelson), an engineer
Private "Yankee" Salazar (Alex Havier), a Philippine Scout
Private Sam Molloy (Tom Dugan), a cook
Seaman Leonard Purckett (Robert Walker), a naive young navy musician
They dig in on a hillside, setting up heavy machine guns in sandbag fortifications and then blow up the bridge, but their commander, Captain Henry Lassiter, is killed by a sniper, leaving Dane in charge.
One by one, the defenders are killed, while Ramirez succumbs to malaria. Despite this, the outnumbered troops doggedly hold their position. Malloy shoots down a Japanese airplane with his Tommy gun before being killed; also Dane and Todd blow up the partially rebuilt bridge, creeping up undetected to throw several Mk. 2 fragmentation hand grenades.
There is also tension between Dane and Todd, neither acknowledging their past outright despite both knowing it and knowing they recognize each other.
Army Air Corps pilot Lieutenant Steve Bentley (played by future Senator George Murphy) and his Filipino mechanic, Corporal Juan Katigbak (Roque Espiritu), work frantically to repair an airplane. They succeed, but Katigbak is killed (with a samurai sword one night) and Bentley is mortally wounded when he tries to lift off in his airplane. He has them load explosives aboard and deliberately crashes into the bridge's foundation, destroying it for a third time.
The remaining soldiers repel a massive frontal assault, inflicting grievous losses on the attacking Japanese, ultimately fighting hand-to-hand with bayonets fixed on their M1903 Springfield rifles. Epps and Feingold are killed. Only Dane, Todd and a wounded Purckett are left.
Purckett is shot and Todd stabbed in the back by a Japanese soldier who had only feigned being dead. Before he dies, Todd admits to Dane that he is Burns.
Now alone, Dane stoically digs his own marked grave beside those of his fallen comrades and waits in it. The Japanese troops crawl close to his position before opening fire and charging at Dane. Dane fires back, yelling, "We're still here.....we'll always be here, why don't you come and get us!" When his Tommy gun runs out of ammunition, he continues firing, the machine gun pointing to the audience, as the final credits roll.
The end story board states that the sacrifice of the defenders of Bataan helped slow the Japanese down, making possible America's later victories in the Pacific War.

Question: What task is assigned to the soldiers?
Answer: to blow up a bridge and delay Japanese rebuilding efforts as long as possible.