ComputerKeeper/Jenkinsfile

29 lines
959 B
Plaintext
Raw Normal View History

2022-08-05 03:24:36 +00:00
/*******************************************************************************
* ComputerKeeper Build Automation
* -----------------------------------------------------------------------------
*
* Build the application in a custom PyInstaller container to support function
* with Microsoft-Windows systems.
2022-08-05 03:24:36 +00:00
*
* 2022 - Stanley Solutions
* Joe Stanley
******************************************************************************/
2022-09-05 03:23:19 +00:00
node ('x86-64-build') {
2022-08-05 03:24:36 +00:00
// Prep Stage - Clone the Repository and Configure System as Needed.
stage('Prep') {
2022-09-05 03:20:14 +00:00
sh "docker pull cdrx/pyinstaller-windows:python3"
2022-08-05 03:24:36 +00:00
}
// 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"
}
2022-08-05 03:24:36 +00:00
}