https://bugzilla.wikimedia.org/show_bug.cgi?id=58035

--- Comment #4 from Ċ½eljko Filipin <[email protected]> ---
To avoid:

ln -Fs
/scratch/jenkins/workspace/phantomjs/node_modules/phantomjs/lib/phantom/bin/phantomjs
/home/jenkins/bin/phantomjs
ln: failed to create symbolic link `/home/jenkins/bin/phantomjs': File exists

Use if:

curl -s -o use-node
https://repository-cloudbees.forge.cloudbees.com/distributions/ci-addons/node/use-node
NODE_VERSION=0.11.8 . ./use-node
npm install phantomjs

mkdir -p $HOME/bin

if [ ! -f $HOME/bin/phantomjs ] 
  then
    ln -Fs
/scratch/jenkins/workspace/phantomjs/node_modules/phantomjs/lib/phantom/bin/phantomjs
$HOME/bin/phantomjs
fi

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to