new plugin: strider-phantomjs
Should check for phantomjs and install it if it's not present.
Should run during the "prepare" phase
@jaredly is this still desired?
I don't have a project atm for which it's critical, but it would be nice to have.
I have a question, I have phantomJS installed in the system in a production Strider Server and when I try access via ssh and run the command: phantomjs, in the terminal can execute the command, but when i put the command in the custom plugin not works, show sh permission denied. How I can use the phamthonJS command for run a cucumber tests?
Run it with sudo, or fix your permissions for global installs. On Dec 9, 2014 3:52 AM, "Jesus Manuel Garcia Torres" < [email protected]> wrote:
I have a question, I have phantomJS installed in the system in a production Strider Server and when I try access via ssh and run the command: phantomjs, in the terminal can execute the command, but when i put the command in the custom plugin not works, show sh permission denied. How I can use the phamthonJS command for run a cucumber tests?
— Reply to this email directly or view it on GitHub https://github.com/Strider-CD/strider/issues/111#issuecomment-66251283.
@gartox: so phantomjs is installed on the same machine where strider is installed, but putting phantomjs etc in a custom script throws an error? Could you paste the error here?
- /home/ec2-user/phantomjs/bin/phantomjs --help sh: line 9: /home/ec2-user/phantomjs/bin/phantomjs: Permission denied
I put in the test phase in the Custom plugin the command: /home/ec2-user/phantomjs/bin/phantomjs --help
Because I can't use directly just: $ phantomjs --help
I had the same problem when I was trying run the command:
$ bundle install
I have to use the full path for can run: bundle install.
Now I can run the cucumber specs with sauce labs, but without strider-sauce plugin, I had to change my env.rb for integrate saucelabs. But never can use phantomJs.