21 lines
364 B
YAML
21 lines
364 B
YAML
kind: pipeline
|
|
type: exec
|
|
name: default
|
|
|
|
steps:
|
|
- name: analyze
|
|
environment:
|
|
SONAR_TOKEN:
|
|
from_secret: sonar_token
|
|
commands:
|
|
- /opt/sonar-scanner/bin/sonar-scanner -Dsonar.login=$$SONAR_TOKEN
|
|
|
|
- name: platformioRun
|
|
depends_on:
|
|
- analyze
|
|
commands:
|
|
- cd embedded
|
|
- pip install --user platformio
|
|
- pio run --target=clean
|
|
- pio run
|