diff options
| author | Carlos Konstanski <ckonstanski@pippiandcarlos.com> | 2017-10-27 17:00:37 -0600 |
|---|---|---|
| committer | Carlos Konstanski <ckonstanski@pippiandcarlos.com> | 2017-10-27 17:00:37 -0600 |
| commit | d4cb0069e866a5b14c8387080c88a635130793bc (patch) | |
| tree | 3206b6eb899ce6da05103ec33350692aa8e33ad0 /jjb | |
| parent | fcc50ee03d250f7ff8fb7b1e47e484d09d6fb727 (diff) | |
jenkins scripting
Diffstat (limited to 'jjb')
| -rw-r--r-- | jjb/.gitignore | 3 | ||||
| -rw-r--r-- | jjb/example.ini | 13 | ||||
| -rw-r--r-- | jjb/requirements.txt | 1 | ||||
| -rwxr-xr-x | jjb/run.sh | 9 | ||||
| -rw-r--r-- | jjb/yaml/image-foundry.yaml | 25 |
5 files changed, 0 insertions, 51 deletions
diff --git a/jjb/.gitignore b/jjb/.gitignore deleted file mode 100644 index bdcf3b6..0000000 --- a/jjb/.gitignore +++ /dev/null @@ -1,3 +0,0 @@ -pippiandcarlos.com.ini -verizoncloudplatform.com.ini -venv diff --git a/jjb/example.ini b/jjb/example.ini deleted file mode 100644 index d87a962..0000000 --- a/jjb/example.ini +++ /dev/null @@ -1,13 +0,0 @@ -[job_builder] -ignore_cache=True -keep_descriptions=False -include_path=.:scripts:~/git/ -recursive=False -exclude=.*:manual:./development -allow_duplicates=False - -[jenkins] -user=my_username -password=my_jenkins_api_key -url=http://jenkins.tld/ -query_plugins_info=False diff --git a/jjb/requirements.txt b/jjb/requirements.txt deleted file mode 100644 index 1d847f4..0000000 --- a/jjb/requirements.txt +++ /dev/null @@ -1 +0,0 @@ -jenkins-job-builder>=2.0.0.0b2 diff --git a/jjb/run.sh b/jjb/run.sh deleted file mode 100755 index 34962f5..0000000 --- a/jjb/run.sh +++ /dev/null @@ -1,9 +0,0 @@ -#!/bin/bash - -ini="${1}" - -virtualenv venv -. venv/bin/activate -venv/bin/pip install --upgrade -r requirements.txt - -jenkins-jobs --conf "${ini}" update --delete-old yaml/ diff --git a/jjb/yaml/image-foundry.yaml b/jjb/yaml/image-foundry.yaml deleted file mode 100644 index 05b484d..0000000 --- a/jjb/yaml/image-foundry.yaml +++ /dev/null @@ -1,25 +0,0 @@ ---- -- job: - name: image-foundry - project-type: pipeline - dsl: | - pipeline { - agent { - node { - label "image_foundry" - } - } - stages { - stage("checkout-elements") { - steps { - git(poll: true, branch: "master", url: "git@github.vcp.vzwnet.com:konstca/image-foundry-vzw.git") - } - } - stage("diskimage-builder") { - steps { - git(poll: true, branch: "master", url: "git@github.vcp.vzwnet.com:konstca/image-foundry.git") - sh(script: "./ci-script.sh") - } - } - } - } |
