Git Product home page Git Product logo

build-tools's Introduction

build-tools

These are used to build deb packages with our jenkins server

uses jenkins-debian-glue and jenkins blue ocean (jenkinsfile)

Use the Jenkinsfile here as reference

How build system works

Builds will be automatically built and published to http://repo.ubports.com/

Branch name will decide where the builds land in our repo

http://repo.ubports.com/dists/[branch name]
Example:

How to add repo to the device

in file /etc/apt/sources.list add

deb http://repo.ubports.com/ [branch name] main
Example:
deb http://repo.ubports.com/ vivid main

How to add project to Jenkins

  • Add Jenkinsfile to root of project (find jenkinsfile in this repo)
  • Login to ci.ubports.com
  • Press Open Blue Ocean
  • Press New pipeline
  • Select Github
  • Select UBports
  • Select New Pipeline
  • Find and select repository
  • Press Create pipeline

Limitations:

  • Don't use - in version names (debian/changelog)
  • Don't use source format 3.0 quit

Depend on other repos:

By default it will add itself and ubuntu-stable-phone ppa

Using "branch extension"

Branch extension is a quick and simple way to create packages that depend on other packages in a different repo instead of rebulding all packaged, you can simply create a "branch extension" like this:

[depend repo]_-_[branch name]

Example:

xenial_-_awesometest

NOTE: due to a silly bug in jenkins we have to use _-_

Using ubports.depend file

Using file is a more permanent way to add depending repos, add one repo per line

Example:

xenial
xenial-caf

build-tools's People

Contributors

mardy avatar mariogrip avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.