20 lines
704 B
Groovy
20 lines
704 B
Groovy
//=================================================================
|
|
// Byway Studios Inc. Confidential Information.
|
|
// Copyright Byway Studios Inc. All rights reserved
|
|
//=================================================================
|
|
|
|
def call(publishSubFolder)
|
|
{
|
|
// Move artifacts to an Android subdirectory and achive
|
|
bat """
|
|
if exist tmpPublish rmdir /S /Q tmpPublish
|
|
mkdir tmpPublish
|
|
copy /Y apk\\*.* tmpPublish\\
|
|
del /F /S /Q apk\\*.*
|
|
|
|
if not exist apk\\${publishSubFolder} mkdir apk\\${publishSubFolder}
|
|
move /Y tmpPublish\\* apk\\${publishSubFolder}\\
|
|
rmdir tmpPublish
|
|
"""
|
|
archiveArtifacts artifacts: 'apk/**/*', fingerprint: true
|
|
} |