GBS remotebuild instructions

Source: Internet
Author: User

This document is translated from https://source.tizen.org/documentation/articles/gbs-remotebuild.

1. Remote Construction

Use the remotebuild sub-command to push the local git source code to the remote obs server for building. For help on remotebuild sub-commands, use:

$ gbs remotebuild --help

Before using GBS remotebuild, you must prepare a local git repository package. The package directory must exist and a description file exists under the directory. In this description file, GBS uses the package name, version, and tar package format. Before preparing these items, switch to the top directory and run the GBS remotebuild Command, as shown in the following example:

$ gbs remotebuild$ gbs remotebuild -B Tizen:Main$ gbs remotebuild -B Tizen:Main -T home:<userid>:gbs$ gbs remotebuild -B Tizen:Main --status$ gbs remotebuild -B Tizen:Main --buildlog -R <repo> -A <arch>$ gbs remotebuild -B Tizen:Main --include-all

2. Check the status of the constructed log

User options-- BuildlogAnd-- StatusTo view the built log and status.

Step 1: Use GBS remotebuild to submit changes to the remote service and build

Submit the package to the remote serverHome: User: GBS: tizen: MainAnd build tizen: Main.

As follows:

test@test-desktop:~/ail$ gbs remotebuild -B Tizen:Main --include-allinfo: Creating (native) source archive ail-0.2.29.tar.gz from 'c7309adbc60eae08782b51470c20aef6fdafccc0'info: checking status of obs project: home:test:gbs:Tizen:Main ...info: commit packaging files to build server ...info: local changes submitted to build server successfullyinfo: follow the link to monitor the build progress:  https://build.tizendev.org/package/show?package=ail&project=home:test:gbs:Tizen:Main

Step 2: Check the build status

# -B or -T options is needed if your target project is not home:user:gbs:Tizen:Maintest@test-desktop:~/ail$ gbs remotebuild --statusinfo: build results from build server:standard       i586           buildingstandard       armv7el        building

As shown above, the first column is the repo name, and the second column is the name of the hardware platform architecture of the target device. EPO/arch can be used to obtain the constructed log information.

Step 3: Read the construction log information of the specified repo/Arch

test@test-desktop:~/ail$ gbs remotebuild --buildlogerror: please specify arch(-A) and repository(-R)test@test-desktop:~/ail$ gbs remotebuild --buildlog -A i586 -R standardinfo: build log for home:test:gbs:Tizen:Main/ail/standard/i586....

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.