0
내 Jenkins에서 engineyard에 응용 프로그램을 배포하는 스크립트가 있습니다. My Jenkins 환경에는 'engineyard'보석이 설치되어 있습니다.xargs - 해당 파일 없음 디렉토리 - Jenkins
first_customer_symbol=`bundle exec rake customer:deploy_targets[$DEPLOY_TO] | sed '1!d'
ey status --account='account-****' --app="$first_customer_symbol" --environment="$DEPLOY_TO" | grep "Resolved Ref" | grep -Po "\b[0-9a-f]{5,40}\b" | xargs -i git diff --exit-code HEAD {} db/migrate 1> /dev/null
new_migrations=$?; if [ $new_migrations != 0 ]; then
bundle exec rake customer:deploy_targets[$DEPLOY_TO] | xargs -n1 -P 7 ey deploy -e $DEPLOY_TO -r $BRANCH_TO_DEPLOY --migrate -a
else
bundle exec rake customer:deploy_targets[$DEPLOY_TO] | xargs -n1 -P 7 ey deploy -e $DEPLOY_TO -r $BRANCH_TO_DEPLOY --no-migrate -a
fi
나는 내가 잘못 여기서 뭐하는 거지 오류
xargs: ey: No such file or directory
xargs: ey: No such file or directory
xargs: ey: No such file or directory
xargs: ey: No such file or directory
xargs: ey: No such file or directory
xargs: ey: No such file or directory
xargs: ey: No such file or directory
을 얻고있다. 참고 : 최근 Jenkins Ruby 버전을 2.0.0에서 2.2.5로 업그레이드하고 Jenkins를 다시 시작한 후에이 오류가 발생하기 시작했습니다.
답변이 없습니다. 2 행의 첫 번째 'ey'는 잘 작동하지만 다른 것은 제대로 작동하지 않는 것은 이상한 것처럼 보입니다. –