Joe Stanley
46fb9e1020
Some checks failed
Potlatch Loggers Organization/ComputerKeeper/pipeline/head There was a failure building this commit
29 lines
959 B
Groovy
29 lines
959 B
Groovy
/*******************************************************************************
|
|
* ComputerKeeper Build Automation
|
|
* -----------------------------------------------------------------------------
|
|
*
|
|
* Build the application in a custom PyInstaller container to support function
|
|
* with Microsoft-Windows systems.
|
|
*
|
|
* 2022 - Stanley Solutions
|
|
* Joe Stanley
|
|
******************************************************************************/
|
|
|
|
node ('x86-64-build') {
|
|
|
|
// Prep Stage - Clone the Repository and Configure System as Needed.
|
|
stage('Prep') {
|
|
sh "docker pull cdrx/pyinstaller-windows:python3"
|
|
}
|
|
|
|
// Build Stage - Run the PyInstaller Steps to Generate an Executable.
|
|
stage('Build') {
|
|
sh """docker run -v "${WORKSPACE}:/src/" cdrx/pyinstaller-windows:python3"""
|
|
}
|
|
|
|
// Wrap Up - Archive the Generated Executables, Tear Down the Build System.
|
|
stage('Archive/Teardown') {
|
|
sh "echo teardown"
|
|
}
|
|
|
|
} |