aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Sokolovsky <paul.sokolovsky@linaro.org>2015-05-11 19:36:34 +0300
committerPaul Sokolovsky <paul.sokolovsky@linaro.org>2015-05-11 19:36:34 +0300
commit4842624d20924020969995a526663bf8b1c1deec (patch)
treec2b19c4a4c48df556fb7a4fc24c5f5f1b5c16055
parent11f165401e4b4a942abe85c9053c673f8cacdeb5 (diff)
downloadjenkins-plugin-linaro-pubapi-4842624d20924020969995a526663bf8b1c1deec.tar.gz
Change default credentials ID to "snapshots.linaro.org".
Per new conventions where ID == host name. Change-Id: Ie2e20cb8fe1d35118da63006c95eea05e03f1b72
-rw-r--r--pom.xml2
-rw-r--r--src/main/java/linaro/pubapi/LinaroPubAPIKey.java2
2 files changed, 2 insertions, 2 deletions
diff --git a/pom.xml b/pom.xml
index 6f87b89..7d0e29c 100644
--- a/pom.xml
+++ b/pom.xml
@@ -10,7 +10,7 @@
<artifactId>linaro-pubapi</artifactId>
<packaging>hpi</packaging>
<name>Linaro Publishing API Token Plugin</name>
- <version>1.2</version>
+ <version>1.2.1</version>
<url>https://wiki.jenkins-ci.org/display/JENKINS/Plugins</url>
<repositories>
diff --git a/src/main/java/linaro/pubapi/LinaroPubAPIKey.java b/src/main/java/linaro/pubapi/LinaroPubAPIKey.java
index d77525d..45d5fbd 100644
--- a/src/main/java/linaro/pubapi/LinaroPubAPIKey.java
+++ b/src/main/java/linaro/pubapi/LinaroPubAPIKey.java
@@ -120,7 +120,7 @@ public class LinaroPubAPIKey extends Builder {
HttpClient client = new HttpClient();
if (credentialsId == null) {
- credentialsId = "pubapi-snapshots.linaro.org";
+ credentialsId = "snapshots.linaro.org";
}
StandardUsernamePasswordCredentials cred = lookupSystemCredentials(credentialsId);