bamboo

System can't find paths when building .sln with Bamboo

纵饮孤独 提交于 2019-12-13 04:25:31
问题 I'm trying to build a project of our Visual Studio 2010 solution with the Visual Studio task which comes with Bamboo. but once the build starts it fails to find the required files (see logfile below). When I try to build the project in the command line, it works fine. When I try to do this exact thing with Bamboo's 'Command'-task, however, I get the same errors that I get with the Visual Studio task. So I gather my files are checked out just fine and the problem is with Bamboo. Seeing how the

How to send bamboo variables from Bamboo script to docker container?

走远了吗. 提交于 2019-12-13 01:53:56
问题 I'm using Docker plugin for bamboo and I need to execute a script in the docker container. The sh script contains: echo \"ini_source_path\": \"${bamboo.ini_source_path}\", and if I put this line directly in Container Command, the ${bamboo.ini_source_path} will be replaced with value of this variable. The problem in when I put /bin/bashscript.sh in Container Command because I'm getting a error: script.sh: line 35: \"${bamboo.ini_source_path}\",: bad substitution Is there a way I can reach

How to successfully run iOS simulator from Bamboo agent script

无人久伴 提交于 2019-12-13 01:28:49
问题 I'm trying to run tests using xcodebuild through a Bamboo job script task. It opens the simulator, but it stays black and nothing happens, and the script fails due to timeout. Running the identical xcodebuild script goes fine via terminal. Here's the only related log message I was able to find: Unable to connect to SimulatorBridge Simulator[30414] <Error>: Unable to determine device. Things I've already tried: removing simulator and adding new ones checking that bamboo agent is running under

Bamboo Atlassian: How to share a variable between stages

风格不统一 提交于 2019-12-12 18:08:31
问题 I am relatively new to Bamboo . I have a question regarding stages implementation with shared variable. I have two stages: Stage 1: Set variable "Sample_build_number" Stage 2: Use variable "Sample_build_number" Any help with this is very much appreciated. 回答1: You can write your variables to a simple property file in Stage 1, and share the property file as an artifact. Sample_build_number=myvalue In your Stage 2 job use the Inject Bamboo variables task to read the property file. Your variable

Bamboo does not transform Web.config file for any custom build configuration

一曲冷凌霜 提交于 2019-12-12 15:06:33
问题 Here is the scenario: I have a website which has a web.config file along with many other environment specific config files like Web.Staging.config/Web.Release.config/Web.OnPrem.config Now, I have configured the BeforeBuild Target in the csproj file of my website project: <Target Name="BeforeBuild"> <TransformXml Source="Web.config" Transform="Web.$(Configuration).config" Destination="Web.config" /> </Target> This works well when I setup bamboo to build and create artifacts in Release mode (so

fatal error lnk1104: can't open LNKn.tmp

天大地大妈咪最大 提交于 2019-12-12 12:04:14
问题 When I'm trying to build my MSVC2010 project with Bamboo's Visual-Studio task, I get the following error: LINK : fatal error LNK1181: File "C:\Windows\system32\config\systemprofile\AppData\Local\Temp\lnk7A64.tmp" could not be opened. msdn hast this to say: If the given file is named LNKn, which is a filename generated by the linker for a temporary file, the directory specified in the TMP environment variable may not exist, or more than one directory is specified for the TMP environment

MSBuild does not copy directly referenced dlls to bin folder

瘦欲@ 提交于 2019-12-12 10:55:13
问题 I am trying to build my solution with MSBuild command line on my build server. However, MSBuild does not copy any dlls to the bin folder and therefore subsequent targets fail. My solution consists of several projects where only one project should be packaged. This project references other projects in the same solution that should be built before. All references are set to <Private>true</Private> in the project file. Here is my MSBuild command: Msbuild solution.sln /m /p:BuildInParallel=true

Angular + Protractor + Bamboo

北城以北 提交于 2019-12-12 09:01:29
问题 Has anyone setup Protractor e2e tests on Bamboo CI? I've been running my WebDriver tests locally from Grunt via the grunt-protractor-runner / grunt-protractor-webdriver projects. Protractor config is standard. Relevant Grunt config: grunt.initConfig({ protractor: { options: { keepAlive: false, noColor: false }, modules: { configFile: 'protractor.e2e.conf.js' } }, protractor_webdriver: { modules: { options: { path: 'node_modules/protractor/bin/', command: 'webdriver-manager start' } } } });

Bamboo: how to produce maven artifact

谁说我不能喝 提交于 2019-12-12 02:53:28
问题 I've set up a Bamboo server and made a test project and plan with a Maven build task. But this task doesn't produce any artifacts (except, maybe, test results, which I've unchecked). And I'd like to have all maven artifacts to be attached to the build results, like it is done in Hudson. How to do that? 回答1: You can find some info on the Bamboo documentation. This is for the latest Bamboo release (v3.4). Also, are you running Maven with the goal package (or install ) ? 来源: https:/

Is there any automated way to get artifact download URL back from artifactory?

佐手、 提交于 2019-12-11 17:49:45
问题 Is there any automated way to get artifact download URL back ? I'm working with maven projects , I use bamboo for build automation. After successful Build completion, artifacts will be pushed Jfrog artifactory. My requirement here is to get the artifact download URL back in an automated way(Using bamboo Plugins, Rest API, Jfrog CLI, Maven or any other) 回答1: You can use the Build Artifacts Search REST API endpoint. You will need to send the build name + number in the JSON, Artifactory will