{"action":"created","issue":{"url":"https://api.github.com/repos/cypress-io/cypress/issues/2792","repository_url":"https://api.github.com/repos/cypress-io/cypress","labels_url":"https://api.github.com/repos/cypress-io/cypress/issues/2792/labels{/name}","comments_url":"https://api.github.com/repos/cypress-io/cypress/issues/2792/comments","events_url":"https://api.github.com/repos/cypress-io/cypress/issues/2792/events","html_url":"https://github.com/cypress-io/cypress/issues/2792","id":381630456,"node_id":"MDU6SXNzdWUzODE2MzA0NTY=","number":2792,"title":"Getting error while running cypress on Jenkins - some dependencies missing","user":{"login":"euZebe","id":9463809,"node_id":"MDQ6VXNlcjk0NjM4MDk=","avatar_url":"https://avatars3.githubusercontent.com/u/9463809?v=4","gravatar_id":"","url":"https://api.github.com/users/euZebe","html_url":"https://github.com/euZebe","followers_url":"https://api.github.com/users/euZebe/followers","following_url":"https://api.github.com/users/euZebe/following{/other_user}","gists_url":"https://api.github.com/users/euZebe/gists{/gist_id}","starred_url":"https://api.github.com/users/euZebe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/euZebe/subscriptions","organizations_url":"https://api.github.com/users/euZebe/orgs","repos_url":"https://api.github.com/users/euZebe/repos","events_url":"https://api.github.com/users/euZebe/events{/privacy}","received_events_url":"https://api.github.com/users/euZebe/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-11-16T14:51:19Z","updated_at":"2018-11-20T12:51:22Z","closed_at":null,"author_association":"NONE","body":"### Current behavior:\r\nI am trying to launch my cypress tests from Jenkins, using docker image cypress/base:8. Here are a few lines of my log and the error I get on `cypress run` instruction:\r\n```\r\n> Running shell script\r\n+ docker inspect -f . cypress/base:8\r\n[...] // checkout code, install node modules \r\n> start-server-and-test start:dev http://localhost:4000 cypress:run\r\n[...] // application is starting\r\n> cypress run\r\nIt looks like this is your first time using Cypress: 3.1.1\r\n\u001B[?25l[15:25:16]  Verifying Cypress can run /home/node/.cache/Cypress/3.1.1/Cypress [started]\r\n[15:25:16]  Verifying Cypress can run /home/node/.cache/Cypress/3.1.1/Cypress [failed]\r\n\u001B[?25hCypress failed to start.\r\nThis is usually caused by a missing library or dependency.\r\nThe error below should indicate which dependency is missing.\r\nhttps://on.cypress.io/required-dependencies\r\nIf you are using Docker, we provide containers with all required dependencies installed.\r\n----------\r\nCommand failed: /home/node/.cache/Cypress/3.1.1/Cypress/Cypress --smoke-test --ping=836\r\n----------\r\nPlatform: linux (Debian - 8.11)\r\nCypress Version: 3.1.1\r\n```\r\nWhat is that --smoke-test option ? \r\nAnyone, any idea why it could fail ?\r\n"},"comment":{"url":"https://api.github.com/repos/cypress-io/cypress/issues/comments/440262489","html_url":"https://github.com/cypress-io/cypress/issues/2792#issuecomment-440262489","issue_url":"https://api.github.com/repos/cypress-io/cypress/issues/2792","id":440262489,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0MDI2MjQ4OQ==","user":{"login":"euZebe","id":9463809,"node_id":"MDQ6VXNlcjk0NjM4MDk=","avatar_url":"https://avatars3.githubusercontent.com/u/9463809?v=4","gravatar_id":"","url":"https://api.github.com/users/euZebe","html_url":"https://github.com/euZebe","followers_url":"https://api.github.com/users/euZebe/followers","following_url":"https://api.github.com/users/euZebe/following{/other_user}","gists_url":"https://api.github.com/users/euZebe/gists{/gist_id}","starred_url":"https://api.github.com/users/euZebe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/euZebe/subscriptions","organizations_url":"https://api.github.com/users/euZebe/orgs","repos_url":"https://api.github.com/users/euZebe/repos","events_url":"https://api.github.com/users/euZebe/events{/privacy}","received_events_url":"https://api.github.com/users/euZebe/received_events","type":"User","site_admin":false},"created_at":"2018-11-20T12:51:22Z","updated_at":"2018-11-20T12:51:22Z","author_association":"NONE","body":"Well, I do it ; here is my jenkinsfile:\r\n```\r\npipeline {\r\n    agent none\r\n    stages {\r\n        stage('Checkout and Execute Tests ') {\r\n            agent { docker { image 'cypress/base:8' } }\r\n            steps {\r\n                checkout(...)\r\n                sh(\"npm ci\")\r\n                sh(\"npm run ci-e2e\")\r\n            }\r\n        }\r\n    }\r\n    options {\r\n        buildDiscarder(logRotator(numToKeepStr:\"5\"))\r\n        timeout(time: 1, unit: \"HOURS\")\r\n    }\r\n}\r\n```\r\n\r\nwith package.json containing\r\n`    \"ci-e2e\": \"start-server-and-test start http://localhost:4000 cypress:run\",`\r\nand cypress being a devDependency"}}
{"actor":{"display_login":"euZebe"}}