youngmon/atlassian-qna huggingface dataset:
Weblogic Deployment task in Bamboo
Asked by Aakash Basnet:

How do I deploy my application to web logic server.I didn't find the task of deploy to Web logic server in Bamboo deployment task?

thank you


Answers:
author: Timothy
body: There is a feature request for this (<https://jira.atlassian.com/browse/BAM-11809>). You could write your own scripts with the Deployment API (<https://docs.oracle.com/middleware/1213/wls/DEPRF/toc.htm>).
Does bamboo support gant?
Asked by Chandresh Prakash:

We are using gant as the build tool but bamboo does not seem to have a corresponding task type. I found a paid option:  
<https://bobswift.atlassian.net/wiki/display/BGTP/Groovy+Tasks+for+Bamboo>  
Is that the only way to use gant with bamboo? Are there any alternatives or a work around?


Answers:
author: Jaime S
body: Hi, Chandresh.

I honestly never used Gant and I don't know how it works. But, if you know the commands you want to be run, you can always use a script task in Bamboo.

Just create a script that runs it the way you want and it should work. This gives Bamboo great flexibility.

You can read more about script tasks [here](https://confluence.atlassian.com/display/BAMBOO/Script).

Kind regards,  
Jaime Kirch da Silveira  
Atlassian Cloud Support


Tags: build
How to use SSH authentication with GitHub?
Asked by Ryan Porter:

If I try to add a repository from GitHub, I have to enter a username and password. No. We can't do that.

If I try to add a plain Git repository and give it a GitHub URL with an SSH key that I set up as a deployment key, it says:

"'SSH' transport protocol is not supported."

Is there any way to use Bamboo with GitHub other than giving Bamboo a username and password? That's just not going to work.

We're very happy with Solano Labs because of the incredibly easy setup. This makes me appreciate Solano Labs a lot. But we want tighter JIRA integration so we're hoping that there is some way to use Bamboo without using Bitbucket, since Bitbucket just can't replace GitHub.


Answers:
author: rsperafico
body: Hello Ryan,

Thank you for your question.

Atlassian Cloud limits outgoing connections to ports 80 (http) and 443 (https) therefore we don't support ssh in Bamboo Cloud, I am afraid.

If you find this answer useful, I would kindly ask you to accept it so the same will be visible to others who might be facing the same issue you have inquired.

Thank you for your understanding.

---

Kind regards,  
Rafael P. Sperafico  
Atlassian Support


Tags: cloud
How do you restore a deleted Bamboo plan? Is the plan backed up somewhere on the server?
Asked by Erich Gruber:

yesterday I made a fat fingered mistake and deleted a bamboo plan. To my surprise there were no easy solutions to restoring the plan after doing a quick google search. In this case rebuilding the plan was pretty easy. But it begs a bigger question. How do you restore state in general on bamboo? Do plans get serialized somewhere so they can be saved and restored later? Thanks


Answers:
author: rsperafico
body: Hello Erich,

Thank you for your question.

Unfortunately the functionality you're requesting is not currently implemented in Bamboo. However, there is an improvement request that can be tracked here:

<https://jira.atlassian.com/browse/BAM-11453>

I would suggest adding any comments to the issue above as well as [voting](https://confluence.atlassian.com/display/JIRA/Watching+and+Voting+on+an+Issue) on the issue to create its popularity and likelihood of being implemented in a future release.

For more information on how Atlassian implements new features and improvements please see the following document:

<http://confluence.atlassian.com/display/DEV/Implementation+of+New+Features+Policy>

If you find this answer useful, I would kindly ask you to accept it so the same will be visible to others who might be facing the same issue you have inquired.

Thank you for your understanding.

---

Kind regards,  
Rafael P. Sperafico  
Atlassian Support


author: rsperafico
body: Hello Erich,

Thank you for your question.

Bamboo provides backup feature under "Bamboo administration \>\> System". Please refer to the following documentation for further information:

* [Exporting data for backup](https://confluence.atlassian.com/display/BAMBOO/Exporting+data+for+backup)

* [Specifying a backup schedule](https://confluence.atlassian.com/display/BAMBOO/Specifying+a+backup+schedule)

*Please keep in mind that Bamboo built-in backup functionality is intended to serve rather as means for migration/upgrades rather than regular backup solution.*

*For customers with bigger instances we suggest using native DB and filesystem backup solutions.*

If you find this answer useful, I would kindly ask you to accept it so the same will be visible to others who might be facing the same issue you have inquired.

Thank you for your understanding.

---

Kind regards,  
Rafael P. Sperafico  
Atlassian Support


author: Erich Gruber
body: Thanks Rafael. This would work, but really is quite 'heavy' for what I'm wanting to do. We can't shut down our CI pipeline every night to do a complete system backup. It also sounds like we'd have to do a complete restore as well to get something as simple as a plan restored.

What I really need is a way to quickly save a plan to file (xml or json for instance), then a wizard in the bamboo server to add/restore a plan from a file. Is there such a feature? If not, how do I request it? Thanks
How do you link a linked repository to project?
Asked by Chandresh Prakash:

Currently, I am having to add the linked repository to each plan. Is it possible to add the linked repository to project, so I don't have to do it for each plan?


Answers:
author: Krystian Brazulewicz
body: No it is not possible. Projects are only used to logically organize plans. These do not provide any other functionality.

You can however link repository to a Plan and then create multiple Jobs in the plan that would be able to use that repository.


Tags: project

repository
Can quarantine be set to cascade to all branches?
Asked by Scott Rabideau:

Is it possible to quarantine a test in the top branch and have this cascade down to all feature branches? When a test is failing and needs to be quarantined, it would help if the test case be quarantined in the develop branch and have all other branches recognize this same quarantined test and not have to go into every branch and quarantine this test. It's possible to have up to 20-30 active branches that would need the test quarantined. Being able to set the test to quarantine once would be helpful.


Answers:
author: JamieA
body: Nope, <https://jira.atlassian.com/browse/BAM-11196>


Tags: quarantine
Authenticator net.customware.plugins.connector.core.applinks.auth.ConnectorAuthenticationProvider specified by remote application
Asked by Sonny To:

I am able to configure Application Link from JIRA to bamboo. However from the bamboo side the application link to JIRA does not work. In the bamboo logs I get

Authenticator net.customware.plugins.connector.core.applinks.auth.ConnectorAuthenticationProvider specified by remote application 128a4091-65d0-3bfa-9023-71993dada6f1 is not installed locally, and will not be used.

We are using JIRA cloud and bamboo -5.8.1 installed on our own Linux VM.

Nginx is used as a reverse proxy and redirects http to https


Answers:
author: rsperafico
body: Hello Sonny,

Thank you for your question.

* The application must be accessible via either port 80 or 443 .
* If you want to use SSL, you must use a valid certificate (*not a self-signed certificate*).

Please, refer to [Linking to server applications from your cloud instance](https://confluence.atlassian.com/display/Cloud/Linking+to+server+applications+from+your+cloud+instance) documentation for further information.

Also, I would suggest you on running [SSLPoke](https://confluence.atlassian.com/display/FISHKB/PKIX+Path+Building+Failed+-+Cannot+Set+Up+Trusted+Applications+To+SSL+Services) against your Bamboo instance just to make sure the HTTPS is working as expected. SSLPoke simply connects to a SSL service, sends a byte of input, and watches the output.

If you find this answer useful, I would kindly ask you to accept it so the same will be visible to others who might be facing the same issue you have inquired.

Thank you for your understanding.

---

Kind regards,  
Rafael P. Sperafico  
Atlassian Support


Tags: cloud

jira
Shared Credentials
Asked by Jonathan Martin:

Is using shared credentials with a mercurial repository on the roadmap?


Answers:
author: Krystian Brazulewicz
body: Jonathan, this is not on the roadmap but we encourage you to upvote/create feature request on our [public issue tracker](http://jira.atlassian.com/browse/BAM)


author: rsperafico
body: Hello Jonathan,

Thank you for your question.

Are you experiencing any issues and adding a Shared Credential under "*Bamboo administration \>\> Build resources \>\> Shared credentials* " and use it in Repository set up under "*Bamboo administration \>\> Build resources \>\> Linked repositories* " or "*Plan configuration \>\> Repositories*" tab?

What is the Bamboo version you are running?

What is the Operational System?

---

Kind regards,  
Rafael P. Sperafico  
Atlassian Support


Tags: bamboo-administration
Bamboo remote agent for hp-ux
Asked by Jay Chang:

All,

I'm trying to install Bamboo 5.5 remote agents for HP-UX platforms (B.11.31 ia64, B.11.23 ia64, and B.11.11 9000/800 PA-RISC) but I didn't find HP-UX mentioned in supported platform document. Can anyone give me some insight of the following questions:

(1) Which Java version do I need for the HP-UX platforms, I assumed it is Java 7 but not sure.

(2) I didn't find wrapper components in the jar installer under the arch folder. Are wrapper for remote agent on HP-UX platforms available and supported by Atlassian?

Thanks,

JC


Answers:
author: Jay Chang
body: I submitted an Atlassian Support issue and was told that Bamboo 5.6.1 or later should resolve my issue. I upgraded my Bamboo server to 5.8.1 and remote agents work fine now. However the required HP Java 8 for Bamboo 5.8.1 is not available and I ended up using HP Java 6 for PA-RISC HP-UX 11.11, HP Java 7 for HP-UX i11.23 and HP Java 8 for HP-UX i11.31. The remote agents are running so far so good.


author: Jay Chang
body: I started bamboo remote agent without the wrapper but got several errors which all related to JNA native support.

For Itanium platform:

Caused by: java.lang.UnsatisfiedLinkError: JNA native support (com/sun/jna/hp-ux-ia64n/[libjnidispatch.so](http://libjnidispatch.so)) not found in resource path (bamboo-agent-5.5.0.jar)

For PA-RISC platform:

Caused by: java.lang.UnsatisfiedLinkError: JNA native support (com/sun/jna/hp-ux-pa_risc2.0/[libjnidispatch.sl](http://libjnidispatch.sl)) not found in resource path (bamboo-agent-5.5.0.jar)

Has anyone run Bamboo remote agents successfully on the HP-UX platforms? I appreciate your feedback.


author: Przemek Bruski
body: I'd go with OpenJDK 7 in your case.

Not available and not supported. You can use the wrapper available online or use some other solution. You don't need the wrapper.


Tags: bamboo-administration
Manually delete application link from bamboo
Asked by Jamie Wark:

What are the database commands to manually remove an application link from Bamboo. It failed to create the link to JIRA (as Bamboo wasn't externally accessible) and now won't let me delete the link.


Answers:
author: rsperafico
body: Hello Jamie,

Thank you for your question.

Please, refer to the following documentation for further information:

* [Application Link throwing NullPointerException](https://confluence.atlassian.com/display/BAMKB/Application+Link+throwing+NullPointerException)

* [How to remove Application link directly through database](https://confluence.atlassian.com/display/JIRAKB/How+to+remove+Application+link+directly+through+database)

If you find this answer useful, I would kindly ask you to accept it so the same will be visible to others who might be facing the same issue you have inquired.

Thank you for your understanding.

---

Kind regards,  
Rafael P. Sperafico  
Atlassian Support

comments: author: Jamie Wark
body: 'How to remove Application link directly through database' doesn't seem to apply to bamboo as the db tables don't exist, however your first suggestion worked great. Thanks!


Tags: bamboo-administration

jira-administration
What is stored in the directory structure for Bamboo builds?
Asked by Justin LaRose:

I'm running out of disk space and I want to know what each directory stores in the Bamboo directory structure.

Examples are:

exports

artifacts/globalStorage

xml-data/builds

xml-data/build-dir


Answers:
author: rsperafico
body: Hello Justin,

Thank you for your question.

* **\<bamboo-home\>/artifacts**   
  *Artifacts linked to deployments*
* **\<bamboo-home\>/exports**   
  *Please, refer to [Exporting data for backup](https://confluence.atlassian.com/display/BAMBOO/Exporting+data+for+backup) for further information*
* **\<bamboo-home\>/xml-data/builds**   
  *This is known as the Build Directory. This is where Bamboo stores build results (note that they will be deleted as described in [Configuring global expiry](https://confluence.atlassian.com/display/BAMBOO/Configuring+global+expiry)). Its contents can be backed up as per [Exporting data for backup](https://confluence.atlassian.com/display/BAMBOO/Exporting+data+for+backup).*
* **\<bamboo-home\>/xml-data/build-dir**   
  *This is known as the Working Directory. This is where Bamboo temporarily puts the checked-out files it is building. The location of this directory can be changed as described in [Specifying Bamboo's Working Directory](https://confluence.atlassian.com/display/BAMBOO/Specifying+Bamboo%27s+working+directory).*

Please, refer to [Locating important directories and files](https://confluence.atlassian.com/display/BAMBOO/Locating+important+directories+and+files) documentation for further information.

If you find this answer useful, I would kindly ask you to accept it so the same will be visible to others who might be facing the same issue you have inquired.

Thank you for your understanding.

---

Kind regards,  
Rafael P. Sperafico  
Atlassian Support


author: E llanes
body: I would like to know what artifacts/globalStorage directory stores. In my Bamboo is too big!
Bitbucket pipeline successful via ftp but the new file/change was not found in the server hosting
Asked by Indra Oei:

This is my first time using bitbucket pipeline to deploy changes to the server. I've tried a lot of scripts before and the script below seems to be the one that run successfully. But even though in bitbucket it says that the pipeline was successful, I can't find the updated or newly created file in the server hosting. But if the file was updated normally in bitbucket repository source.

Can anyone familiar with bitbucket pipeline help me? I basically want to automate deployment from master branch (when there is a push to master) to a remote server host via FTP.

Note: as for the FTP credentials, I have tried connecting it via apps like FileZilla and it works perfectly fine. So, the problem was not the FTP credentials

*** ** * ** ***

image: wagnerstephan/bitbucket-git-ftp:latest  
pipelines:  
branches:  
master:  
- step:  
name: Deploy to Production  
deployment: production  
script:  
- git ftp push --user $FTP_USERNAME --passwd $FTP_PASSWORD ftp://$FTP_HOST


Answers:
author: Patrik S
body: Hello [@Indra Oei](/t5/user/viewprofilepage/user-id/3482476) ,

Thank you for reaching out to Atlassian Community!

Accordingly to the [git-ftp documentation](https://github.com/git-ftp/git-ftp) , before using the ftp push, you should init the FTP tracking in the remote by executing the git ftp init :

```
git ftp init 
```

You can clone the repository and execute the above command in your local, so all the files will be uploaded to the FTP site. After that, you should be able to normally execute the git ftp push in the pipelines to only synch the changed files.

In case the above does not work, I'd need more verbose logging for the investigation, so could you please update your pipeline to run the push with the **-vv** flag, like below ?

```
git ftp push -vv --user $FTP_USERNAME --passwd $FTP_PASSWORD ftp://$FTP_HOST
```

Once you run it with the verbose flag, please share with us the log output.

Additionally, as an alternative to git ftp you could also make use of the FTP pipe to deploy the files to your remote server, as the example below :

```
script:
  - pipe: atlassian/ftp-deploy:0.3.7
    variables:
      USER: '<string>'
      PASSWORD: '<string>'
      SERVER: '<string>'
      REMOTE_PATH: '<string>'
```

Pipe documentation and examples: <https://bitbucket.org/product/features/pipelines/integrations?p=atlassian/ftp-deploy>

Hope that helps! Let me know in case you have any questions.

Thank you, [@Indra Oei](/t5/user/viewprofilepage/user-id/3482476) .

Kind regards,

Patrik S


Tags: bitbucket-cloud

bitbucket-pipelines

cloud
bitbucketpipelines/aws-eks-kubectl-run:2.2.0
Asked by thierry_paret:

Still have an error when running bitbucketpipelines/aws-eks-kubectl-run:2.2.0

It works in 2 others pipelines with the same AWS account.

I don't understand why I have

*** ** * ** ***

INFO: Successfully updated the kube config.

error: You must be logged in to the server (the server has asked for the client to provide credentials)

? spec file validation failed.

*** ** * ** ***

I was able to deploy it manually by replacing :$BITBUCKET_COMMIT by the last image tag  
any idea


Answers:
author: o_kyrdan
body: Hi [@thierry_paret](/t5/user/viewprofilepage/user-id/4560487)

Thank you for your question!

It would be nice if you could provide us with bitbucket-pipelines.yml configuration.

Best regards,  
Oleksandr Kyrdan


Tags: aws

bitbucket-cloud

cloud

kubernetes
How to migrate to Bitbucket Cloud from Bitbucket 6.7.2 on premise?
Asked by Mariluz COSTA:

Hi,

I have Jira and Confluence on Atlassian Cloud Solutions.

I can't find how to migrate our Bitbubket too.

It is under 6.7.2 version and every tutorials want me to installe Migration Tool but it is available only from version 7 of Bitbucket on server.

Can you please help me to find a procedure to migrate safely our Bitbucket.

Thank you in advance,

Mariluz COSTA


Answers:
author: Ben
body: Hey Mariluz,

Just stepping in here as I have noticed that you have not yet received a response from our community yet.

First, I would recommend checking the following links:  
Plan your Bitbucket Server to cloud migration - <https://support.atlassian.com/migration/docs/plan-your-bitbucket-server-to-cloud-migration>  
How to Migrate from Bitbucket Server to Cloud -https://[www.atlassian.com/migration/resources/bitbucket-migration-assistant](http://www.atlassian.com/migration/resources/bitbucket-migration-assistant)  
Migrating to Bitbucket Cloud  
<https://bitbucket.org/product/demo-migration>

<br />

For migration from an older version of Bitbucket Server (pre 7.0) to Bitbucket Cloud, I would suggest the following:

* I would first suggest for you to deploy your current Bitbucket Server **production environment** to a **staging environment** .   
  Documentation can be found here regarding this:  
  <https://confluence.atlassian.com/bitbucketserverkb/how-to-establish-staging-server-environments-for-bitbucket-server-779171160.html>
* Once the deployment has completed, you can then perform the upgrade to 7.0+ within your staging environment - this way you can test to see if the upgrade is successful and functional before upgrading within your production environment
* After your production environment has been successfully upgraded to Bitbucket Server 7.0+ - you may then make use of our Bitbucket Cloud Migration Assistant to migrate all of your binary files, commit history, users etc over to Bitbucket Cloud:   
  <https://www.atlassian.com/migration/resources/bitbucket-migration-assistant>

Hope this helps, if you have any further questions - please feel free to reach out.

Cheers!

- Ben (Bitbucket Cloud Support)


Tags: bitbucket-server

migration-customer-care

server
How to set a user as a project admin?
Asked by Tommy Pool:

Does a user need to be a workspace admin in order to see project settings? Or is there another way.

I feel like workspace admin is too much to give someone that just wants to access settings on a single project.


Answers:
author: Tommy Pool
body: This is for bitbucket projects.

comments: author: Richard Pace
body: Tommy Pool, this doesn't seem like an answer to the question. Did you ever find out if a user can be given Admin capability for a bitbucket project without requiring workspace Admin?


author: Tommy Pool
body: Apologies, I am not sure that this was intended to be an answer but instead an additional comment to my OP.

I don't think that I did find the answer I was looking for.

Tommy.


author: Richard Pace
body: ok, thanks. I have the same need, allow Bitbucket Project Admin without granting full workspace Admin.


Tags: bitbucket-cloud

cloud
Repo size note reduced after large file history d...
Asked by Kundai Clayton Chatambudza:

[@Theodora Boudale](/t5/user/viewprofilepage/user-id/818086)

I am also experiencing the same issue . I ran the BFG repo cleaner and successfully reduced repo size. However on bitbucket it still shows that Imy repo is greater than 3GB. Please help


Answers:
author: Theodora Boudale
body: Hi [@Kundai Clayton Chatambudza](/t5/user/viewprofilepage/user-id/4807835),

I checked the repos you have access to and I found one repo with a size of 3 GB. I ran a git gc on it and its size has been reduced.

Can you see the updated size for the repo?

Just a heads up, I moved your post to a new question. It's best to create a separate question when you need assistance with an issue, because (a) a new question will be visible to other Atlassian staff as well if I'm out of office and (b) another user's post may become difficult to follow if we troubleshoot multiple users' issues there.

Kind regards,  
Theodora
Can't log in to my bitbucket account
Asked by Lili:

Hello,

I have problems when I try to log in to my bitbucket account.

----------  
We couldn't log you in  
You may run into this issue when you use specific browsers or add-ons that hide the referer header for id.atlassian.com and other Atlassian sites. Check for these and then try logging in again.

----------

I saw that my account may be deactivated or marked as spam : <https://community.atlassian.com/t5/Bitbucket-questions/Stuck-in-quot-We-couldn-t-log-you-in-quot/qaq-p/1660635>

Can you help me please ?

Thanks.

Lili


Answers:
author: Patrik S
body: Hello [@Lili](/t5/user/viewprofilepage/user-id/4938272) ,

Welcome to Atlassian Community!

Checking on our internal system for the bitbucket account with the same e-mail as your community account, I noticed it's currently in "Dormant" state due to the long period of inactivity.

I went ahead and marked the bitbucket account as active again, so you should be able to successfully log in. Would you please try again and let us know if it works?

Thank you, [@Lili](/t5/user/viewprofilepage/user-id/4938272) .

Kind regards,

Patrik S

comments: author: Lili
body: Hello [@Patrik S](/t5/user/viewprofilepage/user-id/4603309) !

Thank you so much for your help, it works now !

Kind regards,

Lili


author: Patrik S
body: Hello [@Lili](/t5/user/viewprofilepage/user-id/4938272) !

Awesome, happy to hear that it worked :)

Thank you!


Tags: bitbucket-cloud

cloud