Here is information about Jenkins CLI.
You can operate Jenkins from the command line, using a Java program
For information about this, see the page:
I downloaded jenkins-cli.jar, and put it in my $HOME/bin directory, and then
made a wrapper command for it called 'jcmd'.
Here is the content of the wrapper program:
Now, I can do: "jcmd help", "jcmd <command> <args>", etc.
On the Jenkins cli, the following terms are used:
- job = fuego test
- build = test run
- node = fuego target or board
Get a list of Jenkins CLI commands:
$ jcmd help
Get usage help for the build command:
$ jcmd build help
In Jenkins terminology, a fuego test is a "job". Get the list of available
$ jcmd list-jobs
You can use the 'build' command to launch an individual test. You must specify the target board, by specifying the value for "Device", to the test.
This example runs the test Functional.hello_world on the qemu-test-arm target, waits for it to complete, and displays the console log.
$ jcmd build Functional.hello_world -p Device=qemu-test-arm -s -v