File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 8989 echo "env[PATH] = /usr/local/bin:/usr/bin:/bin" >> /etc/php7/php-fpm.conf && \
9090 echo "**** set version tag ****" && \
9191 if [ -z ${NEXTCLOUD_RELEASE+x} ]; then \
92- NEXTCLOUD_RELEASE=$(echo 15.0.7); \
92+ NEXTCLOUD_RELEASE=$(curl -s https://raw.githubusercontent.com/nextcloud/nextcloud.com/master/strings.php \
93+ | awk -F\' '/VERSIONS_SERVER_FULL_STABLE/ {print $2;exit}' ); \
9394 fi && \
9495 echo ${NEXTCLOUD_RELEASE} > /version.txt && \
9596 echo "**** cleanup ****" && \
Original file line number Diff line number Diff line change 8989 echo "env[PATH] = /usr/local/bin:/usr/bin:/bin" >> /etc/php7/php-fpm.conf && \
9090 echo "**** set version tag ****" && \
9191 if [ -z ${NEXTCLOUD_RELEASE+x} ]; then \
92- NEXTCLOUD_RELEASE=$(echo 15.0.7); \
92+ NEXTCLOUD_RELEASE=$(curl -s https://raw.githubusercontent.com/nextcloud/nextcloud.com/master/strings.php \
93+ | awk -F\' '/VERSIONS_SERVER_FULL_STABLE/ {print $2;exit}'); \
9394 fi && \
9495 echo ${NEXTCLOUD_RELEASE} > /version.txt && \
9596 echo "**** cleanup ****" && \
Original file line number Diff line number Diff line change 8989 echo "env[PATH] = /usr/local/bin:/usr/bin:/bin" >> /etc/php7/php-fpm.conf && \
9090 echo "**** set version tag ****" && \
9191 if [ -z ${NEXTCLOUD_RELEASE+x} ]; then \
92- NEXTCLOUD_RELEASE=$(echo 15.0.7); \
92+ NEXTCLOUD_RELEASE=$(curl -s https://raw.githubusercontent.com/nextcloud/nextcloud.com/master/strings.php \
93+ | awk -F\' '/VERSIONS_SERVER_FULL_STABLE/ {print $2;exit}'); \
9394 fi && \
9495 echo ${NEXTCLOUD_RELEASE} > /version.txt && \
9596 echo "**** cleanup ****" && \
Original file line number Diff line number Diff line change @@ -96,7 +96,7 @@ pipeline {
9696 steps{
9797 script{
9898 env. EXT_RELEASE = sh(
99- script : ''' echo 15.0.7 ''' ,
99+ script : ''' curl -s https://raw.githubusercontent.com/nextcloud/nextcloud.com/master/strings.php | awk -F \\ ' '/VERSIONS_SERVER_FULL_STABLE/ {print $2;exit}' ''' ,
100100 returnStdout : true ). trim()
101101 env. RELEASE_LINK = ' custom_command'
102102 }
Original file line number Diff line number Diff line change 33# jenkins variables
44project_name : docker-nextcloud
55external_type : na
6- custom_version_command : ' echo 15.0.7 '
6+ custom_version_command : " curl -s https://raw.githubusercontent.com/nextcloud/nextcloud.com/master/strings.php | awk -F \\\\ ' '/VERSIONS_SERVER_FULL_STABLE/ {print $2;exit}' "
77release_type : stable
88release_tag : latest
99ls_branch : master
You can’t perform that action at this time.
0 commit comments