【问题标题】:Sauce labs integration with circle ciSauce labs 与 circle ci 集成
【发布时间】:2015-09-22 22:42:51
【问题描述】:

我将这些行添加到 circle.yml 文件中:

post:
    - wget https://saucelabs.com/downloads/sc-latest-linux.tar.gz
    - tar -xzf sc-latest-linux.tar.gz

test:
  override:
     - ./bin/sc -u $SAUCE_USERNAME -k $SAUCE_ACCESS_KEY -f ~/sc_ready:
       background: true
       pwd: sc-*-linux
     - while [ ! -e ~/sc_ready ]; do sleep 1; done

当 circle ci 运行时,我会在运行以下行时得到这个:

cd "sc-*-linux": ./bin/sc -u $SAUCE_USERNAME -k $SAUCE_ACCESS_KEY -f ~/sc_ready:

/home/ubuntu/.rvm/scripts/extras/bash_zsh_support/chpwd/function.sh:第5行:cd:/home/ubuntu/shopstyle-frontend/sc-*-linux:没有这样的文件或目录

【问题讨论】:

    标签: selenium saucelabs nightwatch.js circleci


    【解决方案1】:

    这是来自 CircleCI 的 Kim。

    你可以试试这个吗?

    "cd sc-*-linux && ./bin/sc -u $SAUCE_USERNAME -k $SAUCE_ACCESS_KEY -f ~/sc_ready:"
    

    【讨论】:

    • 嗨,Kim,仍然出现错误: cd "sc--linux" cd sc--linux && ./bin/sc -u $SAUCE_USERNAME -k $SAUCE_ACCESS_KEY - f ~/sc_ready /home/ubuntu/.rvm/scripts/extras/bash_zsh_support/chpwd/function.sh:第 5 行:cd:/home/ubuntu/shopstyle-frontend/sc-*-linux:没有这样的文件或目录 nohup : 忽略输入并将输出附加到 `nohup.out'
    猜你喜欢
    • 2015-05-09
    • 1970-01-01
    • 2017-12-16
    • 1970-01-01
    • 2018-01-01
    • 2014-03-01
    • 2016-08-27
    • 1970-01-01
    • 2012-12-31
    相关资源
    最近更新 更多