I’m a fresher when it comes to Jenkins CI and I’ve installed RVM in my remote Jenkins. When I try to execute the following shell commands,
rvm use firstname.lastname@example.org
I get the the error
+ source /var/lib/jenkins/.bashrc
+ rvm use email@example.com
RVM is not a function, selecting rubies with 'rvm use ...' will not work.
You need to change your terminal settings to allow shell login.
Please visit https://rvm.io/workflow/screen/ for example.
Where am I going wrong?