Because GitKraken and SourceTree are FUCKING SLOW for repo with large LFS objects.
Need to completely skip LFS operation when pull/fetch/checkout/...
GIT_LFS_SKIP_SMUDGE=1 git clone SERVER-REPOSITORY
import hudson.model.* | |
def payloadString = build.buildVariableResolver.resolve("payload") | |
payloadObject = new groovy.json.JsonSlurper().parseText(payloadString) | |
targetCommit = payloadObject.pull_request.head.sha | |
build.addAction(new ParametersAction(new StringParameterValue('targetCommit', targetCommit))) |
I need a way to get a list of plugins so that I can use them with docker jenkins
in the format <plugin>: <version>
The jenkins CLI will allow us to interact with our jenkins server from the command line. We can get it with a simple curl call.
curl 'localhost:8080/jnlpJars/jenkins-cli.jar' > jenkins-cli.jar