40 Commits

Author SHA1 Message Date
3a34082bfd Update macOS build process and dependencies
Some checks failed
farmcontrol/farmcontrol-server/pipeline/head There was a failure building this commit
- Added `create-dmg` package to package.json for improved DMG creation.
- Modified Jenkinsfile to clean up staging directories correctly.
- Enhanced finalize-desktop-artifacts.mjs to utilize `create-dmg` for generating DMG files, improving artifact management and error handling.
2026-08-01 22:00:50 +01:00
1669c7a72c Refactor macOS build process and update configuration
Some checks failed
farmcontrol/farmcontrol-server/pipeline/head There was a failure building this commit
- Updated electrobun.config.ts to disable DMG creation during the build process, streamlining artifact management.
- Enhanced Jenkinsfile with a new function to prepare the macOS build workspace, ensuring proper cleanup of previous volumes and staging directories.
- Introduced new functions in finalize-desktop-artifacts.mjs for building and cleaning macOS DMG files, improving the overall build workflow and artifact handling.
2026-08-01 21:57:03 +01:00
c429a88315 Fix macOS arm64 build command in Jenkinsfile
- Updated the macOS arm64 build command to use the correct label for architecture compatibility, ensuring proper execution during the build process.
2026-08-01 21:29:44 +01:00
575a2d1d20 Enhance macOS build process and configuration
Some checks reported errors
farmcontrol/farmcontrol-server/pipeline/head Something is wrong with the build of this commit
- Updated electrobun.config.ts to conditionally enable code signing and notarization based on developer ID presence.
- Refactored Jenkinsfile to support separate macOS builds for x64 and arm64 architectures.
- Added new scripts for ensuring core dependencies and patching Electrobun source for cross-architecture compatibility.
- Enhanced build-macos.mjs to improve architecture detection and build order, ensuring robust handling of macOS builds.
- Updated package.json to include a post-install script for patching Electrobun source files.
2026-08-01 21:27:58 +01:00
7bbe717823 Refactor Jenkinsfile to redefine releaseBaseUrl variable
Some checks failed
farmcontrol/farmcontrol-server/pipeline/head There was a failure building this commit
- Moved the definition of releaseBaseUrl into the runBuild function for improved scope management and clarity in the build process.
2026-08-01 21:15:12 +01:00
c14a12648a Refactor Jenkinsfile and update build scripts
Some checks failed
farmcontrol/farmcontrol-server/pipeline/head There was a failure building this commit
- Introduced a new runBuild function in Jenkinsfile to streamline build command execution across different environments.
- Updated package.json to use a new cleanBuild script for improved build cleanup.
- Enhanced build-macos.mjs to support architecture-specific builds with better cross-compilation handling.
- Added a new clean-build.mjs script for efficient removal of build artifacts.
2026-08-01 21:08:23 +01:00
f21224becc Update Jenkinsfile and Windows installer configuration
Some checks failed
farmcontrol/farmcontrol-server/pipeline/head There was a failure building this commit
- Changed the build discard policy in Jenkinsfile from 20 to 10 builds to optimize storage.
- Refactored the farmcontrol-server.wxs file to rename the main setup component and separate SetupArchive and SetupMetadata into distinct components for improved clarity and management in the MSI packaging process.
2026-08-01 20:13:49 +01:00
d867d017bb Enhance Electrobun configuration and build scripts
Some checks reported errors
farmcontrol/farmcontrol-server/pipeline/head Something is wrong with the build of this commit
- Updated electrobun.config.ts to dynamically set the application version from package.json and added a release configuration for base URL.
- Modified Jenkinsfile to include the ELECTROBUN_RELEASE_BASE_URL environment variable during the build process.
- Refactored build-macos.mjs to streamline the build command execution for different architectures.
- Enhanced finalize-desktop-artifacts.mjs to improve artifact handling and introduced a new pre-build script for validation of required files and environment variables.
- Improved error handling and logging for better build process visibility.
2026-08-01 20:12:30 +01:00
f3ae50c788 Add Windows MSI packaging and finalize desktop artifacts script
Some checks failed
farmcontrol/farmcontrol-server/pipeline/head There was a failure building this commit
- Introduced a new Windows Installer XML (WXS) file for packaging the Farm Control Server as an MSI.
- Added a PowerShell script to build the MSI from the WXS file.
- Implemented a new script to finalize desktop artifacts, handling the publication of macOS and Windows packages.
- Updated the Linux build script to improve artifact naming and organization.
- Enhanced the Electrobun configuration to include a post-package script for finalizing desktop artifacts.
2026-07-28 22:37:38 +01:00
b2db8f0aa0 Refactor Bun installation checks in Jenkinsfile
Some checks failed
farmcontrol/farmcontrol-server/pipeline/head There was a failure building this commit
- Renamed the function from `ensureBunInstalled` to `checkBun` for clarity.
- Simplified the Bun version check process by removing installation commands, focusing solely on verifying Bun's presence.
- Updated stage names in the CI pipeline to reflect the new function and improve readability.
2026-07-28 22:16:32 +01:00
de895fed7d Enhance Bun integration in Jenkinsfile
Some checks failed
farmcontrol/farmcontrol-server/pipeline/head There was a failure building this commit
- Introduced helper functions to manage Bun installation paths for both Unix and Windows environments.
- Wrapped Bun installation and dependency setup stages in a new `withBun` closure for improved readability and organization.
- Ensured consistent handling of Bun installation across different stages of the CI pipeline.
2026-07-28 22:14:36 +01:00
0b1530a405 Refine Bun installation script in Jenkinsfile
Some checks reported errors
farmcontrol/farmcontrol-server/pipeline/head Something is wrong with the build of this commit
- Simplified the error handling in the Bun installation script by removing the 'pipefail' option.
- Ensured the script remains robust while maintaining compatibility across Unix environments.
2026-07-28 22:12:31 +01:00
4fadd072bd Fix path formatting for Bun installation in Jenkinsfile
Some checks failed
farmcontrol/farmcontrol-server/pipeline/head There was a failure building this commit
- Updated the path separator from backslashes to forward slashes for consistency across environments.
- Ensured the PATH variable is correctly set for Bun installation on Windows systems.
2026-07-28 22:11:11 +01:00
ef4f440db4 Add Bun installation checks to Jenkins pipeline
Some checks failed
farmcontrol/farmcontrol-server/pipeline/head There was a failure building this commit
- Introduced a function to ensure Bun is installed on both Unix and Windows environments.
- Updated the Jenkinsfile to call this function during the setup stages, improving the reliability of the build process.
- Ensured the PATH is correctly set for Bun after installation.
2026-07-28 22:07:14 +01:00
fa389e3eb7 Update CI pipeline, documentation, and config for Bun/Electrobun.
Some checks failed
farmcontrol/farmcontrol-server/pipeline/head There was a failure building this commit
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-28 22:03:23 +01:00
20080929f9 Update build discarder configuration in Jenkinsfile to retain the last 20 builds, improving build management. 2026-07-27 00:21:10 +01:00
e04c06493b Delete builds older than 25.
All checks were successful
farmcontrol/farmcontrol-server/pipeline/head This commit looks good
2026-07-26 23:56:12 +01:00
d649ce42ff Add build discarding properties to Jenkinsfile
Some checks failed
farmcontrol/farmcontrol-server/pipeline/head There was a failure building this commit
Introduce a build discarder configuration in the Jenkinsfile to retain the last 10 builds, improving build management and resource utilization.
2026-07-26 23:46:43 +01:00
a62df6a5c6 Enhance build metadata handling and server info logging
Some checks failed
farmcontrol/farmcontrol-server/pipeline/head There was a failure building this commit
Add a function to write build metadata to src/buildInfo.json during the build process in Jenkinsfile. Update local server to include version and build number in the /info endpoint response. Modify index.js to log detailed host information when the --info flag is used. Update .gitignore to include src/buildInfo.json and adjust config.json with new host credentials.
2026-07-26 23:14:04 +01:00
8da48a158f Update MacOS build command in Jenkinsfile and add specific build script for Mac architecture in package.json.
Some checks failed
farmcontrol/farmcontrol-server/pipeline/head There was a failure building this commit
2026-07-26 19:30:27 +01:00
b57d269f9b Fixed build config.
Some checks failed
farmcontrol/farmcontrol-server/pipeline/head There was a failure building this commit
2026-07-26 14:21:06 +01:00
3cc2cbe020 Changed linux build method.
Some checks failed
farmcontrol/farmcontrol-server/pipeline/head There was a failure building this commit
2026-02-01 22:34:27 +00:00
bc91c2330f Switched to pnpm.
Some checks failed
farmcontrol/farmcontrol-server/pipeline/head There was a failure building this commit
2026-02-01 22:31:15 +00:00
6539f6e2ff Updated Jenkinsfile to build Linux version using 'yarn build:linux'. Refactored package.json to separate server and renderer build processes, and added new build:linux script. Cleaned up after-install.sh and after-remove.sh scripts by removing service file handling.
Some checks failed
farmcontrol/farmcontrol-server/pipeline/head There was a failure building this commit
2025-12-28 23:23:17 +00:00
7dbe7da4ee Overhauled server code.
Some checks reported errors
farmcontrol/farmcontrol-server/pipeline/head Something is wrong with the build of this commit
2025-12-28 21:46:58 +00:00
ec0f2e4d16 Fixed a few things. 2025-06-02 02:00:32 +01:00
f9525da7d7 Fix file location 2025-06-01 22:02:32 +01:00
4063c0c6fc Build folder checks 2025-06-01 21:57:53 +01:00
de1ff1aba7 Add scm checkout 2025-06-01 21:56:59 +01:00
8bfb22db0f Using scipted ci 2025-06-01 21:55:20 +01:00
dc84580615 Removed flattern 2025-06-01 21:41:56 +01:00
f3fc01cdb8 Fixed ci ssh 2025-06-01 21:39:47 +01:00
ae6a7a0ae1 Attempt to deploy 2025-06-01 21:27:22 +01:00
f98ab2896b include dev when building 2025-06-01 21:21:14 +01:00
61013c11df Added build and deploy 2025-06-01 21:19:07 +01:00
7e89f32c5b Fixed build and ci steps 2025-06-01 20:57:52 +01:00
7fb90583fd Fixed compatable node version 2025-06-01 20:55:13 +01:00
0ec9ee4a04 Install nodeJS into Jenkins 2025-06-01 20:53:35 +01:00
4b8f899629 Fixed agent file 2025-06-01 20:49:57 +01:00
90d031c5fe Added CI Support and other things. 2025-06-01 20:44:06 +01:00