Академический Документы
Профессиональный Документы
Культура Документы
FY2015 Q3
January 2015
Cisco Confidential
What is Stash?
Cisco Confidential
Easily integrated
With 3rd party CI systems such as Jenkins.
Out of the box integrations to JIRA, Confluence, and Bamboo
Cisco Confidential
Cisco Confidential
Exercise 1
Logging into a Stash Server
Cisco Confidential
You should see a login window, where you will then enter your
CEC username and password credentials.
Cisco Confidential
Exercise 2
Adding SSH Keys
Cisco Confidential
Click the avatar on the top right and select manage account.
Paste your SSH public key in the box and click Add key.
Cisco Confidential
Exercise 3
Setting up AD integration
Cisco Confidential
10
Cisco Confidential
11
Cisco Confidential
12
Cisco Confidential
13
All groups should be Stash User except for SCSCM Admin groups.
Cisco Confidential
14
Exercise 4
Creating Stash Projects and
Repositories
Cisco Confidential
15
Cisco Confidential
16
Click Settings or the gear icon on the left bar under project
avatar.
Click Permissions.
Cisco Confidential
17
Fill in the Name section for the repository you are creating.
Click Create.
Cisco Confidential
18
Click Permissions.
Cisco Confidential
19
Exercise 5
Checking out code
Cisco Confidential
20
Git Clone
From the left pane hover over the three small dots and click
Clone.
Cisco Confidential
21
Exercise 6
User Abilities Creating
Branches, pull requests,
forking.
Cisco Confidential
22
Exercise 7
Migrating a Git repo to
Stash
Cisco Confidential
23
Clone your source repo using the bare option and push to
Stash.
Cisco Confidential
24
Exercise 8
Stash Administration
Cisco Confidential
25
STASH_HOME=/data/atlassian/stash-home
STASH_INSTALL=data/atlassian/stash/current
Cisco Confidential
26
Configuration Files
/data/atlassian/stash/current/bin/setenv.sh
Tomcat Settings
/data/atlassian/stash/current/conf/server.xml
/data/atlassian/stash/current/conf/web.xml
Apache Configuration(WIP)
/local/httpd/conf/$HOSTNAME.conf
/data/atlassian/stash-home/shared/stash-config.properties
Cisco Confidential
27
/data/atlassian/stash-home/logs
/data/atlassian/stash/current/logs
Cisco Confidential
28
Cisco Confidential
29
Thanks