Mpho raf 33af88016a
All checks were successful
ci-tests/environmentvars-test/pipeline/head This commit looks good
fixed a curl to some url
2021-02-02 15:31:36 +02:00
2021-02-02 15:31:36 +02:00
2021-02-01 14:36:11 +02:00
2021-02-02 15:31:36 +02:00

environmentvars-test

Environmentvars-test To test all available environment variables for jenkins

Declared pipeline - easy and default

This is the default and jenkins prefared pipeline:

pipeline {
    agent { docker { image 'golang:1.15-alpine'
        args '-e XDG_CACHE_HOME="/tmp" -e CGO_ENABLED=0 -e GOCACHE="/tmp/.cache"'}
    }
    // your pipeline
}

Scripted pipeline

Always starts with node. Requires the Docker Pipeline plugin to be installed:

node {
    docker.image('golang:1.15-alpine').inside('-e XDG_CACHE_HOME="/tmp" -e CGO_ENABLED=0 -e GOCACHE="/tmp/.cache"') {
        // your pipeline
    }
}

More info from github jenkins

pipeline-examples

Description
Environmentvars-test To test all available environment for jenkins
Readme 27 KiB