From a29f36d4046c63c8da976048448593895cf12628 Mon Sep 17 00:00:00 2001 From: Chikashi Miyama Date: Mon, 15 Jul 2019 20:54:27 +0200 Subject: [PATCH] fix jenkins --- Jenkinsfile | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index d1918cc..1fd9943 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -6,18 +6,16 @@ pipeline { MXBUILD = "\"C:\\Program Files (x86)\\Microsoft Visual Studio\\2017\\Community\\MSBuild\\15.0\\Bin\\MSBuild.exe\"" } stages { - stage('Unity Build'){ + stage('Build'){ steps{ echo 'Generate Build Number File' writeFile file: 'UnityProject/Assets/Resources/buildNumber.txt', text: "${BUILD_NUMBER}" echo 'Building Pd Project' - cmakeBuild buildDir: 'build', buildType: 'Release', cleanBuild: true, generator: 'Visual Studio 14 2015 Win64', installation: 'Standard', sourceDir: 'pdshmem' - fileOperations([folderCreateOperation('pd'), - fileCopyOperation(excludes: '', flattenFiles: false, includes: 'pdshmem/bin/pdshmem.dll', targetLocation: 'pd'), - fileCopyOperation(excludes: '', flattenFiles: false, includes: 'pdshmem/bin/*.pd', targetLocation: 'pd')]) - + 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' bat "${RUBY} run -u 2018.4.3f1 -r -- -batchmode -nographics -quit -projectPath '${workspace}\\UnityProject' -executeMethod AppBuilder.Build"