Closed jglick closed 7 months ago
I'll try to test this today
Assuming you do not care to deal with a local Maven setup, the simplest way is to just use Plugin Manager » Advanced and install from the URL https://repo.jenkins-ci.org/incrementals/io/jenkins/docker/docker-plugin/1.6-rc1184.419d1ddd0e68/docker-plugin-1.6-rc1184.419d1ddd0e68.hpi (see the Incrementals check here).
Assuming you do not care to deal with a local Maven setup, the simplest way is to just use Plugin Manager » Advanced and install from the URL https://repo.jenkins-ci.org/incrementals/io/jenkins/docker/docker-plugin/1.6-rc1184.419d1ddd0e68/docker-plugin-1.6-rc1184.419d1ddd0e68.hpi (see the Incrementals check here).
Thanks, way faster than waiting an hour for maven to download the internet.
Your branch is working fine in my quick test (Jenkins 2.444). :tada:
Is there anything we should add to the documentation before we review this PR?
Tests that I performed to confirm the change is working as expected:
pipeline {
agent {
label 'alpine'
}
stages {
stage('Agent-Info') {
steps {
sh 'uname -a; cat /etc/os-release; java -version'
}
}
}
}
- latest-alpine3.19-jdk21
I've added c262ebb99c509a328697887e2dbd68af038e0085 to document a generic form of the configuration that I tested.
I verified that I see the null pointer exception without this change and that with this change the cloud operates as expected.
Fixes #1047. Or so I suppose. I could not get an actual agent to connect but that is I guess an artifact of trying to run this plugin from
hpi:run
, since I do not have access to a system whereby the Jenkins controller would be accessible from containers:Not sure if https://github.com/moby/moby/pull/40007 was supposed to fix this or what.