Good day,
I just started on an existing project that uses BitBucket and pipelines for their deployment. For reference, we'll call the primary project 'Project A', and Project A is based on Node.js, written in Javascript.
I have created another BitBucket repository with my Selenium tests, which are written in Java and use Maven to execute, ie: mvn clean verify
All things aside, what is the best way to instantiate my Selenium tests in Project A's build-pipeline.yml to ensure that they are ran properly against Project A?
Seeing as Project A does not use Maven (and generally does not have a concept of java artifacts), I'm a bit confused as to how to accomplish this.
It should be noted that I'm using an outside service (ie: SauceLabs) to run the actual Selenium tests.
Hi Brandon,
Without digging into the particular tools you're using it sounds like you might want to run your Selenium tests in a separate step in Project A, using a docker image that contains all the dependencies needed for those tests. You can transfer the artifacts that you're testing from a previous step: https://confluence.atlassian.com/bitbucket/using-artifacts-in-steps-935389074.html
If that doesn't answer your question perhaps you could provide a bit more detail about the specific tasks you need help with.
Perhaps the answer to this other question will also help. It discusses some options for transferring dependencies between repositories. https://community.atlassian.com/t5/Bitbucket-questions/Pipeline-build-depends-on-another-development-package-in-a/qaq-p/693365
Cheers,
Steven
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.