Warning, /packaging/appimage-packaging/kdenlive/JenkinsFile is written in an unsupported language. File is not indexed.
0001 #!groovy 0002 0003 /* 0004 The MIT License 0005 Copyright (c) 2015-, CloudBees, Inc., and a number of other of contributors 0006 Permission is hereby granted, free of charge, to any person obtaining a copy 0007 of this software and associated documentation files (the "Software"), to deal 0008 in the Software without restriction, including without limitation the rights 0009 to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 0010 copies of the Software, and to permit persons to whom the Software is 0011 furnished to do so, subject to the following conditions: 0012 The above copyright notice and this permission notice shall be included in 0013 all copies or substantial portions of the Software. 0014 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 0015 IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 0016 FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 0017 AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 0018 LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 0019 OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 0020 THE SOFTWARE. 0021 */ 0022 0023 node('trusty_qt59') { 0024 0025 0026 currentBuild.result = "SUCCESS" 0027 properties([buildDiscarder(logRotator(artifactDaysToKeepStr: '', artifactNumToKeepStr: '', daysToKeepStr: '', numToKeepStr: '3')), pipelineTriggers([])]) 0028 0029 try { 0030 0031 stage( 'Checkout' ) { 0032 checkout([$class: 'GitSCM', branches: [[name: 'master']], \ 0033 doGenerateSubmoduleConfigurations: false, extensions: [[$class: 'RelativeTargetDirectory', relativeTargetDir: 'appimage-tooling']], submoduleCfg: [], \ 0034 userRemoteConfigs: [[url: 'http://anongit.kde.org/sysadmin/appimage-tooling']]]) 0035 checkout([$class: 'GitSCM', branches: [[name: 'master']], \ 0036 doGenerateSubmoduleConfigurations: false, extensions: [[$class: 'RelativeTargetDirectory', relativeTargetDir: 'appimage-packaging']], submoduleCfg: [], \ 0037 userRemoteConfigs: [[url: 'http://anongit.kde.org/appimage-packaging']]]) 0038 checkout([$class: 'GitSCM', branches: [[name: 'refactoring_timeline']], \ 0039 doGenerateSubmoduleConfigurations: false, extensions: [[$class: 'RelativeTargetDirectory', relativeTargetDir: 'kdenlive']], submoduleCfg: [], \ 0040 userRemoteConfigs: [[url: 'http://anongit.kde.org/kdenlive']]]) 0041 } 0042 stage( 'Build' ) { 0043 sh 'appimage-packaging/kdenlive/scripts/setup.sh' 0044 } 0045 // stage('Copy Artifacts') { 0046 // step([$class: 'S3BucketPublisher', consoleLogLevel: 'INFO', dontWaitForConcurrentBuildCompletion: false, entries: [[bucket: "ds9-apps/${JOB_NAME}", excludedFile: '', flatten: false, gzipFiles: false, keepForever: false, \ 0047 // managedArtifacts: false, noUploadOnFailure: true, selectedRegion: 'eu-central-1', showDirectlyInBrowser: true, \ 0048 // sourceFile: 'appimage/*.AppImage', storageClass: 'STANDARD', uploadFromSlave: true, useServerSideEncryption: false]], pluginFailureResultConstraint: 'UNSTABLE', profileName: 'ds9-apps', userMetadata: []]) 0049 // step([$class: 'S3BucketPublisher', consoleLogLevel: 'INFO', dontWaitForConcurrentBuildCompletion: false, entries: [[bucket: "ds9-apps/${JOB_NAME}", excludedFile: '', flatten: false, gzipFiles: false, keepForever: false, \ 0050 // managedArtifacts: false, noUploadOnFailure: true, selectedRegion: 'eu-central-1', showDirectlyInBrowser: true, \ 0051 // sourceFile: 'appimage/*.zsync', storageClass: 'STANDARD', uploadFromSlave: true, useServerSideEncryption: false]], pluginFailureResultConstraint: 'UNSTABLE', profileName: 'ds9-apps', userMetadata: []]) 0052 // } 0053 stage('Tests') { 0054 step([$class: 'LogParserPublisher', failBuildOnError: true, projectRulePath: 'appimage-tooling/appimage-template/parser.rules', showGraphs: true, unstableOnWarning: true, useProjectRule: true]) 0055 } 0056 0057 } 0058 0059 0060 0061 0062 catch (err) { 0063 0064 currentBuild.result = "FAILURE" 0065 0066 echo "FAILURE" 0067 throw err 0068 } 0069 0070 }