Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Check using Jenkings env var #2960

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 15 additions & 0 deletions ci/build_test_OnCommit.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,21 @@ pipeline {
when { expression { win_image_build_needed == "true" } }
steps {
script {
def bazel_remote_cache_url = env.OVMS_BAZEL_REMOTE_CACHE_URL
def filePath = '.user.bazelrc'
def content = "build --remote_cache=\"${bazel_remote_cache_url}\""
def command = "echo ${content} > ${filePath}"
status = bat(returnStatus: true, script: command)
if ( status != 0) {
println "Failed to set up bazel remote cache for Windows"
return
}
command = "cat ${filePath}"
status = bat(returnStatus: true, script: command)
if ( status != 0) {
println "Failed to read file"
return
}
def windows = load 'ci/loadWin.groovy'
if (windows != null) {
try {
Expand Down
2 changes: 1 addition & 1 deletion src/server.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ static void logConfig(const Config& config) {
SPDLOG_DEBUG("log level: {}", config.logLevel());
SPDLOG_DEBUG("log path: {}", config.logPath());
SPDLOG_DEBUG("file system poll wait milliseconds: {}", config.filesystemPollWaitMilliseconds());
SPDLOG_DEBUG("sequence cleaner poll wait minutes: {}", config.sequenceCleanerPollWaitMinutes());
SPDLOG_DEBUG("sequence sequence cleaner poll wait minutes: {}", config.sequenceCleanerPollWaitMinutes());
}

static void onInterrupt(int status) {
Expand Down