ci.py 文件源码

python
阅读 24 收藏 0 点赞 0 评论 0

项目:boss 作者: kabirbaidhya 项目源码 文件源码
def get_ci_link(config):
    ''' Get CI build link for the current build deployment. '''
    if is_travis():
        base_url = config['ci']['base_url'].rstrip('/')

        return ci.TRAVIS_BUILD_URL.format(
            base_url=base_url,
            repo_slug=env.get('TRAVIS_REPO_SLUG'),
            build_id=env.get('TRAVIS_BUILD_ID')
        )

    # Other CI providers aren't supported at the moment.
    # TODO: Add support for more providers.

    return None
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号