Comments
-
Hey, this is probably because the Docker image that you are using for your build does not have lftp installed. You can try looking for a DockerHub image that has it installed, or install it at runtime. To install it, you might try `sudo apt-get install lftp` (assumes that apt-get is installed).
-
Hey @sustbmat, we were also affected by this. It turns out that the alpine image on DockerHub got updated and was in a broken state. It has been fixed now, which explains why your builds works again. Rather than relying on the latest, we now depend on a previous stable version.
-
Also an update: Docker build and push (and other operations) are now supported by Pipelines: https://blog.bitbucket.org/2017/04/18/bitbucket-pipelines-supports-building-docker-images-and-service-containers/
-
Hi @Aruljothi J, might be best to create a seperate question for this, since it is a different topic. Regarding your question, I am not entirely sure what blackduck software does, but keep in mind that the $BITBUCKET_TAG variable will only be set if you pushed a tag (i.e. not if you pushed a branch reference).
-
Hi @thibmaek, it looks like there has been a change in npm ratelimiting that is impacting us. There is an open npm issue here: https://github.com/npm/registry/issues/334 You can also track our status page: https://status.bitbucket.org/incidents/dt7bxd954z0m
-
I understand the issue. As I said: the variable replacement is relatively naïve in the sense that it replaces any occurrences of the value of that variable (which is kinda intentional, because we actually can not predict where this secured variable will show up in the logs). A side effect is that sometimes things can…
-
Hi @Jon Theis, this is related to how our secured environment variables work. When you declare a secured environment variable $TEST with value "something" we will effectively replace any occurrence of "something" from your logs by $TEST.
-
Hi @Justin Ellison, I had a look around and maybe this article could help? https://github.com/npm/npm/issues/14042
-
Right, I see. Unfortunately Bitbucket Pipelines only supports workflows per repository at the moment. There is a feature request open for this, you can check it here: https://bitbucket.org/site/master/issues/13232/trigger-downstream-builds
-
Just try updating your bitbucket-pipelines.yml script to look something like this: step: default: - step: script: - chmod +rwx src/main/webapp/index.html - gulp-inject
-
File not found probably means that the file you reference from your local directory does not exist.
-
Hi @LastManStandingV2, I didn't find any specific examples, but I did find this Docker image that might make it a bit easier: https://hub.docker.com/r/ramiro/golang-bitbucket-pipeline/
-
@baluVyamajala, as your log output suggests: [INFO] Error: EPERM: operation not permitted, chmod '/opt/atlassian/pipelines/agent/build/src/main/webapp/index.html' Try 'chmod +rwx src/main/webapp/index.html'
-
Hi @pbellerive, There are some suggestions here: https://stackoverflow.com/questions/2852748/pdoexception-could-not-find-driver Some tips on enabling PHP extensions in Bitbucket Pipelines can be found here: https://confluence.atlassian.com/bitbucket/php-with-bitbucket-pipelines-873907835.html
-
Hey @Artur Stępień, Bitbucket Pipelines enables you to configure different pipelines for specific branches. See for some examples here: https://confluence.atlassian.com/bitbucket/branch-workflows-856697482.html You can easily extend this workflow to integrate with Bitbucket Deployments as well, by adding 'deployment:…
-
Hey @Guy_Incognito, I suspect that your repository is not public and thus you need to pass in credentials with your request. To test this, add '-v' at the end of your curl command, which enables verbose logging: curl -X POST…
-
Hi @Martin Min, that looks fine on first sight. Could you make sure that 'target/namingstory.war' exists in your build (e.g. by executing 'ls target' before the upload command)?
-
Hey @imri_barr, We did in fact have an issue with the fetching SSH keys, this has been resolved by now (got resolved last week). Sorry for the inconvenience!
-
Hi @ericfischerbav, unfortunately Bitbucket Downloads does not support directories at the moment. You can open a feature request here: https://bitbucket.org/site/master/issues?status=new&status=open Alternatively, you can just include the build number in the name of your artefact?
-
Hi @Tristan Wegman, in order to interact with Docker, you should enable Docker. To do this, put this at the top/bottom of your YML file: options: docker: true
-
Hi @rdegregorio, I am assuming you are trying to set up the deployment features of Pipelines (https://blog.bitbucket.org/2017/12/05/introducing-bitbucket-deployments/) ? In order to enable this, you simple have to define one of your pipeline steps as a deployment step. You can simple do this by setting the 'deployment'…
-
In your logs I see this, maybe addressing this fixes the other errors? configure: WARNING: OCI8 extension: ORACLE_HOME is not set, looking for default Oracle Instant Client instead checking Oracle Instant Client directory... configure: error: Oracle Instant Client directory /usr/lib/oracle/.../client64/lib libraries not…
-
Ah right I see. I suspect that the python script you use has hardcoded in it to use a certain environment variable to configure the AWS deployment group? In the step that does a deployment, you could add a command to your script in bitbucket-pipelines.yml that overwrites the value of your deployment group variable. For…
-
What exactly are you trying to accomplish? With pipelines you have multiple sequential steps within the same pipeline (see https://blog.bitbucket.org/2017/10/03/multiple-steps-in-bitbucket-pipelines/). Alternatively, you can use our REST API to kick off a new pipeline as part of your step…
-
Am I correct in assuming that the real difference is that you want to use different appsec.yml files for staging and production? If that is the case, 1 solution could be to create 2 directories in your repository (/staging and /production) and in each you store the appropriate version of the appsec.yml file. When doing…
-
There are some tutorials available on how to integrate Pipelines and Hybris: * https://dzone.com/articles/building-salesforce-using-atlassian-bitbucket-pipe * https://bitbucket.org/sfdc-cookbook/salesforce-bitbucket-pipelines/src/master/ * https://www.youtube.com/watch?v=rqhyU99aU0E *…
-
Could you provide the full error logs?
-
Since you are using python 3, shouldn't you use pip3 install -r requirements.txt -vvv
-
Hi @Hardeep, could you explain a bit more how the build fails on uploading caches? Are you hitting the timeout of the build?
-
Hey Gavin, you could look at configuring artifacts. You define which folders you want to preserve in your first step, and then these are passed along in your subsequent steps.…