[Qa-jenkins-scm] [Git][qa/jenkins.debian.net][master] starting migration to jerea.debian.org slowly

Holger Levsen gitlab at salsa.debian.org
Wed Sep 12 16:57:26 BST 2018


Holger Levsen pushed to branch master at Debian QA / jenkins.debian.net


Commits:
2749073d by Holger Levsen at 2018-09-12T15:57:17Z
starting migration to jerea.debian.org slowly

Signed-off-by: Holger Levsen <holger at layer-acht.org>

- - - - -


1 changed file:

- + TODO-jerea-migration


Changes:

=====================================
TODO-jerea-migration
=====================================
@@ -0,0 +1,20 @@
+some ad-hoc notes which should be moved elsewhere or deleted
+------------------------------------------------------------
+
+* /var/lib/jenkins/init.groovy has been manually deployed
+* plain http login should work by going to
+  https://jenkins.debian.org/http-auth-jenkins/ but currently it doesn't.
+  auth should be configured in /srv/jenkins.debian.org/etc/htdigest (NOTE:
+  passwords here have NOTHING to do with the ones in jenkins itself).  Currently
+  this is disabled by renaming the htdigest file
+* jjb authenticate itself using an API token, which can be reset by going to
+  https://jenkins.debian.org/user/jenkins-job-builder/configure and hitting
+  "Change API token".  To get the API token run the following groovy script:
+    import jenkins.security.*
+    User u = User.get("jenkins-job-builder")
+    ApiTokenProperty t = u.getProperty(ApiTokenProperty.class)
+    def token = t.getApiTokenInsecure()
+    println("token is $token")
+* run the script via manage → script console; aka https://jenkins.debian.org/script
+* jjb configuration is kept in /srv/jenkins.debian.org/etc/jjb.ini, so to run it:
+    sudo -u jenkins-adm jenkins-jobs --conf ~jenkins/etc/jjb.ini …



View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/commit/2749073d1dc1e0ede46743aaa6188069942d324b

-- 
View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/commit/2749073d1dc1e0ede46743aaa6188069942d324b
You're receiving this email because of your account on salsa.debian.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/qa-jenkins-scm/attachments/20180912/ef4b4cb5/attachment-0001.html>


More information about the Qa-jenkins-scm mailing list