README.md

InstallBitbucketServer

It installs R Package in BitBucket Dev Server of Nielsen Data Science. It is based on devtools package, with a few tweaks.

Installation

You can install the customized version of devtools for install_bitbucket_server() from my personal GitHub with:

install.packages("devtools")
devtools::install_github("younhak/InstallBitbucketServer",
                         build_vignettes = TRUE)

Usage

Pre-requisitie: Create personal token in Bitbucket Server

User Guide of Atlassian: link

  1. Access your Bitbucket DEV server
  2. Click Avatar on your right top edge
  3. Click [Manage account] in drill-down menu
  4. Click [Personal access tokens] in right hand side navigation bar
  5. Click [Create a token] button
  6. Enther the [Token name] (R, your name, and so on)
  7. Click [Create] butten
  8. [IMPORTANT] Copy and Paste your token in safe place (You will not be able to view this token again)
  9. Click [Continue]

Figure 2. Token Creation

Installation of a package

After run the function, the pop-up windows will be generated. Please enter your personal token of Bitbucket for connect the server.

# Please don't import this package, because of confliction with original devtools
# Just use NAMESPACE::function()
InstallBitBucketServer::install_bitbucket_server(
  projects = "project_name", 
  repos = "repository_name", 
  host = "host_server_name",  # host is "https://hostserver.com/bitbucket"
  build_vignette = TRUE
)
# Enter your personal token in the pop-up windows


younhak/InstallBitbucketServer documentation built on May 17, 2019, 1:31 p.m.