The linci shell is a command line environment with a few bells and whistles for running the linci commands. Use of it is optional.
You enter the shell by typing
linci shell
You will be greeted with a prompt
/ . ._ _ . /__ / / / /_ / (type ? or help) linci>
The shell provides aliases and additional bash completion (options that magically appear when you press tab)
Typically a dedicated ci
user should use the linci shell.
In the shell linci commands can be run without the linci prefix.
e.g.
linci list
is shortened to just list
linci admin
is shortened to just admin
There are three ls
aliases ll
, lsc
(ls config/) and lsj
(ls job/)
There are three cd
aliases cdc
, cdj
and cdw
(cd workspace)
psci
shows tasks run by the ci user.
ttyon
and ttyoff
enables and disables noticfications output in the shell.
Linci aliases and commands have bash completion by default, the build
and run
commands have been extended to show a list of available jobs and builds.
Typing build[space][tab][tab]
will show a list of available builds on this server.
The exact contents of the shell can be found here /usr/share/linci/lib/lincirc
, which is run with bash --rcfile /usr/share/linci/lib/lincirc