This repository was archived by the owner on Apr 20, 2022. It is now read-only.

Description
When CI is setup in an internet-less environment, then tools or resources need to be pre-configured. For example, the cf cli is downloaded from the internet but would like to also be able to set it up as either a resource (Concourse) or a tool (Jenkins). In Jenkins I'm thinking it would be done like this using the declarative syntax:
pipeline {
agent any
tools {
cf 'cf-cli-6.29.1+d5129d651.2017-08-17'
}
stages {
stage('Example') {
steps {
sh 'cf -v'
}
}
}
}
Then, pipeline shell scripts would need to know or be told when something is preconfigured or needs to be downloaded.