项目作者: mauriciojost

项目描述 :
Docker image & Jenkinsfile for Arduino projects
高级语言: Shell
项目地址: git://github.com/mauriciojost/arduino-ci.git
创建时间: 2018-05-15T21:09:11Z
项目社区:https://github.com/mauriciojost/arduino-ci

开源协议:

下载


README

Docker image & Jenkinsfile for Arduino projects

To build, set up a jenkins instance, provide docker credentials naming the variables USERNAME and PASSWORD.
In the shell step of the build, add

  1. bash build

Manual build

Install:

  1. sudo apt-get install docker-ce

Then :

  1. ./build

Jenkins

  1. Create a job.
  2. Ensure to pass your docker credentials (it will publish an image there)
  3. Provide a SETTINGS variable with default multi-line value
    ```
    python=python:2.7
    platformio=3.5.3
    gcovr=4.1
  1. 4. The shell block:

echo $SETTINGS > settings2.conf
bash build settings2.conf
```

  1. That’s all