Comments
-
Can you share how exactly the task is configured to produce this result? I used your script without changing any line and got the exact same result from the terminal. I'm using Bamboo 6.7.2 on OSX (which should produce the same results you see on a Linux OS).
-
Hi @Abhishek Mozumder Do you want to run the deployment, but customizing the variable when starting it? Or do you want to inherit the customized variable from the plan metadata? If you want just to load a custom variable from a build plan, you should just reference it in the deployment. It should be able to use it as:…
-
Hi, I'm sorry I was in AL. Have you tried opening a ticket with our support or should I do it for you now?
-
Thank you for taking the time to share your solution here @Qcast We really appreciate that =] @Peter N, the error you see may have multiple sources. It is very common that this is caused by a missing driver, but it could be something else. You need to look for the first errors that show up in your logs. They usually will…
-
Hi @bidadh Can you please check your logs to see if before the error you mentioned com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Table 'bamboo.bandana' doesn't exist you have another one like com.atlassian.bamboo.upgrade.exception.ValidationException: Unable to find JDBC Driver class com.mysql.jdbc.Driver…
-
Hello @Qcast, I could see that you resolved this issue already with our support and I just wanted to check if you don't mind sharing the solution here. Thanks!
-
Hi @sangeeta This article has the information you are looking for: How can I attribute a label to a Bamboo build result based on its outcome (success or failure)? You will just need to change the script a little to get the version details from your properties file. Another path you could follow, probably simpler, would be…
-
I'm glad I could help you at least with some ideas to move on. If you think this question is answered/resolved, please accept this answer. If you don't mind sharing the results of your tests, that would also be great to help others with the same issue =]
-
It cannot be enabled, but thinking about this I believe that you could possibly use the following approach: * Create a new branch just for submitting pull requests from fork to the main repository * Accept all the pull requests without testing them * Create pull requests from this branch to the main branch. This will…
-
Hi @[deleted], The page https://hub.docker.com/r/atlassian/bamboo-agent-base/ was fixed. The command to start the docker container is now correct. Before there was a problem with the way docker hub render the < (lower than) and > (greater than) signs. Anyway, the commands I shared before should address correctly the agent…
-
Hi @Thomas Leitner, Can you share more details about the OS you are using and the script call? Shells which are child processes of the Bamboo script task should have the Bamboo variables in them. I've run the following test and it succeeded: * Created a repository with the following scripts: Script…
-
Hi @Ana Gomez, The default collation and encoding of Postgres will work as expected. Creating a database as per PostgreSQL - Atlassian Documentation will do the trick. Both "C" or "POSIX" should work and the encoding set to UTF-8.
-
In fact, all communication is always started by the agents. The agent could inform Bamboo that it is shutting down itself, but we would still have the timeout for the cases when the process was killed not gracefully or crashed. That feature request had the intention to reduce this time for all the cases, but I will add…
-
Can you tell me how the command failing is called? What is the task involved?
-
Can you try this in your script task? echo dir > dir_command.bat %bamboo_working_directory%\dir_command.bat ⚠️Please make sure you set the interpreter to "shell" or "bin/sh or cmd.exe". What are the results you get?
-
Hey, I got your point on agent console. The description in docker hub is a little bit confusing. I'll work on finding the people who maintain that page to update it, it is a different Atlassian team. Those commands can be run in a Linux machine that is in the same network of the Bamboo server. They could also be run in the…
-
I've created this feature request to address this issue: [BAM-20275] Reduce the time taken to identify an agent is offline. I suppose the error message would not be an issue if the agent state was updated faster. Let me know if you think we should adjust the feature request to better match your perception of this issue.
-
Hey, I was writing the feature request about this and realize that this is not that simple. I will need your help to better write this request. Please confirm if my understanding is correct. Wath I understood from your opinion is that we should have a mechanism where a given task could be configured to run for every…
-
Hi @[deleted], Possibly there was a problem with the command to set the docker container and it was not able to connect with Bamboo server. Please try the following to clean the old test: * docker stop <OLD_CONTAINER_NAME> * docker rm <OLD_CONTAINER_NAME> * docker volume rm <OLD_CONTAINER_VOLUME> And this to start a new…
-
Hi @[deleted], Two possible reasons come into my mind when I see this problem: * The Bamboo health check may have failed due to an issue when configuring the DB used. * There is another process locking part of the startup files, possibly caused by multiple attempts to install Bamboo. Moving forward If you want to find the…
-
Hi @Charles Patton Jr, If your variable is correctly declared this should work for you (assuming you are on windows): %BAMBOO_MYPATH%\bin\prog.exe Variables should be referenced in a different manner when used on terminal or scripts. Please take a look at the comment below that should be also visible in the global…
-
Hi @jan, I got it, thanks for explaining. Maybe for this specific scenario, you would get some benefits from using docker tasks. It is not really easy to be safe on error handling using OS scripts. They are not designed in a way to make this an easy task. I mean, you can wrap everything up, but that would require some…
-
When you say bypass you mean that no build would be run for the commits already processed in a branch, right? The master branch, in this case, would miss part of the builds and would have all of them only when a new commit (different hash) is built if I understood you correctly. * Have you tried to avoid the fast forward…
-
Thank you for explaining. I imagined it wouldn't be an easy change, but that was what I had to share. I'm curious about something: * Do you have a script task to run those builds or just a docker task? Bamboo should not allow a docker task to keep running after the build has ended. Also, I want to share an idea: * What if…
-
Hi @[deleted], I'm afraid this is not the right channel to give you the best practice on building Android projects, but if you know how you want to build it we can help you to run those steps within Bamboo. We have an old article that suggests a simple build sequence to do what you need. * Continuous Integration of Android…
-
Hi @[deleted], Can you share what version of Bamboo you are using? Every use with admin permissions on global permissions will be able to see every plan. Other users should be able only if they have permission on those projects|plans|deployments|environments. In order for this to work properly, please make sure you removed…
-
Hi @Charlie Misonne, Yes, that is how it works by design. Bamboo server has a 10min timeout to consider the agent offline. If the agent goes down and comes back online before that time, you will see the messages you shared. The new agent will be considered a new entry and the old one will become inactive right away. In the…
-
Hi @Jan Nylund, According to one of our Bamboo developers, an implementation to solve this issue would require a deep rework at Bamboo side. He shared also that it would be also hard to achieve this if you intend to work on a custom plugin for that task.
-
Hi @Jan Nylund, I think I would try to create a final stage on any build that runs those containers to make sure that they are cleaned at the end of the build. You can use a final stage for that. Final stages are present as a beta feature in Bamboo since version 5.14. It will become a native feature in Bamboo 5.8+ as you…
-
Hi @ram babu, Can you share the messages you see in the server logs when you try to create the link? The server logs are located in the Bamboo installation folder. The files are different depending on the OS used: * Unix like:<Bamboo_Install>/logs/catalina.out * Windows: <Bamboo_Install>/logs/bamboo-stdout.<DATE>.log These…