diff --git a/Jenkinsfile b/Jenkinsfile index 03dc538..5547efe 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -19,6 +19,7 @@ def build_docker(name, release_dir) { } return "\n - ${image_name}" } +properties([[$class: 'BuildDiscarderProperty', strategy: [$class: 'LogRotator', artifactDaysToKeepStr: '', artifactNumToKeepStr: '10', daysToKeepStr: '', numToKeepStr: '20']], copyArtifactPermission('*')]); node { stage("checkout") { checkout scm @@ -49,3 +50,4 @@ node { archiveArtifacts 'release/*' echo "${_msg}" } + diff --git a/docker/debian-shstk/Dockerfile b/docker/debian-shstk/Dockerfile index fbce5bd..67ce6be 100644 --- a/docker/debian-shstk/Dockerfile +++ b/docker/debian-shstk/Dockerfile @@ -6,7 +6,7 @@ ARG JOBS_COUNT=4 ENV PATH=/opt/cmake/bin:$PATH WORKDIR /soft -RUN git clone -b master --single-branch --depth 1 --recursive https://git.shs.tools/SHS/shstk.git +RUN git clone -b release --single-branch --depth 1 --recursive https://git.shs.tools/SHS/shstk.git WORKDIR /soft/shstk_build_debian RUN cmake -G Ninja -DICU=0 -DLOCAL=0 -DQGLENGINE=1 -DQGLVIEW=1 -DHAS_GL=0 -DBUILD_NUMBER=${LIBS_BUILD_NUMBER} ../shstk \ diff --git a/docker/debian11-shstk/Dockerfile b/docker/debian11-shstk/Dockerfile index 5c2e8ed..5555e28 100644 --- a/docker/debian11-shstk/Dockerfile +++ b/docker/debian11-shstk/Dockerfile @@ -6,7 +6,7 @@ ARG JOBS_COUNT=4 ENV PATH=/opt/cmake/bin:$PATH WORKDIR /soft -RUN git clone -b master --single-branch --depth 1 --recursive https://git.shs.tools/SHS/shstk.git +RUN git clone -b release --single-branch --depth 1 --recursive https://git.shs.tools/SHS/shstk.git WORKDIR /soft/shstk_build_debian RUN cmake -G Ninja -DICU=0 -DLOCAL=0 -DQGLENGINE=1 -DQGLVIEW=1 -DHAS_GL=0 -DBUILD_NUMBER=${LIBS_BUILD_NUMBER} ../shstk \ diff --git a/docker/ubuntu-shstk/Dockerfile b/docker/ubuntu-shstk/Dockerfile index 2f759f5..79aeef1 100644 --- a/docker/ubuntu-shstk/Dockerfile +++ b/docker/ubuntu-shstk/Dockerfile @@ -6,7 +6,7 @@ ARG JOBS_COUNT=4 ENV PATH=/opt/cmake/bin:$PATH WORKDIR /soft -RUN git clone -b master --single-branch --depth 1 --recursive https://git.shs.tools/SHS/shstk.git +RUN git clone -b release --single-branch --depth 1 --recursive https://git.shs.tools/SHS/shstk.git WORKDIR /soft/shstk_build_ubuntu RUN cmake -G Ninja -DICU=0 -DLOCAL=0 -DQGLENGINE=1 -DQGLVIEW=1 -DHAS_GL=0 -DBUILD_NUMBER=${LIBS_BUILD_NUMBER} ../shstk \