【发布时间】:2016-01-14 09:00:28
【问题描述】:
有没有人使用过 stash builder 插件。它的文档说它在构建环境中添加了一些环境变量,但是如果我回显它们,它们都是空的
echo "${sourceBranch}"
echo "${targetBranch}"
echo "${sourceRepositoryOwner}"
echo "${sourceRepositoryName}"
echo "${pullRequestId}"
echo "${destinationRepositoryOwner}"
echo "${destinationReposotryName}"
echo "${pullRequestTitle}"
echo "${sourceCommitHash}"
这个插件对我没有任何作用。这是我的配置 我正在选择 git 作为 SCM [poll scm is not selected]
RepositoryUrl:ssh://git@stash-eng.abc.com:7999/mytool/my_tools_demo.git
Refspec:\+refs/pull-requests/*:refs/remotes/origin/pr/*
Branch Specifier:-origin/pr/${pullRequestId}/from
然后我标记复选框“Stash Pull Requests Builder” 以下是差异字段的值
Cron:H/2 * * * *
Stash Host:stash-eng.abc.com
Stash Credentials:..........
Project:mytool
Repository Name:my_tools_demo
它仍然什么都不做。我也没有在日志中看到任何与插件相关的东西。
【问题讨论】:
标签: pull-request bitbucket-server