내 Mac 빌드 에이전트에 sass를 설치했습니다. 여기에 내 컴퓨터macOS 및 젠킨스에 sass 통합
[email protected]:~$ sass -v
Sass 3.3.8 (Maptastic Maple)
[email protected]:~$ sass --help
Usage: sass [options] [INPUT] [OUTPUT]
Description:
Converts SCSS or Sass files to CSS.
Options:
-s, --stdin Read input from standard input instead of an input file
--trace Show a full traceback on error
--unix-newlines Use Unix-style newlines in written files.
--scss Use the CSS-superset SCSS syntax.
--watch Watch files or directories for changes.
The location of the generated CSS can be set using a colon:
sass --watch input.sass:output.css
sass --watch input-dir:output-dir
--update Compile files or directories to CSS.
Locations are set like --watch.
출력이 그리고 bash_profile에 기록 : 승인 첨부
Users/ep/.rvm/bin:~/.gem/ruby/1.8/bin
내가 그것을
14:18:34 /bin/sh -c sass\ -f\ -C\ ${INPUT_FILE_PATH}\ ${DERIVED_FILES_DIR}/${INPUT_FILE_BASE}.css
14:18:34 /bin/sh: sass: command not found
14:18:34 Command /bin/sh failed with exit code 127
I에 실패 젠킨스 내 작업을 실행하려고 약간의 조사를하고 젠킨스 노드 propey에이 속성을 추가하고 사용자를 확인하고 사용자가 실행 한 스크립트는 내가 설치 한 보석과 동일합니다.
문제를 해결하는 방법은 무엇입니까?