Skip to content

Instantly share code, notes, and snippets.

View dduportal's full-sized avatar

Damien Duportal dduportal

View GitHub Profile
[2022-07-23T09:22:10.632Z] 2022-07-23T09:22:10Z: ==> azure-arm.ubuntu: Querying the machine's properties ...
[2022-07-23T09:22:10.632Z] 2022-07-23T09:22:10Z: ==> azure-arm.ubuntu: -> ResourceGroupName : 'pkr-Resource-Group-f9gh8uo14x'
[2022-07-23T09:22:10.632Z] 2022-07-23T09:22:10Z: ==> azure-arm.ubuntu: -> ComputeName : 'pkrvmf9gh8uo14x'
[2022-07-23T09:22:10.632Z] 2022-07-23T09:22:10Z: ==> azure-arm.ubuntu: -> Managed OS Disk : '/subscriptions/****/resourceGroups/pkr-Resource-Group-f9gh8uo14x/providers/Microsoft.Compute/disks/pkrosf9gh8uo14x'
[2022-07-23T09:22:10.632Z] 2022-07-23T09:22:10Z: ==> azure-arm.ubuntu: Querying the machine's additional disks properties ...
[2022-07-23T09:22:10.632Z] 2022-07-23T09:22:10Z: ==> azure-arm.ubuntu: -> ResourceGroupName : 'pkr-Resource-Group-f9gh8uo14x'
[2022-07-23T09:22:10.632Z] 2022-07-23T09:22:10Z: ==> azure-arm.ubuntu: -> ComputeName : 'pkrvmf9gh8uo14x'
[2022-07-23T09:22:10.632Z] 2022-07-23T09:22:10Z: ==> azure-arm.ubuntu: Powering off machine ...
[
command:
default_java:
exec: java --version
exit-status: 0
stdout:
- "11.0.20.1+1"
java8:
exec: C:\tools\jdk-8\bin\java.exe -version
exit-status: 0
stderr:
// Allow the Unix user 'dummy' to access Docker and return its UID
def dockerUserInit() {
sh '''
addgroup docker
usermod -aG docker dummy
chmod 666 /var/run/docker.sock
'''
sh(returnStdout: true, script: 'id -u dummy').trim()
}