Skip to content

Instantly share code, notes, and snippets.

Avatar
🇧🇪

Olivier Vernin olblak

🇧🇪
View GitHub Profile
View gist:ab0c304976b8afac142a877ade2c9775
AzureVMAgentSSHLauncher: getRemoteSession: Got exception while connecting to remote host ubuntu-jenkinsinfra207600.eastus2.cloudapp.azure.com:22
com.jcraft.jsch.JSchException: Auth fail
at com.jcraft.jsch.Session.connect(Session.java:512)
at com.jcraft.jsch.Session.connect(Session.java:183)
at com.microsoft.azure.vmagent.remote.AzureVMAgentSSHLauncher.getRemoteSession(AzureVMAgentSSHLauncher.java:307)
at com.microsoft.azure.vmagent.remote.AzureVMAgentSSHLauncher.connectToSsh(AzureVMAgentSSHLauncher.java:465)
at com.microsoft.azure.vmagent.remote.AzureVMAgentSSHLauncher.launch(AzureVMAgentSSHLauncher.java:115)
at hudson.slaves.SlaveComputer.lambda$_connect$0(SlaveComputer.java:294)
at jenkins.util.ContextResettingExecutorService$2.call(ContextResettingExecutorService.java:46)
at jenkins.security.ImpersonatingExecutorService$2.call(ImpersonatingExecutorService.java:80)
View gist:cb218c8896e6a6997c578f9845a6f5e6
---
title: "[golang base image] Bump version"
sources:
getGolangVersion:
kind: githubRelease
name: Get the latest Golang version
transformers:
- trimPrefix: "go"
spec:
owner: "golang"
@olblak
olblak / gist:6177209f5f63b26a90a5eca9b5e9c60b
Last active Mar 18, 2021
Various Download stats 2021-03-17
View gist:6177209f5f63b26a90a5eca9b5e9c60b
Debian-stable
https://get.jenkins.io/debian-stable/jenkins_2.277.1_all.deb?stats
{
"Today": 3001,
"Month": 69125,
"Year": 69125,
"Total": 69125
}
Redhat-stable
https://get.jenkins.io/redhat-stable/jenkins-2.277.1-1.1.noarch.rpm?stats
View gist:db627bd25e5179e54688e59f67d6fd0c
#!/usr/bin/env groovy
/* Delete online nodes matching a pattern */
Jenkins.instance.computers.each { c ->
/*
* Delete all offline nodes
*/
if (c.isOffline()) {
View gist:9c89d2312dd96f245c948ea9eb6a1214
This release is a weekly release using the security process
jenkinsci-cert/jenkins
create branch `security-weekly-2.444` using code from jenkinsci/jenkins:master
jenkinsci/packaging
create branch `security-weekly-2.444` based from https://github.com/jenkinsci/packaging/tree/INFRA-910-core-release-automation
jenkins-infra/release
create branch `security-weekly-2.444`
View gist:8ea8aaa281c2bb4d6c7ab2496cc20285
[INFO] [ERROR] testPrefetch(hudson.remoting.PrefetchTest) Time elapsed: 0.011 s <<< ERROR!
[INFO] java.nio.file.FileAlreadyExistsException: /tmp/resource-6991344115462095077
[INFO] at sun.nio.fs.UnixException.translateToIOException(UnixException.java:88)
[INFO] at sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:102)
[INFO] at sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:107)
[INFO] at sun.nio.fs.UnixFileSystemProvider.newByteChannel(UnixFileSystemProvider.java:214)
[INFO] at java.nio.file.Files.newByteChannel(Files.java:361)
[INFO] at java.nio.file.Files.createFile(Files.java:632)
[INFO] at hudson.remoting.Util.makeResource(Util.java:70)
[INFO] at hudson.remoting.RemoteClassLoader.prefetch(RemoteClassLoader.java:572)
View gist:2ba8dd8f6160ce3ab3562bc3efa9f3f8
PS C:\home\jenkins\agent\workspace\core_package_master\release> ls HKLM:\SOFTWARE\Microsoft\MSBuild\ToolsVersions\
Hive: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\MSBuild\ToolsVersions
Name Property
---- --------
2.0 MSBuildToolsPath : C:\Windows\Microsoft.NET\Framework64\v2.0.50727\
3.5 MSBuildToolsPath : C:\Windows\Microsoft.NET\Framework64\v3.5\
View gist:38dba133c209228ba9d8811ccbfe2513
Country Name: US
State: DE
Locality: /
Organization: CDF Binary Project a Series of LF Projects, LLC
Organization Unit: Jenkins Project
Common Name: Jenkins
View gist:9f560a5fabc9b83279557fddc0388d99
-24 14:02:18.525+0000 [id=214] INFO h.r.SynchronousCommandTransport$ReaderThread#run: I/O error in channel EC2 (aws) - Ubuntu 18.04 LTS (i-05c43effc4df29b6f)
java.io.EOFException
at java.base/java.io.ObjectInputStream$PeekInputStream.readFully(ObjectInputStream.java:2818)
at java.base/java.io.ObjectInputStream$BlockDataInputStream.readShort(ObjectInputStream.java:3313)
at java.base/java.io.ObjectInputStream.readStreamHeader(ObjectInputStream.java:907)
at java.base/java.io.ObjectInputStream.<init>(ObjectInputStream.java:350)
at hudson.remoting.ObjectInputStreamEx.<init>(ObjectInputStreamEx.java:49)
at hudson.remoting.Command.readFrom(Command.java:140)
at hudson.remoting.Command.readFrom(Command.java:126)
at hudson.remoting.AbstractSynchronousByteArrayCommandTransport.read(AbstractSynchronousByteArrayCommandTransport.java:35)
View gist:3a48f6c663de43cd0e24fe25f9a559c6
Password not available yet.
Please wait at least 4 minutes after launching an instance before trying to retrieve the auto-generated password.
Note: Passwords are generated during the launch of Amazon Windows AMIs or custom AMIs that have been configured to enable this feature. Instances launched from a custom AMI without this feature enabled use the username and password of the AMI's parent instance.