Skip to content

Commit 5913c66

Browse files
authored
Merge pull request #96 from thelamer/master
Stop gap versioning until we have a reference point
2 parents 06b7ffd + 65584bf commit 5913c66

File tree

5 files changed

+5
-10
lines changed

5 files changed

+5
-10
lines changed

Dockerfile

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -89,8 +89,7 @@ RUN \
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=$(curl -s https://download.nextcloud.com/server/installer/setup-nextcloud.php \
93-
| awk -F \' '/NC_VERSION/{print $4;exit}'); \
92+
NEXTCLOUD_RELEASE=$(echo 15.0.7); \
9493
fi && \
9594
echo ${NEXTCLOUD_RELEASE} > /version.txt && \
9695
echo "**** cleanup ****" && \

Dockerfile.aarch64

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -89,8 +89,7 @@ RUN \
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=$(curl -s https://download.nextcloud.com/server/installer/setup-nextcloud.php \
93-
| awk -F \' '/NC_VERSION/{print $4;exit}'); \
92+
NEXTCLOUD_RELEASE=$(echo 15.0.7); \
9493
fi && \
9594
echo ${NEXTCLOUD_RELEASE} > /version.txt && \
9695
echo "**** cleanup ****" && \

Dockerfile.armhf

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -89,8 +89,7 @@ RUN \
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=$(curl -s https://download.nextcloud.com/server/installer/setup-nextcloud.php \
93-
| awk -F \' '/NC_VERSION/{print $4;exit}'); \
92+
NEXTCLOUD_RELEASE=$(echo 15.0.7); \
9493
fi && \
9594
echo ${NEXTCLOUD_RELEASE} > /version.txt && \
9695
echo "**** cleanup ****" && \

Jenkinsfile

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -96,8 +96,7 @@ pipeline {
9696
steps{
9797
script{
9898
env.EXT_RELEASE = sh(
99-
script: ''' curl -s https://download.nextcloud.com/server/installer/setup-nextcloud.php | awk -F \\' '/NC_VERSION/{print $4;exit}'
100-
''',
99+
script: ''' echo 15.0.7 ''',
101100
returnStdout: true).trim()
102101
env.RELEASE_LINK = 'custom_command'
103102
}

jenkins-vars.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,7 @@
33
# jenkins variables
44
project_name: docker-nextcloud
55
external_type: na
6-
custom_version_command: |
7-
{% raw -%}curl -s https://download.nextcloud.com/server/installer/setup-nextcloud.php | awk -F \\' '/NC_VERSION/{print $4;exit}'{%- endraw %}
6+
custom_version_command: 'echo 15.0.7'
87
release_type: stable
98
release_tag: latest
109
ls_branch: master

0 commit comments

Comments
 (0)