This project contains code for a Jenkins plugin that integrates with Catalogic Software's ECX product.
Before you prepare for Publishing the plugin into the marketplace make sure you follow the following steps:
-
The github account should be configured for ssh access. More details can be found at https://help.github.com/articles/generating-an-ssh-key/
-
Create a file called "settings.xml" in your home directory (say, /home/user/settings.xml). The contents of the file are as follows:
<settings>
<pluginGroups>
<pluginGroup>org.jenkins-ci.tools</pluginGroup>
</pluginGroups>
<servers>
<server>
<id>maven.jenkins-ci.org</id> <!- For parent 1.397 or newer; before this use id java.net-m2-repository ->
<username>USERNAME</username>
<password>PASSWORD</password>
</server>
</servers>
<profiles>
<!- Give access to Jenkins plugins ->
<profile>
<id>jenkins</id>
<activation>
<activeByDefault>true</activeByDefault> <!- change this to false, if you don't like to have it on per default ->
</activation>
<repositories>
<repository>
<id>repo.jenkins-ci.org</id>
<url>https://repo.jenkins-ci.org/public/</url>
</repository>
</repositories>
<pluginRepositories>
<pluginRepository>
<id>repo.jenkins-ci.org</id>
<url>https://repo.jenkins-ci.org/public/</url>
</pluginRepository>
</pluginRepositories>
</profile>
</profiles>
<mirrors>
<mirror>
<id>repo.jenkins-ci.org</id>
<url>https://repo.jenkins-ci.org/public/</url>
<mirrorOf>m.g.o-public</mirrorOf>
</mirror>
</mirrors>
</settings>
-
Make sure you have logged into https://repo.jenkins-ci.org/ atleast once.
-
Replace "USERNAME" with your Jenkins Jira username and "PASSWORD" with the Jenkins Jira password (in encypted format). To get the encrypted password follow these steps:
- Login at https://repo.jenkins-ci.org/webapp/#/login with jenkins-ci.org account
- Go to https://repo.jenkins-ci.org/webapp/#/profile
- Unlock "Current Password"
- Add the "Encrypted Password" to your settings.xml file
-
Finally, run the following command to release the plugin.
$ mvn -X -s /home/user/settings.xml release:prepare release:perform