mirror of
https://github.com/ZeroTier/ZeroTierOne
synced 2025-08-21 05:43:59 -07:00
Add docker configs for multi arch jenkins builds
This commit is contained in:
parent
23d5a972ba
commit
f6f4fba90e
20 changed files with 433 additions and 0 deletions
13
dockerbuild/pipelint.sh
Normal file
13
dockerbuild/pipelint.sh
Normal file
|
@ -0,0 +1,13 @@
|
|||
# curl (REST API)
|
||||
# User
|
||||
JENKINS_USER=grant
|
||||
|
||||
# Api key from "/me/configure" on my Jenkins instance
|
||||
JENKINS_USER_KEY=11edf2d49321321119712c46c6349eaad7
|
||||
|
||||
# Url for my local Jenkins instance.
|
||||
JENKINS_URL=http://$JENKINS_USER:$JENKINS_USER_KEY@jenkins.int.zerotier.com
|
||||
|
||||
# JENKINS_CRUMB is needed if your Jenkins master has CRSF protection enabled (which it should)
|
||||
JENKINS_CRUMB=`curl "$JENKINS_URL/crumbIssuer/api/xml?xpath=concat(//crumbRequestField,\":\",//crumb)"`
|
||||
curl -X POST -H $JENKINS_CRUMB -F "jenkinsfile=<Jenkinsfile" $JENKINS_URL/pipeline-model-converter/validate
|
Loading…
Add table
Add a link
Reference in a new issue