forked from jenkinsci/docker-inbound-agents
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* feat: add Windows images (wip) Ref: jenkins-infra/helpdesk#2873 * debug: only interesting images * debug: pr lib * no container, we want a VM to build windows docker images * Update maven/jdk8/Dockerfile.nanoserver * Update Jenkinsfile_k8s * Update Jenkinsfile_k8s * Update Jenkinsfile_k8s * deprecated mainBranch arg * Update Jenkinsfile_k8s * add platform pipeline arg * add cst test & image * fix: global pipeline lib * fix new pr * slash in Windows paths for container-structure-test * fix paths * fix paths * Update common-cst-windows.yml * feat: add all images * no pwd test on windows * align entrypoint of Windows Server Core image ("pwsh.exe" VS "powershell.exe") * fix entrypoint
- Loading branch information
1 parent
bbee8ba
commit fa87a21
Showing
5 changed files
with
62 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
schemaVersion: 2.0.0 | ||
|
||
metadataTest: | ||
entrypoint: ["pwsh.exe", "-f", "C:/ProgramData/Jenkins/jenkins-agent.ps1"] | ||
|
||
fileExistenceTests: | ||
|
||
- name: 'Jenkins agent' | ||
path: 'C:/ProgramData/Jenkins/jenkins-agent.ps1' | ||
shouldExist: true | ||
isExecutableBy: 'any' | ||
- name: 'Jenkins agent jar file' | ||
path: 'C:/ProgramData/Jenkins/agent.jar' | ||
shouldExist: true | ||
- name: "Default user's home" | ||
path: 'C:/users/jenkins/' | ||
shouldExist: true | ||
- name: 'cmd' | ||
path: 'C:/Windows/System32/cmd.exe' | ||
shouldExist: true | ||
isExecutableBy: 'any' | ||
- name: 'Git' | ||
path: 'C:/mingit/mingw64/bin/git.exe' | ||
shouldExist: true | ||
isExecutableBy: 'any' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
# Use https://github.com/jenkinsci/jnlp-agents as base for now | ||
FROM jenkins/jnlp-agent-maven:windows-nanoserver-jdk11 AS jnlp |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
# Use https://github.com/jenkinsci/docker-inbound-agent as base for now | ||
FROM jenkins/inbound-agent:windowsservercore-1809 AS inbound-windows-server-core | ||
|
||
ENTRYPOINT ["pwsh.exe", "-f", "C:/ProgramData/Jenkins/jenkins-agent.ps1"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
# Use https://github.com/jenkinsci/jnlp-agents as base for now | ||
FROM jenkins/jnlp-agent-maven:windows-nanoserver AS jnlp |