Philip Hodder Atlassian Team

Comments

  • Hi Ashish, I'm not familiar with building Delphi programs, but it seems that it can only be built on a Windows machine? We currently don't support building on a windows environment. We have an open feature request to add Windows support that you can follow. Thanks, Phil
  • Hi Nitin, Bitbucket Pipelines provides a bash shell that you can execute builds in. You'll need to ensure that Ant is installed in the Docker image you use. The default Pipelines Docker image already has Ant installed. What ant commands are you running locally? You should be able to reuse the same commands in the script…
  • Can you post the log output for a build using the configuration I provided? We can use that to debug further.
  • EDIT: Bitbucket Pipelines supports Windows on self-hosted runners. Windows support for Cloud environments is on the roadmap and tracked here: https://jira.atlassian.com/browse/BCLOUD-22155 --- Hello Michael, For Windows applications, currently Bitbucket Pipelines supports building .NET core applications. We have a feature…
  • Hi, How are you currently pushing code to your server? Pipelines provides a bash environment, so you should be able to reproduce the steps you run on your local machine to push the artifacts onto your server. You may need to set up correct auth, such as SSH keys, before it will successfully push. Thanks, Phil
  • Hi Sydney, When you have a secured environment variable setup, it will be injected into your Pipeline ready to use without additional configuration. However, we mask the value of the variable. You should be able to reference it like any other environment variable. Are you encountering any errors when using secured…
  • Hi Andrew, There's an Azure Docker image that is supported by Microsoft which you can try using: https://hub.docker.com/r/microsoft/azure-cli/ This should be able to provide you the Azure CLI. Then you should be able to do a deployment just like your local CLI environment. If you need to re-install NPM on that image, you…
  • Hi David, Currently the following notifications can be set up: * Pipeline failed * Pipeline fixed (first successful pipelines on a branch after failing pipelines) * Pipeline succeeded * Deployment failed * Deployment stopped * Deployment succeeded Which ones are you using at the moment? Perhaps you can remove a few…
  • Hi Awsin, Pipelines doesn't automatically shutdown if there is no log output. Are you able to post an example of your bitbucket-pipelines.yml configuration? You could also add a background tasks to collect process information, by following the instructions…
  • Hello Alex, Just to confirm, you whitelisted the following IPs: * 34.199.54.113/32 * 34.232.25.90/32 * 34.232.119.183/32 * 34.236.25.177/32 * 35.171.175.212/32 * 52.54.90.98/32 * 52.202.195.162/32 * 52.203.14.55/32 * 52.204.96.37/32 * 34.218.156.209/32 * 34.218.168.212/32 * 52.41.219.63/32 * 35.155.178.254/32 *…
  • Hello Samantha, We currently don't have support for showing Code Coverage information in the Bitbucket Pipelines UI. We have an open feature request that you can follow here: https://bitbucket.org/site/master/issues/15935/show-code-coverage-reports-for-jacoco Thanks, Phil
  • Hi Rutger, We recently released support for defining Deployment Variables. This will allow you to configure variables that will be injected into the relevant Deployment Step. Which seems to be what you need here. You can configure them in the Repository Settings -> Pipelines -> Deployments. Thanks, Phil
  • I've responded to your question here, on your other post. Lets continue the discussion there.
  • Hi Piotr, What do you see if you list the content of directories? image: cypress/base:10 options: max-time: 20 pipelines: default: - step: script: - npm install - npm run test - ls -R /opt/atlassian/pipelines/agent/build/cypress/screenshots - ls -R screenshots - ls -R artifacts:…
  • Hi Anish, Bitbucket has a published list of I addresses which you organisation can whitelist for you to deploy from Pipelines: https://confluence.atlassian.com/bitbucket/what-are-the-bitbucket-cloud-ip-addresses-i-should-use-to-configure-my-corporate-firewall-343343385.html This is something you'll need to discuss with…
  • Hi Mauricio, There is currently no way to view HTML reports in Bitbucket Pipelines. You can export your files so that you can download them onto your own machine by using artifacts. I don't thinking there's an existing feature request open. You can open a new one here: https://bitbucket.org/site/master/issues/ Thanks for…
  • Hi Ramon, Did you try follow Linette and Bryan's conversation on that post? It's near the bottom of the question you linked: https://community.atlassian.com/t5/Bitbucket-questions/Re-Problem-getting-BitBucket-Pipelines-to-commit-back-ve/qaq-p/821368/comment-id/28580#M28580 The SSH key should already be injected…
  • Hi Amin, As the error message says, the Docker process has run out of memory. Do you know which instruction in the Dockerfile it fails on? You can increase the memory of docker with the following config: pipelines: default: - step: name: Build Docker image script: - docker build -t test . services: - docker caches: -…
  • Hi Nitin, Pipelines currently does not support caching across repositories. An external artifactory or repository will be required. You can also open a feature request with information about your use-case. We'll let that soak and see if there's wider interest in the feature. Thanks, Phil
  • Hi Christopher, There is currently no way to create a Pipeline when a feature branch is deleted. Perhaps you could create a Pipeline that runs on the branch you merge into, assume that Pipeline is only run after a merge has complete. You can also open a feature request and include details of your use-case there. Thanks,…
  • @Olusiji David, Can you try run this instead. I forgot there's an edge case with the way error codes work. <span>$ ssh </span><span>-</span><span>qT user@downhost exit; echo $?</span> Thanks
  • @Doohickey Wiggins good catch! Yes you do need it installed. We only add in the SSH keys and known_hosts for you. I've let @Linette (our main documentation writer) know about this. We'll get that added into the docs. Noting it in-product could also be a good idea. Some Docker images will have SSH installed by default. And…
  • Ah! Brilliant! No problem. :) Glad to hear it's resolved.
  • Hi @Malte Hübner, Can you open a support ticket for the team to investigate in more detail. Please ask the Support Engineer to ping me on Stride. So I can whitelist your account and see if that helps, before I go to sleep (it's currently 11pm here). I'll likely be offline in an hour. I'm struggling to reproduce this…
  • Just a quick update. This issue should be fixed now: https://community.atlassian.com/t5/Bitbucket-questions/rm-rf-inside-container-via-Bitbucket-pipeline/qaq-p/903061#M33802 Sorry for the inconvenience.
  • Hello, We've rolled out some changes that have fixed this issue. Can you please try run your docker builds again. Please comment if you're still having issues with deleting/editing files as part of your Docker build. Thanks, Phil
  • Hi Daniel, The bitbucket-pipelines.yml looks fine to me. Can you double check that the files exist in the directory you're expecting to find them in? The following 'ls' commands should suffice. image: python pipelines: default: - step: name: Prerequisites Install script: - pip install requests speedtest-cli - ls -Rla dist…
  • Hello Nishantha, You may need to install some dependencies before you build your dotnet applications. You could also try debug this locally with Docker. Thanks, Phil
  • Hi Jörn, I'm not sure what the issue is at this stage. But here's a few things you can try. Can you double check that file.jar is not empty before it's uploaded (i.e. inside of Pipelines)? Have you tried reproducing this problem locally with Docker? Can you also double check if you need to whitelist Bitbucket Pipelines…
  • Hi Daniel, Can you include a copy of your bitbucket-pipelines.yml here, so we can double check your commands? Have you also tried debugging this locally with docker? Rather than just on your own machine (as you may have other things setup correctly affecting your result). Thanks, Phil