Tag: osx

Repository not found in git jenkins

I am using the jenkins 2.64 with installed latest plugins. I am trying to set the git repo in jenkins and given credentials, but giving the error failed to connect repository with status code 128. Cloning repository https://github.com/somerepository.git > git init /Users/kumar/.jenkins/workspace/sample # timeout=10 Fetching upstream changes from https://github.com/somerepository.git > git –version # timeout=10 using […]

Jenkins server is not accessible by host name and IP address

I have installed Jenkins on MAC Machine, I can access it using localhost:8080 and also using from my MAC machine. Now if I try to access it using hostname or IP address, it is not connecting. I tried below options: –httpListenAddress=$HTTP_HOST I referred to this post Jenkins server is not accessible by host name […]

On a Mac Sierra, how can I give an ssh session access to the display?

This is a follow-up of Running ios-sim with Jenkins – I need a way to make this work when the Jenkins slave is run via ssh, and not via launchctl So, in general, how can I access the display if I log onto a mac using ssh?

Jenkins unable to invoke ANT in MAC Slave

Jenkins master is running on Windows. I have connected a MAC as jenkins slave using java webstart. I have installed ANT in the slave (MAC) and updated PATH accordingly. I am able to run ant programs locally in the slave machine. When i run the job from jenkins, It is not invoking ant and fails […]

Jenkins Slave Doesn't Use Same Ruby Version As On Local Terminal

I am using a OSX Jenkins slave to run some build commands for Xcode. When I run gem environment in my local terminal, this is what I get. RubyGems Environment: – RUBYGEMS VERSION: 2.4.8 – RUBY VERSION: 2.2.0 (2014-12-25 patchlevel 0) [x86_64-darwin15] – INSTALLATION DIRECTORY: /Users/nvitas/.rvm/gems/ruby-2.2.0 – RUBY EXECUTABLE: /Users/nvitas/.rvm/rubies/ruby-2.2.0/bin/ruby – EXECUTABLE DIRECTORY: /Users/nvitas/.rvm/gems/ruby-2.2.0/bin – […]

Jenkins build step fails when calling “npm” on mac-os-x Yosemite

Before I start, I want to say that I already checked these answers: Jenkins build step fails on 'npm install <whatever>' Jenkin's build failing on npm install Now, I’m dealing with this issue for a while already and thus I tried a bunch of stuff. Firstly, I installed node + npm via homebrew. A simple […]

Jenkins build step fails on 'npm install <whatever>'

New to Jenkins: I am setting up our build in Jenkins. Setting up a build step to run a nodejs script (a script to take the built app into a native iOS app, with Sencha Touch 2). The nodejs script requires a wrench library. The Jenkins user appears to be running in a different context. […]

What is the password for jenkins user under MACOSX?

I’m trying to create a CI for iOS (iPhone and iPad) using TestFlight, Jenkings, GitHub, Sonar… I downloaded the macosx jenkings package/wizard. It seems it created a user for my mac. What is its password? Because I’m having problems with the keychain and I guess it is because I’m user my own user instead of […]

Multiple Jenkins daemons on different HTTP ports (Mac OS X)

How to run two daemons of Jenkins, on different HTTP ports (i.e. 7070 and 7071), on Mac OS X system. 1) I create an two accounts for each dameon, containing Jenkins Home directory : jeankins1, jenkins2 2) I duplicate default dameon configuration file sudo cp /Library/LaunchDaemons/org.jenkins-ci.plist /Library/LaunchDaemons/jenkins-dameon-1.plist sudo cp /Library/LaunchDaemons/org.jenkins-ci.plist /Library/LaunchDaemons/jenkins-dameon-2.plist 3) I modify the […]

Build Unity project with Jenkins failed

I’m trying to build Unity project with Jenkins on Mac OS Server. But when I try to run the following script /Applications/Unity/Unity.app/Contents/MacOS/Unity -quit -batchmode ${PROJECT_PATH} -executeMethod BuildScript.DevelopmentBuild The script shows this, _RegisterApplication(), FAILED TO establish the default connection to the WindowServer, _CGSDefaultConnection() is NULL. Does anyone knows how to fix the problem?

Git Baby is a git and github fan, let's start git clone.