remove pd from jenkins

This commit is contained in:
Chikashi Miyama 2019-10-02 08:18:39 +02:00
parent 26f6495462
commit 010b7026f5

8
Jenkinsfile vendored
View file

@ -12,16 +12,11 @@ pipeline {
echo 'Generate Build Number File' echo 'Generate Build Number File'
writeFile file: 'UnityProject/Assets/Resources/buildNumber.txt', text: "${BUILD_NUMBER}" writeFile file: 'UnityProject/Assets/Resources/buildNumber.txt', text: "${BUILD_NUMBER}"
echo 'Building Pd Project'
cmakeBuild buildDir: 'build', cleanBuild: true, generator: 'Visual Studio 15 2017 Win64', installation: 'Standard', sourceDir: 'pdshmem', steps: [[args: '--config Release', withCmake: true]]
fileOperations([folderCreateOperation('pd'), fileCopyOperation(excludes: '', flattenFiles: true, includes: 'pdshmem/bin/**/*', targetLocation: 'pd')])
echo 'Building Unity Project' echo 'Building Unity Project'
bat "${RUBY} run -u 2018.4.3f1 -r -- -batchmode -nographics -quit -projectPath '${workspace}\\UnityProject' -executeMethod AppBuilder.Build" bat "${RUBY} run -u 2018.4.3f1 -r -- -batchmode -nographics -quit -projectPath '${workspace}\\UnityProject' -executeMethod AppBuilder.Build"
echo 'Stash unity build' echo 'Stash unity build'
stash includes: 'bin/**/*', name: 'unity build' stash includes: 'bin/**/*', name: 'unity build'
stash includes: 'pd/**/*', name: 'pd build'
} }
} }
stage('Test'){ stage('Test'){
@ -45,9 +40,8 @@ pipeline {
steps{ steps{
echo 'publish Build' echo 'publish Build'
unstash 'installer build' unstash 'installer build'
unstash 'pd build'
cifsPublisher(publishers: [[configName: 'Cylvester Share', transfers: [[cleanRemote: false, excludes: '', flatten: false, makeEmptyDirs: false, noDefaultExcludes: false, patternSeparator: '[, ]+', remoteDirectory: 'Build${BUILD_NUMBER}', remoteDirectorySDF: false, removePrefix: '', sourceFiles: 'SoundVision.msi'], [cleanRemote: false, excludes: '', flatten: false, makeEmptyDirs: false, noDefaultExcludes: false, patternSeparator: '[, ]+', remoteDirectory: 'Build${BUILD_NUMBER}', remoteDirectorySDF: false, removePrefix: '', sourceFiles: 'pd/**/*']], usePromotionTimestamp: false, useWorkspaceInPromotion: false, verbose: false]]) cifsPublisher(publishers: [[configName: 'Cylvester Share', transfers: [[cleanRemote: false, excludes: '', flatten: false, makeEmptyDirs: false, noDefaultExcludes: false, patternSeparator: '[, ]+', remoteDirectory: 'Build${BUILD_NUMBER}', remoteDirectorySDF: false, removePrefix: '', sourceFiles: 'SoundVision.msi']], usePromotionTimestamp: false, useWorkspaceInPromotion: false, verbose: false]])
} }
} }