KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
I'm using a EC2 server instance. Used the following to install Jenkins: wget -q -O - http://pkg.jenkins-ci.org/debian/jenkins-ci.org.key | sudo apt-key add - sudo sh -c 'echo deb http://pkg.jenkins-ci.org/debian binary/ > /etc/apt/sources.list.d/jenkins.list' sudo apt-get update sudo apt-get install jenkins but I need to install software on the Jenkins server so in my EC2 instance I did sudo –s –H –u jenkins to get into the jenkins server. Then I tried to do sudo cabal install quickcheck but it prompted me for jenkins password. I've been searching around the internet for 4hrs now and nothing is helping me get administrative privilege in the jenkins server. So I'm building my project using the following command in shell: sudo cabal clean sudo cabal configure sudo cabal build sudo cabal install This is the error I'm getting: Started by timer Building in workspace /var/lib/jenkins/jobs/Finance/workspace Checkout:workspace / /var/lib/jenkins/jobs/Finance/workspace - hudson.remoting.LocalChannel@eea6dc Using strategy: Default Last Built Revision: Revision b638e2182dece0ef1a40232b1d75fa3ae5c01a5d (origin/master) Fetching changes from 1 remote Git repository Fetching upstream changes from origin Commencing build of Revision b638e2182dece0ef1a40232b1d75fa3ae5c01a5d (origin/master) Checking out Revision b638e2182dece0ef1a40232b1d75fa3ae5c01a5d (origin/master) [workspace] $ /bin/sh -xe /tmp/hudson3500373817395137440.sh + sudo cabal clean sudo: no tty present and no askpass program specified Sorry, try again. sudo: no tty present and no askpass program specified Sorry, try again. sudo: no tty present and no askpass program specified Sorry, try again. sudo: 3 incorrect password attempts Build step 'Execute shell' marked build as failure Sending e-mails to: ***@gmail.com ERROR: Could not connect to SMTP host: loca
Tags (comma-separated)
Save Edits
Cancel