Page MenuHomeDevCentral
Paste P162

arc-create-ops-task
ActivePublic

Authored by dereckson on Feb 16 2016, 20:50.
Referenced Files
F20984: arc-create-ops-task
Feb 16 2016, 20:52
F20983: arc-create-ops-task
Feb 16 2016, 20:50
Subscribers
#!/bin/sh
ARC=arc
AWK=gawk
URL="http://devcentral.nasqueron.org"
PRIORITY=50
ARC_OPTIONS="--conduit-uri $URL/api"
arcTaskCreatedId=`$ARC todo $1 --project servers --no-ansi $ARC_OPTIONS | $AWK '{match($3,"T[0-9]+",a)}END{print a[0]}' | cut -d'T' -f 2`
echo $URL/T$arcTaskCreatedId

Event Timeline

dereckson edited the content of this paste. (Show Details)