jenkins_url
+ /api/json?tree=jobs[name,color]
jenkins_url
+ /job/${job_name}/api/json?tree=builds[number,status,timestamp,id,result]
#!/usr/bin/env python2 | |
import SimpleHTTPServer | |
import SocketServer | |
import logging | |
PORT = 8000 | |
class GetHandler(SimpleHTTPServer.SimpleHTTPRequestHandler): |
// Copyright 2016 Jeremie Miserez <[email protected]> | |
// | |
// MIT License | |
// Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: | |
// The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. | |
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF O |
# check if job exists | |
curl -XGET 'http://jenkins/checkJobName?value=yourJobFolderName' --user user.name:YourAPIToken | |
# with folder plugin | |
curl -s -XPOST 'http://jenkins/job/FolderName/createItem?name=yourJobName' --data-binary @config.xml -H "Content-Type:text/xml" --user user.name:YourAPIToken | |
# without folder plugin | |
curl -s -XPOST 'http://jenkins/createItem?name=yourJobName' --data-binary @config.xml -H "Content-Type:text/xml" --user user.name:YourAPIToken | |
# create folder |
$ keytool -changealias -keystore MY_KEYSTORE_2.jks -alias XXX-XXX-XXX-XXX-XXX -destalias MY_ALIAS |
<profiles> | |
<profile> | |
<id>sonar</id> | |
<properties> | |
<sonar.jdbc.url>jdbc:mysql://localhost:3306/sonar</sonar.jdbc.url> | |
<sonar.jdbc.driver>com.mysql.jdbc.Driver</sonar.jdbc.driver> | |
<sonar.jdbc.username>sonar</sonar.jdbc.username> | |
<sonar.jdbc.password>xxxxx</sonar.jdbc.password> | |
<!-- SERVER ON A REMOTE HOST --> | |
<sonar.host.url>http://localhost:9000</sonar.host.url> |
<html lang="en"> | |
<head> | |
<title> | |
title of the page | |
</title> | |
<link rel="stylesheet" type="text/css" href="/stylesheets/style.css"> | |
</head> | |
<body> | |
<h1> | |
title of the post |
<dependency> | |
<groupId>com.ibm</groupId> | |
<artifactId>com.ibm.mqjms</artifactId> | |
<version>${webSphereMQVersion}</version> | |
</dependency> | |
<dependency> | |
<groupId>com.ibm</groupId> | |
<artifactId>com.ibm.mq.jmqi</artifactId> | |
<version>${webSphereMQVersion}</version> | |
</dependency> |