aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJan-Simon Möller <dl9pf@gmx.de>2017-06-08 22:37:03 +0200
committerJan-Simon Möller <dl9pf@gmx.de>2017-06-08 22:39:59 +0200
commitf14b3c4e59dc22badb662e5f82d4ed20289958ca (patch)
treecaf0e9e2b6856621cdcc6b4109085218be7fd3a6
parent32a13c265f1a1f6dba19ac9b264772accda222e0 (diff)
Add helloworld
Change-Id: Ib5de6df9f58742cfd82d93418a88a56726197c06 Signed-off-by: Jan-Simon Möller <dl9pf@gmx.de>
-rw-r--r--README.md14
-rw-r--r--jenkins.ini.example7
-rw-r--r--jjb/testme/testme.yaml21
3 files changed, 39 insertions, 3 deletions
diff --git a/README.md b/README.md
index c84a70b..549b8ed 100644
--- a/README.md
+++ b/README.md
@@ -1 +1,15 @@
AGL CI-MANAGEMENT SANDBOX
+
+Quickstart:
+- cp jenkins.ini.example jenkins.ini
+- insert credentials to jenkins.ini
+- install 'jenkins-jobs' (e.g. with pip)
+- exec:
+# test if jenkins-jobs works:
+jenkins-jobs test -r jjb/ "*testme*"
+# push to sandbox jenkins:
+jenkins-jobs --conf jenkins.ini update -r jjb/ "*testme*"
+
+
+Normal operation:
+We try to push the ci-management job and let it populate things through gerrit reviews.
diff --git a/jenkins.ini.example b/jenkins.ini.example
index c8486f8..e8f8b3c 100644
--- a/jenkins.ini.example
+++ b/jenkins.ini.example
@@ -5,8 +5,9 @@ include_path=.:scripts:~/git/
recursive=True
[jenkins]
-#user=jenkins
-#password=1234567890abcdef1234567890abcdef
-url=http://localhost:8080
+user=fooobaaar
+#password=xxxxxxxxxxxyyyyyyyyyyyyzzzzzzzzzz
+url=https://build.automotivelinux.org/sandbox
##### This is deprecated, use job_builder section instead
#ignore_cache=True
+query_plugins_info=False
diff --git a/jjb/testme/testme.yaml b/jjb/testme/testme.yaml
new file mode 100644
index 0000000..8045f43
--- /dev/null
+++ b/jjb/testme/testme.yaml
@@ -0,0 +1,21 @@
+---
+- project:
+ name: sandbox-testme
+ jobs:
+ - 'sandbox-testme-job'
+ project: 'sandbox-testme-project'
+ branch: master
+
+- job-template:
+ name: sandbox-testme-job
+ project-type: freestyle
+ node: master
+ concurrent: true
+ parameters:
+ - agl-infra-parameters:
+ project: '{project}'
+ branch: 'master'
+ refspec: 'refs/heads/master'
+ builders:
+ - shell: |
+ echo "helloworld"