Comments
-
Short of storing multiple environment files inside your repository, I like the approach mentioned in the stack overflow response of using a base64 encoded environment variables to store each file. You could configure multiple environment variables containing the base64 encoded .env file, one per environment. The current…
-
Hi @Immanuel Aristya Are you trying to start and deploy a webapp to Tomcat running locally as part of your pipeline, or are you trying to deploy your webapp to a remote Tomcat instance? If you are trying to build a webapp and deploy to a remote Tomcat instance, a simplified pipeline may look something like: pipelines:…
-
Hi @Saurabh Batra You can try referencing your internal maven repositories in your pom.xml. See https://maven.apache.org/guides/mini/guide-multiple-repositories.html for an example. They describe using either settings.xml, or the pom.xml to declare your repositories.
-
Hi @glinskyc The test-reports feature in pipelines requires the xml test reports to be in Junit format. Having a skim through the pytest docs at https://docs.pytest.org/en/latest/usage.html, it looks like you should be able to do this with the 'junitxml' flag: pytest --junitxml=./test-reports/coverage.xml Thanks, Graham
-
The default docker image we use in pipelines is based on Ubuntu, and you can install additional tools required in your pipeline using 'apt-get', Ubuntu's packager manager tool. e.g This snippet should install graphviz and dot: pipelines: default: - step: script: - apt-get update && apt-get install -y graphviz - dot -V I'm…
-
Hi @Mahmoud I can see you've attempted to add the 'openjdk:8' docker image as a service. Services are designed to provide additional databases, webservices etc as part of your build, and not provide CLI tools (the exception is the pipelines built in 'docker' service, which in addition to providing a docker daemon, also…
-
Hi @Ankush_Sharma It appears there may have been an intermittent outage related to gradle images on dockerhub - see https://github.com/docker/hub-feedback/issues/1618. Are you still experiencing issues?
-
Hi @Christoph Trappe Do you have an example pipeline yaml or link to a repository with a failing example? If any command you run as part of the pipeline fails with a non zero exit code, this should cause the pipeline to fail.
-
@Feldhacker are you using a custom docker image in your pipeline? You may need to first run 'apt-get update' before running 'apt-get install unzip' to fetch the list of available packages first, before attempting to install 'unzip'.
-
Hi @Jacobo Misael Tapia de la Rosa We've recently updated our documented on how to run the Laravel quick-start project with Bitbucket Pipelines, so it might be worth having a read of that for some hints. See https://confluence.atlassian.com/bitbucket/laravel-with-bitbucket-pipelines-913473967.html Are you able to provide…