Quantcast
Channel: Active questions tagged ubuntu - Stack Overflow
Viewing all articles
Browse latest Browse all 5962

Ceedling Selectable YML File

$
0
0

I am using Jenkins on Ubuntu 20.04 to automate my build process. Two projects have been given to me and they are heavily coupled. I will work on separating the two but first I need some tests set up. The two projects are PNE and BLDC for reference.

The two projects share some code filtered by ifdefs. In my ceedling tests I created two yml files. bldc_project.yml and pne_project.yml. Each YML file defines the necessary variables and point to the tests to be ran for each project.

To run my tests I do

set CEEDLING_MAIN_PROJECT_FILE=pne_project.ymlceedling clobber test:all

This works on windows, I have tested this with bldc_project.yml and pne_project.yml the correct tests are run. When I perform this on my Jenkins server I get errors that clobber and test:all commands cannot be found.

It appears set is not creating the environment variable as expected. What am I doing wrong? Should I be using a different command?


Viewing all articles
Browse latest Browse all 5962

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>