youngmon/atlassian-qna huggingface dataset:
Workspace support for Bamboo Xcode plugin?
Asked by Max Seelemann:

Do you plan to add any support for compiling from workspaces instead of projects to the Bamboo Xcode plugin? Would be greatly appreciated!


Answers:
author: James Dumay
body: Hi Max,

There is no plans to add workspace support to the Xcode plugin at the moment. The plugin is a personal project of mine (thats why its part of Atlassian Labs) so we don't officially support it.

The code is relatively simple, so if you are keen to add the workspace support the plugin is [open source and forkable on Bitbucket](https://bitbucket.org/i386/bamboo-xcode/).

Hint: You can find the available options for the xcodebuild command that the plugin uses to build projects by running:

```
sudo /usr/bin/xcode-select -switch /Applications/Xcode.app/Contents/Developer/ #setup xcodebuildxcodebuild -help
```

comments: author: Max Seelemann
body: We'll see what we can do. Thanks for answering!


author: James Dumay
body: No worries! Post questions if you have any and ill answer them :)


author: intari
body: Hi,

is there updated instruction how to build plugin?

maven build for me fails with

\[INFO\] Scanning for projects...

\[ERROR\] The build could not read 1 project -\> \[Help 1\]

\[ERROR\]

\[ERROR\] The project com.atlassian.bamboo.plugins.xcode:bamboo-xcode-plugin:1.2-SNAPSHOT (/Users/\<skip\>/Work/bamboo-xcode/pom.xml) has 1 error

\[ERROR\] Non-resolvable parent POM: Failure to find com.atlassian.pom:atlassian-closedsource-pom:pom:23 in <http://repo1.maven.org/maven2> was cached in the local repository, resolution will not be reattempted until the update interval of central has elapsed or updates are forced and 'parent.relativePath' points at wrong local POM @ line 5, column 13 -\> \[Help 2\]

\[ERROR\]

<https://developer.atlassian.com/display/BAMBOODEV/Setting+up+Bamboo+Development+Environment+in+IDEA> n

notes settings.xml for maven but all links to it are 404

comments: author: James Dumay
body: If you [download and install the Atlassian SDK](https://developer.atlassian.com/display/DOCS/Atlassian+Plugin+SDK+Documentation) then run atlas-mvn clean package -Dmaven.test.skip

It should build and package the Xcode plugin (The SDK contains the right settings.xml and version of Maven 2.1.x)


Tags: xcode
Bamboo Script or Post Build Action?
Asked by Sebastian Metternich:

Hi,

I am trying to integrate one of my build progresses into bamboo. But since the build needs some steps after a normal "mvn package" I wanted to add a script.

On my working environment I am running windows, so I simply wrote a little batch script, which compiled some class files, moved them to another bundle and finally zipped all up to a jar.

And exactly this progress needs to be represented within a bamboo build task.

Is there a possibility to add batch scripts to a bamboo (running on a linux machine) task?

What about the builder named "script"? What kind of script does it expect?

kind regards,

Sebastian


Answers:
author: Przemek Bruski
body: Assuming you're using Bamboo \>=3.1: If you add a Script Task to your build, it will launch your script as a batch script on Windows and a shell script on Linux.

comments: author: Sebastian Metternich
body: Hey unfortunately my company is still using version 2.0 build 801.

What is bamboo's default behavior about scripts in this version?  

<br />


author: Przemek Bruski
body: With 2.0, you can try installing a very old version of this plugin: <https://plugins.atlassian.com/plugins/com.sysbliss.bamboo.plugins.prepost-build-command> . Another solution would be to use the Script Builder to run the whole build, but that will amke Bamboo unaware of the fact that this is a Maven build - it should work though.


author: Bob Swift (personal)
body: And for new Bamboo releases you can also use groovy scripts: [Bamboo Groovy Task Plugin](https://bobswift.atlassian.net/wiki/display/BGTP)
Future support for High-CPU Extra Large Instance
Asked by Shawn Johnson:

Do you have any plans for adding support for the Amazon EC2 - **High-CPU Extra Large Instance**? I'd just be interested because it could potentially cut our build time down significantly with the additional CPU's and Memory.


Answers:
author: Przemek Bruski
body: With Bamboo, OnDemand High-CPU Extra Large instance, although selectable, is supported only with a custom 64bit EC2 image, so you cannot just choose it and use it.

Standard image compatible with that instance type will be made available once OnDemand upgrades to 4.0. No release date is known yet, we are currently working on it.

comments: author: Shawn Johnson
body: Thanks Przemek - that's what I wanted to know.


author: Azwandi Mohd Aris
body: Actually, you can already configure this for your Bamboo OnDemand. In the Bamboo administration area, go to Elastic Bamboo \>\> Image Configurations.

You can then create a new image configuration and choose your preferred instance type.


Tags: cloud
Bamboo 4.1 Release Date?
Asked by Adam Myatt:

Per the Bamboo Roadmap at <https://jira.atlassian.com/browse/BAM> it seems the Milestone 0 released for 4.1 occurred a month or two ago. Any date anyone knows of or can share when Bamboo 4.1 will be released?


Answers:
author: James Dumay
body: Hi Adam,

The offical release date is the 29th of May (just before Atlassian Summit). Watch our [blog](505/174%20Goulburn%20Street,%20Surry%20Hills,%20NSW%202010) for the annoucement!

This release we moved our development backlog off of [jira.atlassian.com](http://jira.atlassian.com) to avoid noise and misconceptions about release times, as many customers have been confused or upset to see an issue being assigned a version then later being moved to another future version when we had the appropriate information to schedule it correctly.

That said, we are still using [jira.atlassian.com](http://jira.atlassian.com) to track Improvements and Bugs.

Thanks,

James

comments: author: Adam Myatt
body: Awesome. That's good news on the release date as I was just considering which next version to upgrade our Bamboo installation to. Thanks for the update.


author: James Dumay
body: No worries Adam. I always look forward to your feedback :)
Run as different user on remote bamboo agent?
Asked by Brent Villalobos:

Currently we launch the remote agent Bamboo process using a special "bamboo" user account. However, some people would like the ability to run builds as another user. Is it possible to set what account to use for a Bamboo build? If there isn't an out-of-box setting, has anyone ran into this and found a work around?


Answers:
author: Przemek Bruski
body: A simple workaround would be to launch your build manually from a script task. However, all Bamboo goodness (like parsing output for errors) will be unavailable then.

What I would suggest is to wrap your builder with a script and make Bamboo think it's a regular builder. The wrapper script should parse the builder arguments and detect which user should be used for building, filter out that user argument and run the builder using su or runas.

That covers the build. If you want to check out, it's trickier. You should be able to use a wrapper script technique with Git, Mercurial or Perforce, but you won't be able to pass the user argument to them and would have hardwire the correct user basing on the plan key (you can get that from the checkout directory name). Note that although for checkout the directory name will be human readable, for change detection the directory name will be incomprehensibly hashed ;-).

If you're using CVS or Subversion, you cannot do checkouts as a specific user unless you're using remote agents.

Speaking of remote agents, you can run them as any user, but all builds on that agent will use the same user, which is not what you want as far as I understand.


Tags: remote-agent
Is the Bamboo iOS, Cocoa and Xcode Support v. 1.1 plug in available for OnDemand?
Asked by Cassio Santos Pereira:

Is the Bamboo iOS, Cocoa and Xcode Support v. 1.1 plug in available for OnDemand?


Answers:
author: Przemek Bruski
body: No, this plugin is not available with Bamboo 3.0 deployed on OnDemand.


author: Cassio Santos Pereira
body: So, now that Bamboo On Demand is version 4.3, Is the Bamboo iOS, Cocoa and Xcode Support v. 1.1 plug in available?


author: LucasA
body: Hi Cassio,

No, just because OnDemand uses Elastic Bamboo, and Amazon doesn't have MacOS AMI options. Atlassian OnDemand uses Elastic Bamboo, so only AWS instance could be used for buils and tests.

Cheers,

Lucas Lima


author: Bryce Johnson
body: @pbruski , I sure would love it in OnDemand for our mobile apps! ;)


Tags: cloud
Bamboo Release Management
Asked by Keith Nolan:

Is there currently any release management plugin available for Bamboo v4. It's very hard to ascertain it's current state from the docs.


Answers:
author: Przemek Bruski
body: Relase Management has been incorporated into Bamboo 3.2 <http://confluence.atlassian.com/display/BAMBOO40/Bamboo+3.2+Release+Notes> . If you use a recent JIRA version, you don't need to install any additional plugins.


Tags: release

requirement
Bamboo not seeing new git commits
Asked by Keith Miller:

Bamboo doesn't seem to see any new commits on one of my plans. This was working before and still works on other plans.

My question is where to I go to see what Bamboo is doing when it is polling the git server? I can't seem to see it doing anything in the bamboo.log file. Thanks!


Answers:
author: James Dumay
body: Hi Keith, off the top of my head I am not sure what could be going wrong here (particularly if you are not seeing anything indicivtive of a problem in the logs). Please [file an issue with support](http://support.atlassian.com) and they will be able help you ASAP.

comments: author: Keith Miller
body: Yeah, it's definitely a weird problem. I checked the logs on the main server and the agent and I'm not seeing anything. I tried creating a new git repo and using that with the Plan but that didn't help.

I opened a ticket. Thanks for trying!
Error when trying to delete a project
Asked by Mathon Gijsbers van Wijk:

Hi,

When trying to delete a project I get the error

**Errors**   
**Bamboo: User 'mathon.gijsbers.van.wijk' does not have permission to delete project 'MSDOCS'.**

However, in the Administration pages I see Access Denied in Bamboo related pages. So how do I change my permissions or roles so that I can delete a project?

Thanks,

Mathon


Answers:
author: Przemek Bruski
body: You need to have Admin permission to do that, do you have them?

comments: author: Mathon Gijsbers van Wijk
body: Yes, I am in the adminstrators group and I have the administrator role. OUr SEN-number is SEN-2169863


author: Przemek Bruski
body: It's likely that something is wrong with permissions on your instance. Please [contact support](http://support.atlassian.com).


author: Azwandi Mohd Aris
body: It appears that the 'Restricted Admin' permission was not granted to the 'administrators' group.


Tags: administration
Bamboo .NET How-to
Asked by Paul Cherepanov:

Why don't you guys write (or point me to) a nice .NET how-to. I'm a bit confused of the fact, there's no comprehensible one on the net.

Please please write one.

Thanks


Answers:
author: James Dumay
body: You might be interested in reading our [Getting Started with Bamboo and .NET](http://confluence.atlassian.com/display/BAMBOO40/Getting+started+with+.NET+and+Bamboo) guide.

comments: author: Paul Cherepanov
body: Everything that this document covers is obvious straight from the UI. In other words, it's not the one I'm looking for (btw, I've already examined the documentation section) There's no comprehensible one there. Please ask a .NET developer to write one


author: James Dumay
body: What in particular would you like to see in a .NET guide?


author: jretzloff
body: There are no examples to producing the correct artifacts for manual or other deployment, or deployment examples at all. There seems to be a monster void of information on using Bamboo for .net teams.


author: Azwandi Mohd Aris
body: On a related note, you might want to take a look at [https://answers.atlassian.com/questions/9423/bamboo-net-setups](/questions/9423/bamboo-net-setups)


Tags: configuration
How to access a shared artifact from a subsequent stage
Asked by Aiman Alsari:

Hi there, this problem has taken up far too much of my time for something which should be trivial. The documentation does not help in showing how an artifact is accessed, only how to define it as shared and how to set a shared artifact as a dependency.

I have two stages, stage one generates an artifact

Stage two has a script task that requires this artifact

The documentation (<http://confluence.atlassian.com/display/BAMBOO40/Configuring+artifact+sharing+between+jobs>) is pretty clear in saying that when creating the dependency on an artifact in a subsequent stage, the dependent artifact will be put in a destination directory **relative to the build directory**. I assume this means that it will be copied or linked to Stage 2's build directory in an arbitrary target directory.

So I naively tried to access it in Stage 2 by using

${bamboo.build.working.directory}/target/artifact_name

But this does not work. Does 'target' have to exist? I do not do a source code check out in Stage 2, so the build directory is theoretically empty. There are no errors, nothing to indicate I have done anything incorrectly.

I continued hunting around and found the Produced Artifacts page that just confused me even more. In Stage 1 it states that the shared artifacts are in:

$BAMBOO_HOME/data/artifacts/xxx-xxx/shared/build-yyyyy

Looking at the global bamboo variables that I have access to, there doesn't seem to be any obvious variable I can use to access this, so I have to construct it somehow.

What am I doing wrong here?


Answers:
author: Przemek Bruski
body: > Does 'target' have to exist?

No.
> ${bamboo.build.working.directory}/target/artifact_name
>
> But this does not work.

If you use target/artifact_name instead, does it work? Did you specify a Working Sub Directory for your script task?

comments: author: Aiman Alsari
body: Ok, I removed the destination directory, 'target'. And changed the way I access the artifact to be:
> ${bamboo.build.working.directory}/artifact_name

It still can not find the file.

I also print out the current working directory in my script and it is equal to ${bamboo.build.working.directory}, so I do not think there would be any difference in changing it from the absolute path ${bamboo.build.working.directory}/artifact_name to a relative path artifact_name.

I will try it anyway.


author: Aiman Alsari
body: Hmm. Just thought of something. My artifact is a directory, it has 2 sub dirs and a bunch of files in each sub dir.

Could it be that the parent directory (artifact_name) isn't actually there, and its only the 2 sub dirs? I dont have access to the server's filesystem to check, but I will change the script to do a directory listing and print out what is available.

I will report back with the results when it finishes


author: Aiman Alsari
body: Ok that was the problem. The artifact definition is \*/\*\* (i.e. the contents) of the parent directory, and I assumed the parent directory was the artifact.

Apologies


Tags: artefact
Securing restricted source code in Bamboo
Asked by emddudley:

Some projects on our Bamboo server have restricted source code. With script tasks it is possible for a build plan to view or copy source code from another build plan's working directory.

How do you secure Bamboo against this? We're running on Windows.


Answers:
author: Cameron Ferguson
body: I dont' believe there would be a way to prevent it unless you had a "secure" bamboo setup that was completely separate from your unsecure bamboo setup....

If you make sure and select the "Clean working directory after each build" (in the miscellaneous section) for each job, then that will at least ensure that all the files in the working area are deleted after the job is complete... If you are only running 1 agent per box, then that might be all you want to use.

However if you are like us, we have a few high end boxes that run multiple bamboo agents. If you run multiple agents on a single box then there would be nothing to prevent access to the restricted data that was currently building at the same time another job was currently using a 2nd agent on the box even with that cleaning option.

The only way I can see protecting restricted code on a box running multiple agents would be to setup some windows user permissions on that folder... but then each agent would have to be run as a different user with permissions ONLY to view their agent home folder.

comments: author: emddudley
body: I've thought about disabling the script plugin, but that's only one of many tasks that could be abused.

Your point on cleaning source directories will probably work for me. We are able to restrict our systems to a single agent per box.


author: Cameron Ferguson
body: I would also ensure that if your project creates any temporary files OUTSIDE of the bamboo working folder that you manually clean up those. This option will only clean the working directory of bamboo... not anything that was generated by your scripts outside of that folder.


Tags: security
I want to ask if I have this error, how should I fix it?
Asked by ti?n l??ng:

A fatal error has occurred {#toc-hId--1214028628}
-------------------------------------------------

The following problem occurred, which prevents Atlassian Bitbucket from starting:

* Git was not found on the PATH for Bitbucket. Install Git 2.11.0+, and restart Bitbucket.


Answers:
author: Robert Wen_ReleaseTEAM_
body: Welcome to the community, [@ti?n l??ng](/t5/user/viewprofilepage/user-id/4574116) !

Git does not come bundled with Bitbucket. You need to install Git and make sure it's on the $PATH.

comments: author: Joshua Sneed Contegix
body: Hi Tien,

Robert is correct, try <https://confluence.atlassian.com/bitbucketserver0713/installing-and-upgrading-git-1072203354.html>. Cheers!


Tags: bitbucket-pipelines
wanted to link custom issue tracker with commits
Asked by BlinkDigital:

hi there,  
i wanted to use [feature link-to-a-web-service](https://support.atlassian.com/bitbucket-cloud/docs/link-to-a-web-service/) for custom issue tracker platform.  
in my case i use <https://plan.toggl.com/>   

Ticket URl: [https://plan.toggl.com/#timeline/693\*\*\*\[workspaceno\]/tasks/3200\*\*\*\*\[Ticketno](https://plan.toggl.com/#timeline/693***[workspaceno]/tasks/3200****[Ticketno)\]  

i need to know what should be **Link Url** and **Link Key**in my case.


Answers:
author: Caroline R
body: Hi, [@BlinkDigital](/t5/user/viewprofilepage/user-id/4586552)! Welcome to the community!

I tested this in a personal repository and was able to link the tasks from a specific project in <https://plan.toggl.com/> by adding the following information in the fields:

**Link URL:**
> [https://plan.toggl.com/#timeline/794970/tasks/\\](https://plan.toggl.com/#timeline/794970/tasks/\)1

(794970 is the number of my project in plan.toggl, you will need to replace this with the number of your project)

**Link key:**
> (\\d{1,10})

Could you please confirm how are you specifying this URL? With this information, we'll be able to help you fill in the fields **Link Url** and **Link Key**.

Kind regards,  
Caroline


Tags: bitbucket-cloud

cloud
Unable to remove user from repository
Asked by mattho:

Hello,

I am in the User and group access section of my repository where I am trying to remove a user's access completely.

I click the remove button, I get a pop-up that says 'You are about to remove access for User Name from my_app repository.', and I click remove.

Then I get the error 'Error Some principals were either not found or are not valid.'

I have tried in both Firefox and chrome, same result.


Answers:
author: Caroline R
body: Hi, [@mattho](/t5/user/viewprofilepage/user-id/761580)!

Thank you for reaching out to Atlassian Community!

I checked our internal logs and was able to see the repository you were trying to update. Analyzing the user under this repository, I confirmed that this Bitbucket account was not linked to an Atlassian account, so that's the reason you were unable to remove this user.

In this case, I relinked this Atlassian account and now you should be able to remove this user from your repository. Could you please refresh your browser and test this again?

Please let me know how it goes and feel free to share any additional questions regarding this case.

Kind regards,  
Caroline

comments: author: mattho
body: Hi Caroline,

Thank you for looking into this, that solved the problem!

Matthew


author: Caroline R
body: Hi, Matthew!

Thanks for your confirmation, I'm glad to help you! :)

Kind regards,  
Caroline


author: dencorg
body: Hello I have the same problem as well.

I tried to logout and login again with my attlasian account but the result is the same.

When I try to remove a user from a repository I get the "Some principals were either not found or are not valid" error.

Is there anything I can do about it?

Thank you

comments: author: dencorg
body: Turns out I figured it out myself.

I had to go to my workspace settings, on Users on plan option and remove users from there.

Still its strange not to be able to remove users from the repository settings itself.


Tags: bitbucket-cloud

cloud
Atlassian online REST API documents inaccessible -- "Denied by Edge Authenticator"
Asked by Matty Wilkinson:

When I try to visit <https://developer.atlassian.com/server/bitbucket/reference/rest-api/> either via my home internet or from my phone (with wi-fi turned off), I get a blank white page with a plain text error message that says  

Denied by Edge Authenticator  

What does this mean? I've tried both while not logged in to Atlassian and while logged in. I've also tried it on my personal laptop (no company VPN involved) Also, I've asked another person to try from a completely different location in the world and they get the same error message.


Answers:
author: Mike Staas
body: Hi there,

There was an issue overnight with the network configuration for developer.altassian.com.

<https://developer.status.atlassian.com/incidents/gwgj2lpcwbl2>

This was rectified as soon as it came to our attention, apologies for the inconvenience.

Regards,

Mike


author: Christian Glockner
body: Hi Matty,

That probably was just a transient problem on our side that should have been resolved by now.

Cheers,

Christian

Premier Support Engineer

Atlassian

comments: author: AJ Meyghani
body: I'm seeing the same issue

![Screen Shot 2021-10-06 at 1.01.05 AM.png](https://community.atlassian.com/t5/image/serverpage/image-id/163675i702232C3A4BBA66A/image-size/large?v=v2&px=999 "Screen Shot 2021-10-06 at 1.01.05 AM.png")


author: Matt Humbird
body: Yup, the issue persists.


author: Kris Kilton
body: Still not resolved. Worked for me yesterday at 2pm MST


author: Johnny Hermann
body: Still "Denied by Edge Authenticator".


author: Eric Hoppe
body: Up vote - still happening


author: Ian Fry
body: Still happening


author: Brian Carr
body: Still happening


author: Daniel Williams
body: Verified still happening.


author: Matty Wilkinson
body: The site appears to be available for me again now.


author: Matt Doar
body: Still present

comments: author: Kashev Dalmia _Soteri_
body: Concur, still happening to me as well.


author: Ross Blanchard
body: Still happening for me


Tags: bitbucket-server

server