-
2 votesanswersviews
Bitbucket管道 - 有没有办法看到构建监视器?
之前使用Jenkins作为CI服务器,我们开始使用Bitbucket Pipelines . 现在唯一缺少的是构建监视器,类似于这里看到的Jenkins Build Monitor:link 有没有人知道管道的等价物?我想我总是可以使用Bitbucket Repositories API和一个开源构建监视器框架like this来创建我自己的,但除非必须,否则我宁愿不这样做 . 谢谢! -
5 votesanswersviews
管道成功完成后,Bitbucket webhook触发器
我想在管道成功完成后触发webhook,我查看触发器列表但没有找到任何,是否有解决方法通过pipeliens手动触发webhook? -
2 votesanswersviews
使用@WebMvcTest的Spring Boot Test在Atlassian Bitbucket Pipeline上失败
在本地运行一些 @WebMvcTest 时,我没有问题(Spring Boot 1.5.8,gradle 4.6): @RunWith(SpringRunner.class) @WebMvcTest(VZNFCController.class) public class VZNFCControllerTest { private VZNFCTagAction action1 = new VZ... -
0 votesanswersviews
Bitbucket管道ssh用gcloud计算引擎实例
我正在使用Bitbucket管道在计算引擎上的preemptable计算机上运行部署脚本 . 我使用谷歌sdk和服务帐户与所有者角色,但仍然不能ssh到机器 . 这就是我的bitbucket-pipelines.yml的样子: - echo $GCLOUD_API_KEYFILE | base64 --decode --ignore-garbage > ./gcloud-api-key.js... -
1 votesanswersviews
运行管道时Bitbucket / git checkout特定文件夹
我正在使用存储在git存储库中的一组应用程序 . 有些代码适用于单元测试,但相当一部分代码尚未完成 . 我设置了一个bitbucket管道来构建和测试可单元测试的代码 . 这似乎工作正常 . 我想避免检查代码的其余部分 . 有没有办法只检查分支的一个子集? 谢谢 . -
1 votesanswersviews
Bitbucket:如何启用管道以实现持续集成
我是Bitbucket的新手(我刚刚创建了我的帐户) . 我想测试他们的持续集成工具 pipelines . 我已将源代码上传到我的帐户 . 但我看不出如何激活此功能 . 左侧导航窗格中有一个图标,显示"Pipelines (New)" . 当我点击它时,它会将我带到一个空白屏幕 . 然后什么都没发生 . 我的帐户是免费帐户(目前用于测试目的) . 但是这个stackover... -
10 votesanswersviews
Bitbucket Pipelines在分支机构之间共享一些步骤
是否可以在分支之间共享步骤并仍然运行分支特定步骤?例如,开发和发布分支具有相同的构建过程,但上载到单独的S3存储桶 . pipelines: default: - step: script: - cd source - npm install - npm build develop: - step:... -
11 votesanswersviews
如何在BitBucket管道上为apt-get启用/设置依赖缓存
我在我的 bitbucket-pipelines.yml 文件中使用以下代码远程deply代码到登台服务器 . image: php:7.1.1 pipelines: default: - step: script: # install ssh - apt-get update && apt-get instal... -
0 votesanswersviews
BitBucket管道仅按需
我有一个管道用于我的一个存储库,每次我提交并推送任何代码时它会自动部署 - 是否有一种方法可以使它只在我执行它时运行管道,而不是每当我推送新的时自动运行码? -
0 votesanswersviews
Bitbucket管道触发Heroku管道
我有一个shell脚本,可以从bitbucket管道重建一个Heroku应用程序 . 但是我想在我的开发分支上重建两个Heroku应用程序 . 这些应用程序的代码库是相同的,但它们需要不同的procfiles . 也许使用Heroku Pipelines是这样的?是否有可能获得Bitbucket管道来触发Heroku管道? -
0 votesanswersviews
在Bitbucket管道中交叉编译Golang
我正在尝试配置Bitbucket管道以自动将Golang代码编译为Linux,OSX和Windows . 我正在使用Go的交叉编译功能;管道正在运行Linux环境,并通过设置GOOS和GOARCH的值交叉编译到OSX和Windows . 但是,我无法让Windows构建工作 - 它错误并告诉我它找不到某个包 . Linux和OSX构建都成功了 . 但是,Windows构建失败,告诉我它无法找到/... -
0 votesanswersviews
在bitbucket管道中使用时,由于身份验证,GMAIL IMAP读取失败
当我在bitbucket管道运行的docker容器中运行脚本时,此调用(imap_open())一直失败 . PHP警告:imap_open():无法在/ opt / atlassian / pipelines / agent / build / test / tools / plib / confirm中打开流{imap.gmail.com:993/imap/ssl/novalidate-ce... -
0 votesanswersviews
Laravel部署失败,因为迁移
这是我的部署脚本的一部分,但遗憾的是它失败了: image: php:7-fpm pipelines: branches: # Pipelines that run automatically on a commit to a branch staging: - step: script: - apt-get update &... -
0 votesanswersviews
bitbucket中的管道因作曲家错误而失败
我在bitbucket尝试管道 . 这是我正在使用的默认配置: # This is a sample build configuration for PHP. # Check our guides at https://confluence.atlassian.com/x/e8YWN for more examples. # Only use spaces to indent your .yml ... -
6 votesanswersviews
使用Bitbucket Pipelines和Docker为Ruby on Rails项目设置CD
我喜欢在Bitbucket Pipelines中为Ruby on Rails / PostgreSQL / Sidekiq项目设置持续部署,但是我很难理解它是如何组合在一起的,特别是如何在Docker镜像中使用postgres . 我是Docker和Pipelines的新手 . 在我的谷歌搜索中,Docker谈到使用docker-compose创建一个包,所以我不确定包和图像之间有什么区别,如果... -
5 votesanswersviews
如何在Bitbucket-Pipelines中保存工件
我是竹子新手 . 我尝试做的是收集在构建过程中创建的所有 .dacpac 文件 . image: microsoft/dotnet:latest pipelines: default: - step: script: # Modify the commands below to build your repository. - cd BackgroundCode - dotnet... -
24 votesanswersviews
Android CI使用Bitbucket管道和Docker
我正在尝试在Android的Bitbucket Pipelines中设置持续集成(CI) . 我使用Android Studio 2.1.1创建了一个示例空白活动 . 使用Pipelines我正在使用uber/android-build-environment Docker容器,它可以很好地创建环境 . 这是我的 bitbucket-pipelines.yml image: uber/androi... -
3 votesanswersviews
Bitbucket管道 - 如何在多个步骤中使用相同的Docker容器?
我使用下面的配置(bitbucket-pipelines.yml)为我的Web应用程序设置了Continuous Deployment . pipelines: branches: master: - step: name: Deploy to production trigger: manual ... -
0 votesanswersviews
在BitBucket管道中的特定分支上进行标记
所以我知道使用BitBucket管道我可以单独定位标签和分支,但我似乎无法从文档中弄清楚如何制作特定于分支的标签 . 这样,如果有人在不同的分支上使用标记,它就不会触发构建管道,因为它位于不正确的分支上 . 有谁知道这是否可能以及如何去做? -
0 votesanswersviews
bitbucket管道中的Docker
我正在创建一个node.js(angular / cli)应用程序,并希望使用docker容器运行测试 . 我成功创建了docker镜像并上传到docker hub,它在每次提交后运行自动构建 . 问题是:我不知道在bitbucket-pipelines.yml文件中放什么 . 我希望在每次提交之后,它将从dockerhub获取一个新构建的容器并对其运行测试 . 另外,我想最小化bitbucket... -
4 votesanswersviews
在Bitbucket管道中运行Angular 2量角器
我是Bitbucket Pipelines的新手,所以我正在努力尝试在构建上运行我的Angular 2应用程序的Protractor E2E测试 . 我的bitbucket-pipelines.yml看起来像这样 image: adrianmarinica/bitbucket-pipelines-protractor pipelines: default: - step: ... -
0 votesanswersviews
angular-cli缓存bitbucket管道
我使用角4和角度cli . 我正在尝试在bitbucket的管道中缓存node_modules . 我试过这个 definitions: caches: nodemodules: ~/node_modules 或这个 definitions: caches: nodemodules: /opt/atlassian/pipelines/agent/build/node_mo... -
0 votesanswersviews
Bitbucket管道作者
我对Bitbucket Pipelines很陌生 . 我目前定义了三个步骤; 1用于测试,1用于构建,1个用于部署的手动触发器 . 是否有任何可能的方法来触发手动构建的用户(例如通过环境变量) . -
3 votesanswersviews
看不到.Net Core bitbucket管道测试结果
我终于设法通过这个命令在bitbucket管道中报告我的测试: - dotnet test MyTests --logger "trx;LogFileName=test-reports/results.xml" Build Teardown说: Found matching test report file MyPath/test-reports/results.xml Fi... -
4 votesanswersviews
如何使用BitBucket管道上不在存储库中的数据
我们使用Bitbucket进行版本控制,我们有两个存储库 . 一个(rep C)具有我们很少重新编译的C代码,另一个(rep P)具有调用C代码的Python代码 . 这是大多数工作发生的地方 . 我想设置管道,这样当我们在rep P中推送代码时,它会运行所有的单元测试 . 我的问题是python代码需要编译C代码的C代码 . 有没有办法设置BitBucket管道,这样当我们在rep P中推送代码... -
0 votesanswersviews
如何防止Bitbucket Pipeline部署分支
我有一个master和一个dev分支,我将每个提交都推送到两者 . 我在管道上再次运行我的测试 . 但是,我不想同时部署,我只需要部署主分支 . 目前发生的情况是,将暂停进入部署步骤的第二个分支 . 它目前是相同的代码,但可能并非总是如此 . 我想知道是否有办法实现类似的设置 . pipelines: default: -step: name: My Test Step ... -
0 votesanswersviews
无法在Bitbucket Pipelines docker实例中执行lsb-release
我有一个Bitbucket Pipelines yaml看起来像这样: image:python:3.5.1 pipelines: branches: master: - step: script: - apt-get update - apt-get install lsb-release -y ... -
2 votesanswersviews
BitBucket管道 - 未经授权的docker:需要身份验证 - Docker推送成功登录
此问题适用于Bitbucket管道 . 我已经看到了其他相关问题,坦率地说,Bitbucket yaml和Dockerfile脚本在bash终端中直接执行时效果很好 . 就在执行管道时,它在成功登录后立即失败 . 这是我的Yaml文件: # enable Docker for the repository options: docker: true # Start the pipeline ... -
0 votesanswersviews
在bitbucket管道上的Android构建失败的任务应用程序:transformClassesWithDexForRelease
我正在尝试使用Bitbucket管道构建我的仓库,但它失败了 . repo依赖于其他存储库,所以我在运行时克隆它们并且克隆成功发生但是在 assembleRelease 任务结束时,它失败了 . pipelines.yml在下面 . image: mingc/android-build-box:latest pipelines: default: - step: s... -
0 votesanswersviews
Bitbucket管道 - 步骤 - 码头 Worker - 无法找到图像
我正在构建我的pipline来创建一个docker镜像,然后将其推送到AWS . 我把它分成几步,在Bitbucket中,你必须告诉它在它们之间分享哪些工件 . 我有一种感觉这是一个简单的错误,但我无法弄明白 . 它在步骤4中的'docker tag'失败了: docker tag $DOCKER_PROJECT_NAME:v.$BITBUCKET_BUILD_NUMBER $AWS_REGIST...