From d2ee8a607c17c4f0833b119589fe420b1b79b8ac Mon Sep 17 00:00:00 2001 From: Yang Lin Date: Mon, 28 Nov 2011 18:22:54 +0800 Subject: [PATCH] support submit testing build to a specific obs project --- data/build.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/data/build.sh b/data/build.sh index 4851432..b076dde 100755 --- a/data/build.sh +++ b/data/build.sh @@ -35,7 +35,7 @@ fi echo "Submiting your changes to build server" -curl -s -i -u$user:$passwd -Fname=package.tar.bz2 -Ffile0=@package.tar.bz2 -Fjson='{"parameter": [{"name": "package.tar.bz2", "file": "file0"},{"name":"pkg", "value":"'$prj_name'"},{"name":"obsproject","value":"'$t'"}]}' -FSubmit=Build "$HUDSON_SERVER/job/build/build" +curl -s -i -u$user:$passwd -Fname=package.tar.bz2 -Ffile0=@package.tar.bz2 -Fjson='{"parameter": [{"name": "package.tar.bz2", "file": "file0"},{"name":"pkg", "value":"'$prj_name'"},{"name":"obsproject","value":"'$1'"}]}' -FSubmit=Build "$HUDSON_SERVER/job/build/build" sleep 0.5 last_id=`curl -s -u$user:$passwd "$HUDSON_SERVER/job/build/lastBuild/buildNumber"` -- 2.7.4