This repository was archived by the owner on Jun 15, 2021. It is now read-only.
File tree Expand file tree Collapse file tree 4 files changed +4
-2
lines changed Expand file tree Collapse file tree 4 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -103,7 +103,7 @@ pipeline {
103
103
steps{
104
104
script{
105
105
env. EXT_RELEASE = sh(
106
- script : ''' curl -w '%{url_effective}' -ILsS https ://openvpn.net/downloads/openvpn-as-latest-ubuntu18.amd_64.deb -o /dev/null | awk -F '( openvpn-as-|-Ubuntu18)' ' {print $2}' ''' ,
106
+ script : ''' curl -sX GET http ://as-repository. openvpn.net/as/debian/dists/bionic/main/binary-amd64/Packages.gz | gunzip -c |grep -A 7 -m 1 'Package: openvpn-as' | awk -F ': ' '/Version/ {print $2;exit }' ''' ,
107
107
returnStdout : true ). trim()
108
108
env. RELEASE_LINK = ' custom_command'
109
109
}
Original file line number Diff line number Diff line change @@ -234,6 +234,7 @@ Once registered you can define the dockerfile to use with `-f Dockerfile.aarch64
234
234
235
235
## Versions
236
236
237
+ * ** 26.03.20:** - Switch to using the openvpn-as repo for packages.
237
238
* ** 29.08.19:** - Update Application Setup instructions in readme to fix 2.7.5 login issue for existing users.
238
239
* ** 27.08.19:** - Add new clients package to install and upgrade process.
239
240
* ** 22.08.19:** - Prevent auto-start of openvpn after first time install, before configuration is completed.
Original file line number Diff line number Diff line change 3
3
# jenkins variables
4
4
project_name : docker-openvpn-as
5
5
external_type : na
6
- custom_version_command : " curl -w '%{url_effective}' -ILsS https ://openvpn.net/downloads/openvpn-as-latest-ubuntu18.amd_64.deb -o /dev/null | awk -F '( openvpn-as-|-Ubuntu18)' ' {print $2}'"
6
+ custom_version_command : " curl -sX GET http ://as-repository. openvpn.net/as/debian/dists/bionic/main/binary-amd64/Packages.gz | gunzip -c |grep -A 7 -m 1 'Package: openvpn-as' | awk -F ': ' '/Version/ {print $2;exit }'"
7
7
release_type : stable
8
8
release_tag : latest
9
9
ls_branch : master
Original file line number Diff line number Diff line change @@ -66,6 +66,7 @@ app_setup_block: |
66
66
67
67
# changelog
68
68
changelogs :
69
+ - { date: "26.03.20:", desc: "Switch to using the openvpn-as repo for packages." }
69
70
- { date: "29.08.19:", desc: "Update Application Setup instructions in readme to fix 2.7.5 login issue for existing users." }
70
71
- { date: "27.08.19:", desc: "Add new clients package to install and upgrade process." }
71
72
- { date: "22.08.19:", desc: "Prevent auto-start of openvpn after first time install, before configuration is completed." }
You can’t perform that action at this time.
0 commit comments