This repository has been archived by the owner. It is now read-only.
Updated Jenkinsfile to run tests using Appium #19
Conversation
Contributor
sharath-cliqz
commented
Apr 10, 2018
|
97de1d9
to
b2b666e
|
@sharath-cliqz Are these scheme changes to disable FF tests? |
|
@naira-cliqz Yes. I Disabled the FF Tests and added a basic Test Sceme for Appium. |
Jenkinsfile
Outdated
| chmod 600 ~/.ssh/id_rsa | ||
| echo $CLIQZ_CI_SSH_KEY | ||
| ssh-keyscan -t rsa github.com >> ~/.ssh/known_hosts | ||
| git clone -b version2.0 --single-branch --depth=1 git@github.com:cliqz/autobots.git |
chrmod
Apr 16, 2018
Member
wonder if we couldn't use checkout helper instead?
wonder if we couldn't use checkout helper instead?
sharath-cliqz
Apr 17, 2018
Author
Contributor
Writing a Helper as we use something similar to Android and iOS.
Writing a Helper as we use something similar to Android and iOS.
Jenkinsfile
Outdated
| @@ -67,18 +81,65 @@ node('mac-mini-ios') { | |||
| timeout(10) { | |||
| sh '''#!/bin/bash -l | |||
| set -e | |||
| xcodebuild -workspace Client.xcworkspace -scheme "Fennec" -sdk iphonesimulator -destination "platform=iOS Simulator,OS=11.2,id=185B34BB-DCB8-4A17-BDCA-843086B67193" ONLY_ACTIVE_ARCH=NO -derivedDataPath clean build | |||
| xcodebuild -workspace Client.xcworkspace -scheme "Fennec" -sdk iphonesimulator -destination "platform=iOS Simulator,OS=11.2,id=185B34BB-DCB8-4A17-BDCA-843086B67193" ONLY_ACTIVE_ARCH=NO -derivedDataPath clean build test | |||
chrmod
Apr 16, 2018
Member
please split arguments into subsequent lines
please split arguments into subsequent lines
sharath-cliqz
Apr 17, 2018
Author
Contributor
Done.
Done.
Jenkinsfile
Outdated
| junit "autobots/test-reports/*.xml" | ||
| zip archive: true, dir: 'autobots/screenshots', glob: '', zipFile: 'autobots/screenshots.zip' | ||
| } catch (e) { | ||
| // no screenshots, no problem |
chrmod
Apr 16, 2018
Member
have seen this somewhere before? can we extract something to our jenkins-pipeline-library ? /cc @sharath-cliqz
have seen this somewhere before? can we extract something to our jenkins-pipeline-library ? /cc @sharath-cliqz
sharath-cliqz
Apr 17, 2018
Author
Contributor
Done. Put it into the same file for now. Will move it to the jenkins-pipeline-library.
Done. Put it into the same file for now. Will move it to the jenkins-pipeline-library.
Jenkinsfile
Outdated
| stage('Setup Test Environment'){ | ||
| sh '''#!/bin/bash -l | ||
| set -e | ||
| npm install -g appium |
chrmod
Apr 16, 2018
Member
we could add those to package.json and run with npm run - this will add a better version control and it would pollute a global namespace
we could add those to package.json and run with npm run - this will add a better version control and it would pollute a global namespace
sharath-cliqz
May 7, 2018
Author
Contributor
Done.
Done.
8ea330d
to
eb7df0d
a897c05
to
8740cfd
f5d56f9
to
994e816
5b4d033
to
da20877
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.