Comments
-
Hello, Is your .gitignore file the same across all your branches? If not, can you paste in an example of it? If the configuration files are being pushed to Bitbucket, it means it has already been included in your commit history. A gitignore file will only prevent the file from being added to a commit. It won't prevent it…
-
Hi @Haim Paperman Sorry for the delay, I've been on annual leave. Which file does it error on? Is it the first one that your server identifies? Can I also get you to check that all the files are getting checked if we disable the failing exit code? I'm wondering if PHP CodeSniffer is only checking the first file parameter.…
-
Sorry for the delayed response Tomasz, I was on annual leave. Thanks for verifying the files are created and it works locally. Just to check, these files need to exist in order for the tests to pass? Perhaps there is some race condition going on. Can you try introduce a delay between the files being created and the…
-
Hi Craig, In order to update a variable, for use in other Pipelines, you'll need to use the Bitbucket REST API. I think having a specific pipeline command to do that is a great idea (it could also be extended to allow API calls to Bitbucket in general via a build). Could you open a feature request with details of your…
-
Hi Elias, Yes, that is expected functionality. We have a limitation on the number of branches or tags that can be pushed at once. This is to prevent users from triggering more builds than they may intend. Although, the limit is 5 tags. Do you have a use-case where you're expected all the tags to be built? Or are you only…
-
Hi Riccardo, Can you post the bitbucket-pipelines.yml configuration that you're using? You can check the contents of your build environment with the following commands: pipelines: default: - step: artifacts: - # Whatever you normally have configured. script: - # Run your normal build commands. - ls -R $BITBUCKET_CLONE_DIR…
-
Hi Eduardo, Bitbucket Pipelines automatically scans for test reports after each step of a pipeline. So if you have test reports output in your build, then it should be parsed and shown in the UI of the build result. We got some details on how test reports works in Pipelines…
-
Hi Vishal, Is this still happening for you? If so, can you please open a support request. One of our support engineers should be able to help get things working for you. :) Thanks, Phil
-
No worries for the delay. We haven't scheduled any time to start looking into integrating Code Coverage directly into Pipelines. However, it sounds like you want to prevent a deployment from running based on the test coverage. In that case you could enforce that as part of your deploy step (or an earlier one). For example:…
-
Hi Ken, I agree it would be a useful feature to have. However, we currently have other features prioritised and haven't got Code Coverage on our immediate roadmap. We have an open feature request for it here, which you can follow for…
-
(Sorry for the delayed response, I was on annual leave) Hmmm... Why were you unable to define branch pipelines in the same repository? e.g. pipelines: branches: path-1-branches*: - step: name: A script: - echo A - step: name: C script: - echo C - step: name: E script: - echo E path-2-branches*: - step: name: A script: -…
-
Hello Linu, Currently Pipelines is only supported on Bitbucket Cloud. For our Bitbucket Server and Bitbucket Data Centre customers, we recommend using Bamboo. Thanks, Phil
-
Do the tests clean themselves up after completing (which may explain why the directories don't exist in the after-script)? Looks like the files aren't there in either pipelines you linked. Lets try something else, and watch to see if the files are ever created throughout the tests. image: tomeks86/python-openbabel…
-
Unfortunately not. But, I don't think I need direct access to your pipeline/keys to debug this. And having this available on Community will be helpful for anyone with similar issues in the future. Thanks for sharing your YAML. Given the steps don't share state here, you should be able to run these steps in parallel. Trying…
-
Hi Ali, Each pipeline runs in its own self-contained environment. So no database containers are shared across pipelines. Perhaps there is a flakey test in your test suite? What kind of error messages are you seeing? Thanks, Phil
-
Hi Yalim, Can you expand on your use-case a bit? What conditions would cause the pipelines fan out? Perhaps the parallel steps feature is what you're after? Thanks, Phil
-
Sorry, I didn't see PHPMD in the example you posted above? Do you have more configuration than what was in your initial post, if so can you paste it in? :) Pipelines will automatically stop execution once a single command has failed. So it's an all or nothing deal. One way to run multiple steps without hiding the result of…
-
Hello Rodrigo, How do you do this locally? Pipelines provides a bash environment, so you should be able to reuse the same commands you use to do this on your own machine. Thanks, Phil
-
Hmmmm. Tricky... Try the following config, lets see if the files actually get created after the tests finish. image: tomeks86/python-openbabel pipelines: default: - step: caches: - pip script: - pip install -r requirements_test.txt - flake8 --ignore E501,E126 chi1chi2/ - python -m unittest discover tests/ after-script: -…
-
Right. In that case I'd recommend you use Git LFS. Git LFS is used for binary files, which the SQLite Database file is (from my quick Googling). You can get started by looking at our documentation on Git LFS here: https://confluence.atlassian.com/bitbucket/git-large-file-storage-in-bitbucket-829078514.html The downloads…
-
I meant that you should add the phpcs command inside the after script. Alternatively, you can add the following flag to your phpcs command: vendor/bin/phpcs --config-set ignore_warnings_on_exit 1 --standard=PSR2 Api/ Helper/ Model/ Plugin/ Setup/
-
Hello Sergio, We had reports of this issue last week and since fixed the issue. Can you confirm when you last saw this, as we haven't been able to reproduce the issue after seeing your question. Is it still happening? Thanks, Phil
-
Oh sorry, I misinterpreted what you wanted. The value you provide here is passed into a Docker shell command, so standard Bash string substitution should work here. e.g. See LOCAL_PATH. It will be set as "hello-world" pipelines: default: - step: script: - mkdir hello-world - pipe: atlassian/aws-s3-deploy:0.2.1 variables:…
-
Hi Jacopo, Currently Pipelines has a 10 step limit. However, we have an open feature request here to bump the limit, which you should follow: https://bitbucket.org/site/master/issues/16558/increase-multiple-steps-limit The only feature that I think could currently help, depending on your workflow, is the after-scripts…
-
Hi Arielle, The Bitbucket Pipelines team takes security extremely seriously. As we are well aware of the degree of trust our users are placing in using our infrastructure and the impact a security incident could have. Some high level details: * All of our networking uses HTTPS, including the sending of scripts. *…
-
Hello Remo, Currently there's no built-in support for that Gradle remote build cache. You can open a feature request for support here: https://bitbucket.org/site/master/issues/new We also have no built in feature to place servers "close" to the Bitbucket Pipelines agents. We currently run in us-west and us-east. But when…
-
Hi Ken, Is the 'Failed" you're referencing from the logs of the AWS s3 sync command? Or elsewhere in the Pipelines UI? You can start by enabling debug mode on the command. The following should do the trick. aws --debug s3 sync --delete . s3://my-s3-bucket-for-images After that you should hopefully have some more useful…
-
Hi Lee, You can follow the instructions here to set up an SSH key to be injected into your Pipelines build here: https://confluence.atlassian.com/bitbucket/use-ssh-keys-in-bitbucket-pipelines-847452940.html Once you've done that, you need to add the public key to wherever your Laravel package is so that your build is…
-
Hi Haim, When Pipelines receives a non-zero exit code, the step and pipeline are marked as failed. It is likely that sniff is returning such an exit code. Can you attach the error message you're seeing? You may find using an after-script useful. This will allow you to set up commands that run after the main script has…
-
Hi Alexander, What command is this error occurring on? It looks like it happens when trying to build your application. There's limited support for running Windows builds. Currently we only support .NET core builds: https://bitbucket.org/site/master/issues/13452/support-for-native-windows-net-builds-on However, a Mono…