RVM and Jenkins setup

前端 未结 6 1187
悲哀的现实
悲哀的现实 2020-12-08 15:44

I am new to Jenkins CI. I\'m install RVM in my remote Jenkins and when I execute below shell.

#!/bin/bash -x
source ~/.bashrc
rvm use 1.9.3@rails-3.2.3
         


        
6条回答
  •  忘掉有多难
    2020-12-08 16:17

    adding a shebang to the build commands in jenkins fixed this for me

        #!/usr/bin/env bash
    
        rvm use 2.0.0
        bundle install
        rake test
        ...
    

提交回复
热议问题