Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Set up TeamCity CI Example #144

Open
RandallKent opened this issue Oct 23, 2018 · 8 comments
Open

Set up TeamCity CI Example #144

RandallKent opened this issue Oct 23, 2018 · 8 comments
Assignees
Milestone

Comments

@RandallKent
Copy link

No description provided.

@bahmutov
Copy link
Contributor

yeah, @RandallKent if you can find a paid TeamCity CI, I would easily set this up I think, I submitted us to free open source teamcity CI project but they never got back to me :( https://github.com/cypress-io/cypress-internal/issues/173

@bahmutov
Copy link
Contributor

  • @RandallKent should find TeamCity CI service and open an account there and add this project
  • @bahmutov can do the rest

@jennifer-shehane jennifer-shehane added this to the Sprint 8 milestone Oct 23, 2018
@bahmutov
Copy link
Contributor

bahmutov commented Nov 9, 2018

Trying to run TeamCity locally (server and an agent) using Docker containers to build this project

@bahmutov
Copy link
Contributor

bahmutov commented Nov 9, 2018

screen shot 2018-11-09 at 4 36 21 pm

simple recording is working but missing some commit information

@bahmutov
Copy link
Contributor

bahmutov commented Nov 9, 2018

Got debug output from 3.1.1

[17:06:31][Step 1/1]   commit-info commit-info in folder /opt/buildagent/work/30c5483c494975d8 +0ms
[17:06:31][Step 1/1]   commit-info using Git tool to find branch +0ms
[17:06:31][Step 1/1]   commit-info running git command: git rev-parse --abbrev-ref HEAD +0ms
[17:06:31][Step 1/1]   commit-info in folder /opt/buildagent/work/30c5483c494975d8 +0ms
[17:06:31][Step 1/1]   commit-info running git command: git show -s --pretty=%B +2ms
[17:06:31][Step 1/1]   commit-info in folder /opt/buildagent/work/30c5483c494975d8 +0ms
[17:06:31][Step 1/1]   commit-info running git command: git show -s --pretty=%ae +0ms
[17:06:31][Step 1/1]   commit-info in folder /opt/buildagent/work/30c5483c494975d8 +0ms
[17:06:31][Step 1/1]   commit-info running git command: git show -s --pretty=%an +0ms
[17:06:31][Step 1/1]   commit-info in folder /opt/buildagent/work/30c5483c494975d8 +0ms
[17:06:31][Step 1/1]   commit-info running git command: git show -s --pretty=%H +0ms
[17:06:31][Step 1/1]   commit-info in folder /opt/buildagent/work/30c5483c494975d8 +0ms
[17:06:31][Step 1/1]   commit-info running git command: git config --get remote.origin.url +1ms
[17:06:31][Step 1/1]   commit-info in folder /opt/buildagent/work/30c5483c494975d8 +0ms
[17:06:31][Step 1/1]   commit-info git stdout: master +87ms
[17:06:31][Step 1/1]   commit-info got an error running command "git show -s --pretty=%B" in folder "/opt/buildagent/work/30c5483c494975d8" +0ms
[17:06:31][Step 1/1]   commit-info Error: Command failed: /bin/sh -c git show -s --pretty=%B
[17:06:31][Step 1/1]   commit-info error: object directory /opt/buildagent/system/git/git-8B497B35.git/objects does not exist; check .git/objects/info/alternates.
[17:06:31][Step 1/1]   commit-info fatal: bad object HEAD
[17:06:31][Step 1/1]   commit-info 
[17:06:31][Step 1/1]   commit-info 
[17:06:31][Step 1/1]   commit-info     at Promise.all.then.arr (/root/.cache/Cypress/3.1.1/Cypress/resources/app/packages/server/node_modules/execa/index.js:236:11)
[17:06:31][Step 1/1]   commit-info     at <anonymous>:null:null
[17:06:31][Step 1/1]   commit-info     at process._tickCallback (internal/process/next_tick.js:188:7)
[17:06:31][Step 1/1]   commit-info  +0ms
[17:06:31][Step 1/1]   commit-info got an error running command "git show -s --pretty=%ae" in folder "/opt/buildagent/work/30c5483c494975d8" +0ms
[17:06:31][Step 1/1]   commit-info Error: Command failed: /bin/sh -c git show -s --pretty=%ae
[17:06:31][Step 1/1]   commit-info error: object directory /opt/buildagent/system/git/git-8B497B35.git/objects does not exist; check .git/objects/info/alternates.
[17:06:31][Step 1/1]   commit-info fatal: bad object HEAD
[17:06:31][Step 1/1]   commit-info 
[17:06:31][Step 1/1]   commit-info 
[17:06:31][Step 1/1]   commit-info     at Promise.all.then.arr (/root/.cache/Cypress/3.1.1/Cypress/resources/app/packages/server/node_modules/execa/index.js:236:11)
[17:06:31][Step 1/1]   commit-info     at <anonymous>:null:null
[17:06:31][Step 1/1]   commit-info     at process._tickCallback (internal/process/next_tick.js:188:7)
[17:06:31][Step 1/1]   commit-info  +0ms
[17:06:31][Step 1/1]   commit-info got an error running command "git show -s --pretty=%an" in folder "/opt/buildagent/work/30c5483c494975d8" +1ms
[17:06:31][Step 1/1]   commit-info Error: Command failed: /bin/sh -c git show -s --pretty=%an
[17:06:31][Step 1/1]   commit-info error: object directory /opt/buildagent/system/git/git-8B497B35.git/objects does not exist; check .git/objects/info/alternates.
[17:06:31][Step 1/1]   commit-info fatal: bad object HEAD
[17:06:31][Step 1/1]   commit-info 
[17:06:31][Step 1/1]   commit-info 
[17:06:31][Step 1/1]   commit-info     at Promise.all.then.arr (/root/.cache/Cypress/3.1.1/Cypress/resources/app/packages/server/node_modules/execa/index.js:236:11)
[17:06:31][Step 1/1]   commit-info     at <anonymous>:null:null
[17:06:31][Step 1/1]   commit-info     at process._tickCallback (internal/process/next_tick.js:188:7)
[17:06:31][Step 1/1]   commit-info  +0ms
[17:06:31][Step 1/1]   commit-info got an error running command "git show -s --pretty=%H" in folder "/opt/buildagent/work/30c5483c494975d8" +2ms
[17:06:31][Step 1/1]   commit-info Error: Command failed: /bin/sh -c git show -s --pretty=%H
[17:06:31][Step 1/1]   commit-info error: object directory /opt/buildagent/system/git/git-8B497B35.git/objects does not exist; check .git/objects/info/alternates.
[17:06:31][Step 1/1]   commit-info fatal: bad object HEAD
[17:06:31][Step 1/1]   commit-info 
[17:06:31][Step 1/1]   commit-info 
[17:06:31][Step 1/1]   commit-info     at Promise.all.then.arr (/root/.cache/Cypress/3.1.1/Cypress/resources/app/packages/server/node_modules/execa/index.js:236:11)
[17:06:31][Step 1/1]   commit-info     at <anonymous>:null:null
[17:06:31][Step 1/1]   commit-info     at process._tickCallback (internal/process/next_tick.js:188:7)
[17:06:31][Step 1/1]   commit-info  +0ms

@philipjrosen
Copy link

@bahmutov is it currently possible to run cypress on teamcity? My team would like to explore using cypress instead of selenium, but I need to make sure we won't have any problems integrating with teamcity.

@bahmutov
Copy link
Contributor

sure, I am running the teamcity as shown above using Docker containers from cypress-docker-images - they question is that we cannot find commercial TeamCity CI provider to have an up to date public example

@philipjrosen
Copy link

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants