Questions tagged [bamboo]
Bamboo is a continuous integration and deployment server from Atlassian, the makers of JIRA, Confluence and Crowd.
1,578
questions
0
votes
0
answers
17
views
Why does script run from bamboo show deleted branches?
I need to write a script that checks if there are branches in repositories, that have not been active for the past 14 days. It will be run from Bamboo plan.
It will check 4 repositories, that have ...
0
votes
0
answers
8
views
getting error @react-native-community_art:generateReleaseRFile when get android release with CI/CD tools (bamboo)
our app produced for several companies so use react-native-config for creating profiles and use them in CI/CD (bamboo) when we run bamboo to make releases (android/iOS) for each profile at least for 3-...
0
votes
0
answers
31
views
Escape characters in bamboo script task
I got bash script that is ran in bamboo's deploy step.
Script:
set -x
ls
aws sts get-caller-identity
for i in $1
do
echo "Modyfing $i in dynamodb"
aws lambda invoke \
-...
1
vote
0
answers
32
views
ant.bat file invoked by ps1 script failing in PowerShell ISE but passing in PowerShell Terminal [closed]
We have a bamboo plan which will trigger a PowerShell script to run in one of the remote systems we have. This PowerShell script is invoking an ant.bat file which is trying to fetch JAVA values and ...
0
votes
1
answer
33
views
How to retrieve job names via bamboo API
I'm struggling with getting the actual job names via bamboo (server) API.
with curl --request GET --url 'http://{baseurl}/rest/api/latest/result/{projectKey}-{buildKey}/{buildNumber}' --header 'Accept:...
0
votes
0
answers
18
views
How to add multiple tags in bamboo plan variable?
how to add multiple tags in a bamboo plan variable for execution.
I tried with @tag1, @tag2. but its not working. its giving error giving oio.cucumber.core.exception.CucumberException: Failed to parse ...
0
votes
1
answer
70
views
.Net requirements for Continuous Integration and Continuous Deployment
I am planning to implement CI pipeline for .Net 4.8 framework application on windows server 2019 box. I would like to know what is the minimum requirement for building .Net framework applications. I ...
0
votes
0
answers
31
views
I need an API to update the repositories branch field
I have one bamboo plan that has two repositories repo1, and repo2.
Repo1 branch points to the master and Repo2 branch points to develop.
But that plan has multiple plan branches like release_1_0_0, ...
0
votes
0
answers
28
views
docker-compose service coverage report with pytest
I'm a bit of a newbie, but I have an Atlassian Bamboo build that builds two services/containers with docker-compose, runs tests with pytest on the services, and in theory should fail the build if the ...
0
votes
1
answer
22
views
Bamboo Pipeline Slack Messaged depending on status
I am trying to automate some slack Messages at the end of my daily Bamboo Pipeline runs.
What I am trying to figure out is, if there is a way to check for the pipeline status and post a message to ...
0
votes
1
answer
33
views
SurefireBooterForkException- org/bouncycastle/asn1/DEREncodable
Local Environment:
Windows 10
JDK 1.8
Maven 3.6.3
SpringBoot 2.0.9
Surefire 2.21.0
bcprov-jdk15on v.1.58
itextpdf 5.5.13
There are no issues on my local development environment. All test are ...
0
votes
0
answers
13
views
How to fail a bamboo script if an element inside the script fails
We use a script step in Bamboo to build our application, using the dotnet build powershell command.
However, if the dotnet build fails to compile, the step still reports success, I'm guessing this is ...
0
votes
0
answers
25
views
How can I get the source branch for a pull request when Bamboo triggers on merge
Bamboo 8.11 only passes these variables when a pull request is open:
bamboo.repository.pr.key
bamboo.repository.pr.sourceBranch
bamboo.repository.pr.targetBranch
I need the sourceBranch variable for ...
0
votes
0
answers
87
views
Bamboo agent JVM exited unexpectedly
I am trying to run the Bamboo agent in the newly set up server. However, when I start running it, it keeps repeating the same things over and over again. And at the end of all, it says 'JVM exited ...
1
vote
1
answer
33
views
How test automation suite will run on CI/CD tools while running using maven or testing?
It might be stupidity question but I am very new to this CI/CD tools automaiton. Let me tell what I need , we have built a framework for API testing. here we are using rest-assured, spring framework &...
1
vote
1
answer
51
views
Get details of the build after it finishes on bamboo and publish them using a final task/script
I am currently looking for a solution that will enable me to fetch the details of a build after it completes and use a python script to send these results to MS teams channel. I want to add a final ...
0
votes
0
answers
53
views
Unable to send notification from Bamboo to Microsoft Teams channel using webhook
I have configured a MS Teams webhook in my bamboo server such that if the plan build fails then I should get a message on the configured teams channel. However, I am running into the following the ...
1
vote
1
answer
38
views
Set bamboo variable from nodejs script and use it in curl in script task
I have a bamboo pipeline with 2 script tasks.
Script task that installs npm package (working fine)
Script task that runs nodejs script and curl command (having issue)
In the second script task, I've
...
2
votes
0
answers
47
views
bamboo failure on gcloud ERROR: gcloud crashed (UnicodeDecodeError): 'ascii' codec can't decode byte 0xe2 in position 1438: ordinal not in range 128
Bitbucket pipeline was working fine to deploy application to GCP app engine. Suddenly getting error while connecting to gcloud.
This application is based on microservices, It build and deploy the ...
0
votes
0
answers
33
views
Get Calendar data from BambooHR
I am using SharePoint Online. I have created an SPFx react solution for custom development.
I have integrated the Full Calendar component under that solution.
I need to get employee time off, birthday,...
0
votes
0
answers
47
views
XUnit code coverage results different on CI build compared to locally
I'm presently baffled by the same command, on the same code, with the same dotnet version, producing two different results. My development machine is an ARM-based Mac, and CI is in a Docker image run ...
0
votes
0
answers
42
views
All Test cases are passing locally/maven build is success after committing into repository bamboo build is failing due to test cases are failing
When i build in eclipse using maven, build is success and all test cases are passing. After pushing code changes to repository and try to build using bamboo test some test cases are failinga and build ...
0
votes
0
answers
36
views
Bamboo Agent Monitoring
We have one Bamboo master server, and more than 20 Linux Bamboo agents are connected to it. We would like to monitor those agents as soon as they go offline.
Is there a way we can monitor the agent ...
0
votes
0
answers
39
views
How Do I Define A Private Repo That Works On CI And Developer PCs?
The definition of my private Artifactory repo in my build.gradle currently looks like this:
repositories {
maven {
url "https://artifactory.example.com/maven-repo"
...
1
vote
0
answers
59
views
How to retrieve variable in bamboo specs deploy file
I have the following deploy.yaml file
deployment:
name: a deploy
source-plan: dp
environments:
- first.env
first.env:
requirements:
- name: excel_exec
variables:
- env_name: first....
0
votes
0
answers
123
views
Deploying Node.js app with @tensorflow/tfjs-node in Bamboo fails with 'cannot find module' error
We have a Node JS application that is currently built & deployed through a Bamboo pipeline.
We are trying to add the @tensorflow/tfjs-node package for some machine learning initiatives, but our ...
0
votes
1
answer
306
views
TS2345: 'trustAccountIdentities' does not exist in type 'KeyProps' error in cdkv2
I upgraded my cdk project from v1 to v2. It's complaining about trustAccountIdentities existance in cdkv2.
error at the time of build:
error TS2345: Argument of type '{ enableKeyRotation: true; ...
0
votes
1
answer
238
views
Can bitbake run two tasks from the same recipe at the same time?
I am currently trying to run a Yocto build in my CI/CD infrastructure (Bamboo) and my build is failing without any useful information. I have been struggling to debug this in the past few days.
I am ...
0
votes
0
answers
46
views
How to use mvn deploy:file dynamically?
I have a bit weird use-case, where I need to modify an existing package. Basically download it, unzip, swap some files, make some adjustments and then deploy it as special artifact in our Nexus ...
0
votes
0
answers
61
views
I need to understand how to enable allure plugin in bamboo using bamboo specs code in java
I am trying to run few tests on bamboo and creating an artifacts with it. now i want to use allure plugin to analyze these artifacts and create a report using it. So i have installed the allure plugin ...
1
vote
1
answer
76
views
Set a build Variable based on a Trigger in Bamboo
Im using bamboo to build a bigger C++ project (not huge)
I have a Build plan which works fine, but for "Quick Build" checks, I deactivate the archive and installer creation. (because this ...
0
votes
0
answers
50
views
Logs Buffered calling Packer from Bamboo build task
A Bamboo server build task is calling Packer to build a Windows VM. The packer build is 34 minutes, during which no log lines are emitted and displayed in the build logs. Once packer completes, all ...
2
votes
1
answer
178
views
Is it possible to make a copy pattern which includes and excludes files?
In Bamboos artifact definition I need to make a Copy Pattern which includes and excludes some filetypes. Is it possible to write this type of pattern in Bamboo?
For example I want all files excluding ....
0
votes
0
answers
49
views
Unable to locate bamboo.yaml for one repository multiple projects
I have a repository api-services within which I have three projects api-1, api-2, api-3. Whither bamboo-specs folder is within these projects. While creating specs, I am unable to point to these ...
0
votes
1
answer
141
views
How to tag Docker images with Bitbucket source code version using Bamboo Docker task?
After creating a new version of my software, I typically tag the most recent commit in the master branch with the corresponding release version (e.g. '1.3.0'). Currently, we are transitioning our ...
0
votes
0
answers
79
views
Checkout multple repo with specific branch in Bamboo CI plan
I want to checkout 2 repositories with specific branch in a single plan.
I am able checkout for the plan branch but not other branches.Can anyone please help me with this. Thanks in advance.
0
votes
0
answers
31
views
SonarCloud SAAS platform integration with Bamboo CI
These are the tools I am using:
VCS Provider: BitBucket Cloud
Orchestration tool: Bamboo CI
SAST tool: SonarCloud (SAAS soln)
Objective: Run automatic scans with SonarCloud whenever new code is pushed ...
1
vote
0
answers
30
views
How to put checkout revision number of a build in ftl email template of atlassian bamboo
I want to put the revision number (current checkout revision which is used to build) in ftl email templates of atlassian bamboo specifically in notificationCommonsHTML.ftl in templateOuter macro ...
0
votes
0
answers
209
views
Convert Bamboo Plan Stages to gitlab-ci file
Our company work with Bamboo for create CI/CD pipeline.
but we can move from Bamboo to gitlab and i want convert all Bamboo Script in build stage and push stage (attached as images) to gitlab-ci file. ...
1
vote
1
answer
187
views
Run multiple jobs in parallel in Atlassian Bamboo
I would like to run multiple jobs in parallel on the same automation server. For this I need as many agents installed as the number of parallel jobs.
When I try to install an additional remote agent ...
0
votes
0
answers
59
views
How to get the bamboo agent to use the administrator username in windows
How do I get the bamboo agent to use the system %username%. for some reason when i echo from a bamboo cmd prompt the %username% is taken from somewhere else and not the system.
0
votes
1
answer
84
views
Bamboo - script to read commit message
I am planning to execute some task based on commit message. Need help reading commit message. like below which will give branch name
${bamboo.repository.git.branch}
I am trying to read [Release-Minor]...
0
votes
1
answer
57
views
When running slather i see ruby error bad interpreter error
I'm trying to get the coverage result of the tests for IOS. I use the slather coverage command. But I keep getting the error
/Users/bamboo/.gem/bin/slather: /Users/bamboo/.rbenv/versions/3.1.0/bin/...
0
votes
1
answer
178
views
Bamboo java specs get default branch name
I want to set artifactBaranch for auto deployment in bamboo but before that I would like check if that branch is default or not. If that branch is default then I will not set the artifact branch name.
...
1
vote
0
answers
260
views
How do I manually remove old release builds from an expired/deleted plan branch in Bamboo?
I use Bamboo regularly as a QA tester to deploy pull requests and feature branches/release branches, but I'm not a developer and have a layman's understanding of how it works.
Our Bamboo configuration ...
2
votes
0
answers
356
views
How to reference Bamboo artifacts in scripts
I know how to export/share an artifact from one stage/job to another. In my job configuration, I can say "place artifact 'My artifact' in into destination directory 'foo'" That works and ...
0
votes
1
answer
251
views
Managing feature branch versions with npm for component packages
We have a React App which uses some components written by us and published to our internal npm repository. Our code is maintained in Bitbucket Data Center, the build is done with Bamboo and the npm ...
0
votes
0
answers
21
views
Clover code coverage reports from MsTest results
I have a Bamboo job with a task that runs MSTest against a unit tests dll. The MSTest generates a trx file.
Is there a way to generate code coverage report from the trx file using Clover code coverage ...
0
votes
0
answers
105
views
is it possible to define jobs completely in stage instead of declaring just its name in bamboo yaml specs?
I need to define jobs of stage completely in defining stage block instead of declaring its name in that block and define that in bamboo.yaml
but when I do this it says " Element is of wrong type. ...
0
votes
0
answers
35
views
File upload and download using selenium with java and bamboo
I have one problem for which i am seeking help.
Can someone guide me on this.
Problem: How to do file handling using selenium, grid4 and bamboo.
Steps for the Issue/problem:
1.I have to run one test ...