Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FIX 2019 #2

Open
wants to merge 10 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -34,13 +34,16 @@
<props:multilineProperty name="uploadSettings" linkTitle="Artifact Upload Parameters" cols="49" rows="5" className="longField" />
<span class="error" id="error_uploadSettings"></span>
<span class="smallNote">
Specify as upload_post_name=&lt;string&gt; for a fixed value or upload_post_name=@&lt;artifact_path&gt;

For example:
<pre>
npm.tag=My Special Tag
[email protected]
</pre>
For example for RAW:
<br><br>
raw.directory=TC_plugin/
<br>
raw.asset1=@target/nexus-push-plugin.zip
<br>
raw.asset1.filename=nexus-push-plugin.zip
<br>
<br><br>
<a href ="https://help.sonatype.com/repomanager3/rest-and-integration-api/components-api">More example in doc REST NEXUS</a>
</span>
</td>
</tr>
Expand Down
6 changes: 3 additions & 3 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,13 @@
<repositories>
<repository>
<id>JetBrains</id>
<url>http://repository.jetbrains.com/all</url>
<url>https://download.jetbrains.com/teamcity-repository</url>
</repository>
</repositories>
<pluginRepositories>
<pluginRepository>
<id>JetBrains</id>
<url>http://repository.jetbrains.com/all</url>
<url>https://download.jetbrains.com/teamcity-repository</url>
</pluginRepository>
</pluginRepositories>
<build>
Expand Down Expand Up @@ -48,4 +48,4 @@
<module>nexus-push-plugin-server</module>
<module>build</module>
</modules>
</project>
</project>
13 changes: 13 additions & 0 deletions readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,16 @@ TeamCity plugin to push artifacts to Nexus. Supports automatically cleaning up
To install the plugin, put zip archive to 'plugins' dir under TeamCity data directory and restart the server.


3. Config
In TeamCity - (Administration/Nexus Servers) press "Create new Nexus Server configuration" and enter your Nexus server url, login. password

4. Use
In TeamСity - Оpen your Edit Configuration Settings in your project in section Build Features press (Add build feature) and select "Nexus artifact publisher"
Repository ID - Set your Repository name in Nexus sever
Artifact Upload Parameters - Set your artifact param:
----------------EXAMPLE------------------------
raw.directory=TC_plugin/
raw.asset1=@target/nexus-push-plugin.zip
raw.asset1.filename=nexus-push-plugin.zip
-------------------END--------------------------
More config read: https://help.sonatype.com/repomanager3/rest-and-integration-api/components-api