0.2.1-alpha.0 • Published 7 years ago
pisco-git v0.2.1-alpha.0
#Recipes
Name | Version | Description |
---|---|---|
pisco-git | 0.0.1 | git wrapped-up commands |
piscosour | 0.3.0 | Get all your devops tools wrapped-up! |
#Commands
##clone: "clone git repository" clone git repository prepare to work with bamboo
command: pgit clone
The tool is prepared in order to be used on a bamboo environment but also is possible to use it outside.
Read environment variables from bamboo:
- git username => "bamboo_git_user"
- git password => "bamboo_CELLS_BOT_PASSWORD"
- git repository url => "bamboo_planRepository_repositoryUrl"
workspace => "bamboo_workspace_dir"
Variables using options in command line
- --username
- --password
- --repository
- --workspace
Otherwise ask for this information to the user
###1. netrc: "Check if .netrc is present"
Repository types: all
Recipes: pisco-git (0.0.1)
Generate .netrc file, use to git credentials cache.
In parameters
- username: git username (use bamboo_git_user from env variables)
- password: git password (use bamboo_CELLS_BOT_PASSWORD from env variables)
###2. clone: "Clone one repository using bamboo env variables"
Repository types: all
Recipes: pisco-git (0.0.1)
Clone one repository of git in the workspace directory. Use this shot for bamboo purposes.
In parameters
- repository: http or ssh url of git repository (use 'bamboo_planRepository_repositoryUrl' from env variables)
- workspace: workspace where everything is clone (by default is './' but is possible to set using 'bamboo_workspace_dir' env variable or with --workspace ../dir command option)
#Plugins
There is no plugin for this recipe
0.2.1-alpha.0
7 years ago