osx-server

OS X Server - bot can't get source from repository

那年仲夏 提交于 2019-12-03 09:47:40
问题 I had a previous version of OS X Server set up and running fine, but when I installed the upgrade to 3.2.1, I found that none of my bots would work correctly. These are the issues I get on each attempted integration: Build Service Error Can't fit data in the buffer (-1). Build Service Warning The source control operation failed because no working copy could be found. Build Service Warning An error occurred updating existing checkout. Falling back to a clean checkout.. I may be looking in the

Could not create directory /var/teamsserver

ε祈祈猫儿з 提交于 2019-12-03 02:55:50
I've installed os x server (Mavericks) on my mac and would like to add bot. For some reasons my remote repo is located on other external server and I have access to it by username and password on specified port. I've added remote repo to os x server like this: ssh://1.2.3.4:PORT/path/to/repo.git ...filled username and password. Then I've added bot in Xcode but when I hit integrate it fails with logs: Cloning into 'ssh_myusername_1_2_3_4_PORT_path_to_repo_git'... OpenSSH_6.2p2, OSSLShim 0.9.8r 8 Dec 2011 debug1: Reading configuration data /etc/ssh_config debug1: /etc/ssh_config line 20:

Apple OS X Server (Xcode CI service) can't find provisioning profiles

给你一囗甜甜゛ 提交于 2019-12-02 21:12:28
I configured dedicated Mac mini with OS X Server for Continuous Integration with XCode5, added git repo and created bots. I am trying to integrate bot and get error Specified PROVISIONING_PROFILE (29DAD4E2-6155-4395-AF33-2C872BC32504) not found and no CODE_SIGN_IDENTITY specified. Ignoring PROVISIONING_PROFILE for now. This will become an error in the future. Server was added to Developer Team and I can see it in member center at special page "Servers". I think that server should retreive profiles from Developer Center for build bots, but it doesn't work. How can I fix this? Vitaly Kudrin I

Cannot access repositories on OS X Server 3.2.1 with Xcode 6.0.1

时光毁灭记忆、已成空白 提交于 2019-12-02 12:25:27
EDIT: The problem is apparently solved with OSX Server Version 4. Original post: I have some git repositories on OS X server. Earlier I could access them from a remote Xcode without problems. After the upgrade to OS X Server 3.2.1 with Xcode 6.0.1 , I can no longer access them: If I try to add the server to a the Xcode via Preferences / Accounts, it says Xcode Server is unavailable If I try it via the terminal with the command git clone <repository path> it is asking for the password (i.e. it can access the server), and then says fatal: repository '<repository path>' not found It is really

Elasticsearch Parse Exception error when attempting to index PDF

旧巷老猫 提交于 2019-11-30 11:25:17
I'm just getting started with elasticsearch. Our requirement has us needing to index thousands of PDF files and I'm having a hard time getting just ONE of them to index successfully. Installed the Attachment Type plugin and got response: Installed mapper-attachments . Followed the Attachment Type in Action tutorial but the process hangs and I don't know how to interpret the error message . Also tried the gist which hangs in the same place. $ curl -X POST "localhost:9200/test/attachment/" -d json.file {"error":"ElasticSearchParseException[Failed to derive xcontent from (offset=0, length=9):

Socket File “/var/pgsql_socket/.s.PGSQL.5432” Missing In Mountain Lion (OS X Server)

穿精又带淫゛_ 提交于 2019-11-30 06:08:33
问题 I just upgraded my MacMini Server from Lion Server to Mountain Lion using OS X Server. I am having the same problem with PostgreSQL that I did last year when I first installed Lion Server. When I try to do any kind of PostgreSQL terminal command I get the following notorious error message that many have gotten over the years: psql: could not connect to server: No such file or directory Is the server running locally and accepting connections on Unix domain socket "/var/pgsql_socket/.s.PGSQL

UI Test Case not show code coverage

纵然是瞬间 提交于 2019-11-30 04:31:41
I have some tests written using XCTestCase classes and I want to calculate code coverage. For the regular test it is shown nicely in my bot, but for UI Tests is always 0%. The simplest test: import XCTest class FAQUITests: XCTestCase { let app = XCUIApplication() override func setUp() { super.setUp() app.launch() } func openFaqView() { app.navigationBars["NavigationBar"].buttons["FAQ"].tap() } func testFaq() { openFaqView() app.tables.cells.elementBoundByIndex(0).tap() } } And this surely should show some test coverage but it's not. I set in my bot code coverage enabled: And result: Still 0%.

UI Test Case not show code coverage

孤街浪徒 提交于 2019-11-29 01:46:08
问题 I have some tests written using XCTestCase classes and I want to calculate code coverage. For the regular test it is shown nicely in my bot, but for UI Tests is always 0%. The simplest test: import XCTest class FAQUITests: XCTestCase { let app = XCUIApplication() override func setUp() { super.setUp() app.launch() } func openFaqView() { app.navigationBars["NavigationBar"].buttons["FAQ"].tap() } func testFaq() { openFaqView() app.tables.cells.elementBoundByIndex(0).tap() } } And this surely

Socket File “/var/pgsql_socket/.s.PGSQL.5432” Missing In Mountain Lion (OS X Server)

China☆狼群 提交于 2019-11-28 15:08:50
I just upgraded my MacMini Server from Lion Server to Mountain Lion using OS X Server. I am having the same problem with PostgreSQL that I did last year when I first installed Lion Server. When I try to do any kind of PostgreSQL terminal command I get the following notorious error message that many have gotten over the years: psql: could not connect to server: No such file or directory Is the server running locally and accepting connections on Unix domain socket "/var/pgsql_socket/.s.PGSQL.5432"? I was attempting to change the password for _postgres when I got the error. I tried several

Using MDM To Configure An Enterprise App Via NSUserDefaults

扶醉桌前 提交于 2019-11-27 12:07:34
I'm using Profile Manager in OS X Server 3.0.1 on 10.9 to push my enterprise app to a managed device running iOS7. This is working well, and I am also able to push device configuration settings. My roadblock is how to take the information offered in Apple's example project, ManagedAppConfig , and apply it to an app distributed by Profile Manager. ManagedAppConfig provides a simple plist which is supposed to be used to put data into an app's NSUserDefaults, which is then used for app configuration; but, there is no direction given for how to use MDM to get this data dictionary into the