Skip to content

DockerBuilds - #170

Open
prestoncraw wants to merge 1 commit into
developmentfrom
DockerBuilds
Open

prestoncraw wants to merge 1 commit into
developmentfrom
DockerBuilds

Conversation

@prestoncraw

@prestoncraw prestoncraw commented Sep 24, 2026 •

Copy link
Copy Markdown
Contributor

Re-enable the PQBrowser Docker stage and run image builds over SSH to the CI server's WSL Docker instance. Convert the Jenkins workspace path to its Linux mount path and propagate build failures.

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot review overview

🟡 Changes recommended

The workspace path conversion prevents the remote Docker build from running.

Get a fresh assessment by requesting another Copilot review.

Review effort: Lite
Findings: 1 High severity

Open (1)
What changed in this PR

Re-enables PQBrowser Docker image builds through the CI server’s WSL Docker instance over SSH.

Changes:

  • Restores Docker publishing and image tagging.
  • Converts the Jenkins workspace to a WSL path.
  • Propagates remote build failures.
File Description
Jenkinsfile Implements Docker publishing and SSH-based WSL builds.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread Jenkinsfile
]) {
powershell '''
$key = 'C:\\ProgramData\\Jenkins\\.ssh\\wsl_docker'
$wslPath = '/mnt/' + $env:WORKSPACE.Substring(0, 1).ToLowerInvariant() + $env:WORKSPACE.Substring(2).Replace('\\', '/')

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not an issue. This is a Groovy ''' string, which still processes backslash escapes (it only disables $ interpolation). So the Jenkinsfile source:

.Replace('\\', '/')

reaches PowerShell as:

.Replace('\', '/')

which is a single literal backslash, and String.Replace is not regex. Result: /mnt/c/Jenkins/workspace/.... The existing dotnet publish line in this file relies on the same escaping.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants