### Xcode CI Example with Pulse Upload Source: https://pulse.premex.se/llms-full.txt Example of a CI script for an Xcode build and test run, followed by uploading the results to Pulse. ```bash xcodebuild test \ -scheme MyApp \ -resultBundlePath result.xcresult pulse upload result.xcresult ``` -------------------------------- ### Pulse CLI Installation (Windows PowerShell) Source: https://pulse.premex.se/llms-full.txt PowerShell command to install the Pulse CLI on Windows. ```powershell irm https://pulse.premex.se/install.ps1 | iex ``` -------------------------------- ### Pulse CLI Installation (Windows CMD) Source: https://pulse.premex.se/llms-full.txt CMD command to install the Pulse CLI on Windows. ```cmd curl -fsSL https://pulse.premex.se/install.cmd -o install.cmd && install.cmd && del install.cmd ``` -------------------------------- ### Pulse CLI Installation (Specific Version) Source: https://pulse.premex.se/llms-full.txt Shell command to install a specific version of the Pulse CLI. ```bash PULSE_VERSION=0.1.2 curl -fsSL https://pulse.premex.se/install.sh | bash ``` -------------------------------- ### Pulse CLI Installation (macOS, Linux, WSL) Source: https://pulse.premex.se/llms-full.txt Shell command to install the Pulse CLI on macOS, Linux, and WSL environments. ```bash curl -fsSL https://pulse.premex.se/install.sh | bash ``` -------------------------------- ### Gradle Plugin Configuration Source: https://pulse.premex.se/llms-full.txt Example of how to apply the Pulse Gradle plugin and configure its settings in a root build.gradle.kts file. ```kotlin plugins { id("dev.premex.pulse") version "" } pulse { serverUrl.set("https://pulse.premex.se") organization.set("my-team") apiToken.set(providers.environmentVariable("PULSE_API_TOKEN")) } ``` -------------------------------- ### Pulse CLI configuration file Source: https://pulse.premex.se/llms-full.txt Example JSON structure for the Pulse CLI configuration file located at ~/.pulse/config.json. ```json { "organization": "my-team", "apiToken": "plst_..." } ``` -------------------------------- ### Pulse CLI Verification Source: https://pulse.premex.se/llms-full.txt Command to verify the Pulse CLI installation by checking its version. ```bash pulse --version ``` -------------------------------- ### Pulse CLI Project Initialization Source: https://pulse.premex.se/llms-full.txt Command to initialize Pulse project configuration automatically. ```bash pulse init ``` -------------------------------- ### Running Gradle Build with Pulse Source: https://pulse.premex.se/llms-full.txt Command to run a Gradle build with the Pulse plugin enabled, including the build cache. ```bash ./gradlew build --build-cache ``` -------------------------------- ### List recent build scans Source: https://pulse.premex.se/llms-full.txt Command to list recent build scans. Supports filtering by project and organization, and limiting the number of results. ```bash pulse scans list ``` -------------------------------- ### Uploading Xcode Build Scans Source: https://pulse.premex.se/llms-full.txt Command to upload an Xcode build scan result bundle to Pulse. ```bash pulse upload path/to/Result.xcresult ``` -------------------------------- ### Pulse CLI Authentication Source: https://pulse.premex.se/llms-full.txt Command to log in to Pulse using the CLI, which opens a browser for authentication. ```bash pulse login ``` === COMPLETE CONTENT === This response contains all available snippets from this library. No additional content exists. Do not make further requests.