Commit 2b60de70 authored by Vitaly Lipatov's avatar Vitaly Lipatov

gitask: add support for srpms replacement

parent db0c7868
...@@ -68,7 +68,7 @@ get_test_status() ...@@ -68,7 +68,7 @@ get_test_status()
# get subtask number from TASKNUMBER for PROJECTNAME # get subtask number from TASKNUMBER for PROJECTNAME
get_subtask() get_subtask()
{ {
ssh $GEARHOST task show $1 | egrep "(/$2.git|:package=$2$)" | sed -e "s|^ \([0-9]*\):.*|\1|g" ssh $GEARHOST task show $1 | egrep "(/$2.git|:package=$2$|:srpm=$2-.*src.rpm)" | sed -e "s|^ \([0-9]*\):.*|\1|g"
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment