atlassian-json/json-backups/update.sh

72 lines
3.5 KiB
Bash
Raw Normal View History

2021-01-15 00:55:17 +03:00
#!/bin/bash
rm -rfv $PWD/current $PWD/archived $PWD/eap
mkdir -p $PWD/current $PWD/archived $PWD/eap
###################################################################################################
# Current links
###################################################################################################
# Bamboo
2021-01-15 01:41:33 +03:00
wget -c -nv --random-wait -P $PWD/current/ https://my.atlassian.com/download/feeds/current/bamboo.json
2021-01-15 00:55:17 +03:00
# Bitbucket (Stash)
2021-01-15 01:41:33 +03:00
wget -c -nv --random-wait -P $PWD/current/ https://my.atlassian.com/download/feeds/current/stash.json
2021-01-15 00:55:17 +03:00
# Confluence
2021-01-15 01:41:33 +03:00
wget -c -nv --random-wait -P $PWD/current/ https://my.atlassian.com/download/feeds/current/confluence.json
2021-01-15 00:55:17 +03:00
# Crowd
2021-01-15 01:41:33 +03:00
wget -c -nv --random-wait -P $PWD/current/ https://my.atlassian.com/download/feeds/current/crowd.json
2021-01-15 00:55:17 +03:00
# Crucible
2021-01-15 01:41:33 +03:00
wget -c -nv --random-wait -P $PWD/current/ https://my.atlassian.com/download/feeds/current/crucible.json
2021-01-15 00:55:17 +03:00
# FishEye
2021-01-15 01:41:33 +03:00
wget -c -nv --random-wait -P $PWD/current/ https://my.atlassian.com/download/feeds/current/fisheye.json
2021-01-15 00:55:17 +03:00
# Jira
2021-01-15 01:41:33 +03:00
#wget -c -nv --random-wait -P $PWD/current/ https://my.atlassian.com/download/feeds/current/jira.json
wget -c -nv --random-wait -P $PWD/current/ https://my.atlassian.com/download/feeds/current/jira-core.json
wget -c -nv --random-wait -P $PWD/current/ https://my.atlassian.com/download/feeds/current/jira-software.json
wget -c -nv --random-wait -P $PWD/current/ https://my.atlassian.com/download/feeds/current/jira-servicedesk.json
2021-01-15 00:55:17 +03:00
###################################################################################################
# Archived links
###################################################################################################
# Bamboo
2021-01-15 01:41:33 +03:00
wget -c -nv --random-wait -P $PWD/archived/ https://my.atlassian.com/download/feeds/archived/bamboo.json
2021-01-15 00:55:17 +03:00
# Bitbucket (Stash)
2021-01-15 01:41:33 +03:00
wget -c -nv --random-wait -P $PWD/archived/ https://my.atlassian.com/download/feeds/archived/stash.json
2021-01-15 00:55:17 +03:00
# Confluence
2021-01-15 01:41:33 +03:00
wget -c -nv --random-wait -P $PWD/archived/ https://my.atlassian.com/download/feeds/archived/confluence.json
2021-01-15 00:55:17 +03:00
# Crowd
2021-01-15 01:41:33 +03:00
wget -c -nv --random-wait -P $PWD/archived/ https://my.atlassian.com/download/feeds/archived/crowd.json
2021-01-15 00:55:17 +03:00
# Crucible
2021-01-15 01:41:33 +03:00
wget -c -nv --random-wait -P $PWD/archived/ https://my.atlassian.com/download/feeds/archived/crucible.json
2021-01-15 00:55:17 +03:00
# FishEye
2021-01-15 01:41:33 +03:00
wget -c -nv --random-wait -P $PWD/archived/ https://my.atlassian.com/download/feeds/archived/fisheye.json
2021-01-15 00:55:17 +03:00
# Jira
2021-01-15 01:41:33 +03:00
wget -c -nv --random-wait -P $PWD/archived/ https://my.atlassian.com/download/feeds/archived/jira.json
wget -c -nv --random-wait -P $PWD/archived/ https://my.atlassian.com/download/feeds/archived/jira-core.json
wget -c -nv --random-wait -P $PWD/archived/ https://my.atlassian.com/download/feeds/archived/jira-software.json
wget -c -nv --random-wait -P $PWD/archived/ https://my.atlassian.com/download/feeds/archived/jira-servicedesk.json
2021-01-15 00:55:17 +03:00
###################################################################################################
# EAP links
###################################################################################################
2021-01-15 01:41:33 +03:00
wget -c -nv --random-wait -P $PWD/eap/ https://my.atlassian.com/download/feeds/eap/bamboo.json
wget -c -nv --random-wait -P $PWD/eap/ https://my.atlassian.com/download/feeds/eap/confluence.json
wget -c -nv --random-wait -P $PWD/eap/ https://my.atlassian.com/download/feeds/eap/jira.json
wget -c -nv --random-wait -P $PWD/eap/ https://my.atlassian.com/download/feeds/eap/jira-servicedesk.json
wget -c -nv --random-wait -P $PWD/eap/ https://my.atlassian.com/download/feeds/eap/stash.json
2021-01-15 00:55:17 +03:00