##// END OF EJS Templates
Final version plus some cleaning...
jeandet -
r2:fbb8b7d9e310 master
parent child
Show More
1 NO CONTENT: new file 100644, binary diff hidden
NO CONTENT: new file 100644, binary diff hidden
@@ -2,19 +2,20
2 "cells": [
2 "cells": [
3 {
3 {
4 "cell_type": "code",
4 "cell_type": "code",
5 "execution_count": 21,
5 "execution_count": 1,
6 "metadata": {
6 "metadata": {
7 "ExecuteTime": {
7 "ExecuteTime": {
8 "end_time": "2018-01-09T08:09:49.457463Z",
8 "end_time": "2018-01-10T22:15:31.021568Z",
9 "start_time": "2018-01-09T08:09:49.451783Z"
9 "start_time": "2018-01-10T22:15:31.010972Z"
10 },
10 },
11 "init_cell": true
11 "init_cell": true
12 },
12 },
13 "outputs": [],
13 "outputs": [],
14 "source": [
14 "source": [
15 "from traitlets.config.manager import BaseJSONConfigManager\n",
15 "from traitlets.config.manager import BaseJSONConfigManager\n",
16 "from traitlets.config.manager import BaseJSONConfigManager\n",
16 "from os.path import expanduser\n",
17 "path = \"/home/jeandet/.jupyter/nbconfig\"\n",
17 "home = expanduser(\"~\")\n",
18 "path = home+\"/.jupyter/nbconfig\"\n",
18 "cm = BaseJSONConfigManager(config_dir=path)\n",
19 "cm = BaseJSONConfigManager(config_dir=path)\n",
19 "cm.update(\"livereveal\", {\n",
20 "cm.update(\"livereveal\", {\n",
20 " \"theme\": \"solarized\",\n",
21 " \"theme\": \"solarized\",\n",
@@ -33,9 +34,24
33 "source": [
34 "source": [
34 "# TeamCity\n",
35 "# TeamCity\n",
35 "\n",
36 "\n",
37 "<div>\n",
36 "<center>\n",
38 "<center>\n",
37 "<img src=\"resources/teamcity-logo.svg\" width=\"300px\" align=\"center\">\n",
39 "<img src=\"resources/teamcity-logo.png\" width=\"300px\" align=\"center\">\n",
38 "</center>"
40 "</center>\n",
41 "</div>\n",
42 "\n",
43 "\n",
44 "\n",
45 "<p align=\"center\">\n",
46 " <b>Alexis Jeandet <alexis.jeandet@lpp.polytechnique.fr>:</b><br>\n",
47 " <a href=\"https://github.com/jeandet\">Github:jeandet</a> |\n",
48 " <a href=\"https://gitter.im/jeandet\">Gitter:jeandet</a> |\n",
49 " <a href=\"https://freenode.net/\">IRC@freenode:jeandet</a>\n",
50 " <br>\n",
51 "</p>\n",
52 "\n",
53 "\n",
54 "\n"
39 ]
55 ]
40 },
56 },
41 {
57 {
@@ -46,7 +62,7
46 }
62 }
47 },
63 },
48 "source": [
64 "source": [
49 "# TC Overview\n",
65 "# TC quick overview\n",
50 "\n",
66 "\n",
51 "* A powerful distributed Continuous Integration tool\n",
67 "* A powerful distributed Continuous Integration tool\n",
52 "* Rich plugin ecosystem\n",
68 "* Rich plugin ecosystem\n",
@@ -127,7 +143,7
127 }
143 }
128 },
144 },
129 "source": [
145 "source": [
130 "* **VCS root**: <span style=\"color:blue\">a mostly a vcs URL + some options </span> ( [example](https://hephaistos.lpp.polytechnique.fr/teamcity/admin/editVcsRoot.html?action=editVcsRoot&vcsRootId=SciQLop_HttpsHephaistosLppPolytechniqueFrRhodecodeHgRepositoriesLppSciQLOPReposS&editingScope=buildType%3ASciQLop_UnitTests&cameFromUrl=%2Fteamcity%2Fadmin%2FeditBuildTypeVcsRoots.html%3Finit%3D1%26id%3DbuildType%253ASciQLop_UnitTests&cameFromTitle=Edit%20Build%20Configuration) )"
146 "* **VCS root**: <span style=\"color:blue\">a mostly a VCS URL + some options </span> ( [example](https://hephaistos.lpp.polytechnique.fr/teamcity/admin/editVcsRoot.html?action=editVcsRoot&vcsRootId=SciQLop_HttpsHephaistosLppPolytechniqueFrRhodecodeHgRepositoriesLppSciQLOPReposS&editingScope=buildType%3ASciQLop_UnitTests&cameFromUrl=%2Fteamcity%2Fadmin%2FeditBuildTypeVcsRoots.html%3Finit%3D1%26id%3DbuildType%253ASciQLop_UnitTests&cameFromTitle=Edit%20Build%20Configuration) )"
131 ]
147 ]
132 },
148 },
133 {
149 {
@@ -375,19 +391,36
375 },
391 },
376 {
392 {
377 "cell_type": "code",
393 "cell_type": "code",
378 "execution_count": 31,
394 "execution_count": 38,
379 "metadata": {
395 "metadata": {
380 "ExecuteTime": {
396 "ExecuteTime": {
381 "end_time": "2018-01-09T08:37:54.802150Z",
397 "end_time": "2018-01-10T22:12:48.694242Z",
382 "start_time": "2018-01-09T08:37:54.793474Z"
398 "start_time": "2018-01-10T22:12:48.466252Z"
383 },
399 },
384 "slideshow": {
400 "slideshow": {
385 "slide_type": "slide"
401 "slide_type": "slide"
386 }
402 }
387 },
403 },
388 "outputs": [],
404 "outputs": [
405 {
406 "name": "stdout",
407 "output_type": "stream",
408 "text": [
409 "{\n",
410 " \"id\": \"_Root\",\n",
411 " \"name\": \"<Root project>\",\n",
412 " \"description\": \"Contains all other projects\",\n",
413 " \"href\": \"/app/rest/projects/id:_Root\",\n",
414 " \"webUrl\": \"https://hephaistos.lpp.polytechnique.fr/teamcity/project.html?projectId=_Root\"\n",
415 "}\n"
416 ]
417 }
418 ],
389 "source": [
419 "source": [
390 "import teamcity\n"
420 "import teamcity\n",
421 "import json\n",
422 "\n",
423 "print(json.dumps(teamcity.tc.projects()[0].__dict__, indent=1))"
391 ]
424 ]
392 },
425 },
393 {
426 {
@@ -416,13 +449,6
416 "source": [
449 "source": [
417 "# Questions?\n"
450 "# Questions?\n"
418 ]
451 ]
419 },
420 {
421 "cell_type": "code",
422 "execution_count": null,
423 "metadata": {},
424 "outputs": [],
425 "source": []
426 }
452 }
427 ],
453 ],
428 "metadata": {
454 "metadata": {
1 NO CONTENT: file was removed
NO CONTENT: file was removed
General Comments 0
You need to be logged in to leave comments. Login now