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 email@example.com
I get the the error
+ source /var/lib/jenkins/.bashrc
+ rvm use firstname.lastname@example.org
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?