diff --git a/Jenkinsfile b/Jenkinsfile index 688c3e2b8..9dda49c46 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -1,39 +1,40 @@ #!/usr/bin/env groovy -if (env.BRANCH_NAME.startsWith('PR-')) { - properties([[$class: 'BuildDiscarderProperty', strategy: [$class: 'LogRotator', artifactNumToKeepStr: '1']]]) -} else { - properties([[$class: 'BuildDiscarderProperty', strategy: [$class: 'LogRotator', artifactDaysToKeepStr: '30', artifactNumToKeepStr: '5']]]) -} - -if (env.CHANGE_TARGET == 'master') { - error("This pull request targets the wrong branch. Please reopen the pull request targetting the dev branch.") -} -node('master') { - stage('Pull changes') { - checkout scm +pipeline { + agent { label 'colobot-build' } + options { + buildDiscarder(logRotator(artifactDaysToKeepStr: '30', artifactNumToKeepStr: '5')) } - - stage('Build data') { - sh 'mkdir -p build' - dir('build') { - sh ''' - cmake -DCMAKE_INSTALL_PREFIX=/install -DCOLOBOT_INSTALL_DATA_DIR=/install/data .. - make - rm -rf install - DESTDIR=. make install - ''' + stages { + stage('Check pull request target') { + when { changeRequest() } + steps { + script { + if (env.CHANGE_TARGET == 'master') { + throw "This pull request targets the wrong branch. Please reopen the pull request targetting the dev branch." + } + } + } + } + stage('Build data') { + steps { + sh 'mkdir -p build' + dir('build') { + sh ''' + cmake -DCMAKE_INSTALL_PREFIX=/install -DCOLOBOT_INSTALL_DATA_DIR=/install/data .. + make + rm -rf install + DESTDIR=. make install + ''' + } + } } - } - - stage('Archive data') { - sh 'rm -f data.zip' - zip zipFile: 'data.zip', archive: true, dir: 'build/install' - } - // Clean workspace after building pull requests - // to save disk space on the Jenkins host - if (env.BRANCH_NAME.startsWith('PR-')) { - cleanWs() + stage('Archive data') { + steps { + sh 'rm -f data.zip' + zip zipFile: 'data.zip', archive: true, dir: 'build/install' + } + } } } diff --git a/help/bots/po/cs.po b/help/bots/po/cs.po new file mode 100644 index 000000000..747558f69 --- /dev/null +++ b/help/bots/po/cs.po @@ -0,0 +1,1112 @@ +# This file is part of the Colobot: Gold Edition source code +# Copyright (C) 2001-2018, Daniel Roux, EPSITEC SA & TerranovaTeam +# This file is distributed under the same license as the Colobot package. +# next_ghost , 2018. +msgid "" +msgstr "" +"Project-Id-Version: 0.1.11\n" +"POT-Creation-Date: DATE\n" +"PO-Revision-Date: 2018-07-14 11:49+02\n" +"Last-Translator: next_ghost \n" +"Language-Team: Czech \n" +"Language: Czech\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=3; plural=((n==1) ? 0 : (n>=2 && n<=4) ? 1 : 2);\n" +"X-Language: cs_CZ\n" +"X-Source-Language: en_US\n" + +#. type: \b; header +#: ../E/botfc.txt:1 +#, no-wrap +msgid "