Created
September 30, 2019 15:00
-
-
Save HokieGeek/3bf7d91cf8d2fa967f02e5ec815ec518 to your computer and use it in GitHub Desktop.
Ant task to run Nexus Lifecycle
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<property name="nexus-lifecycle-cli" | |
location="/path/to/nexus-iq-cli.jar"/> | |
<target name="lifecycle_evaluation"> | |
<exec executable="${nexus-lifecycle-cli}"> | |
<arg value="-s"/> | |
<arg value="http://IQSERVER_HOST:IQSERVER_PORT"/> | |
<arg value="-a"/> | |
<arg value="USERNAME:PASSWORD"/> | |
<arg value="-t"/> | |
<arg value="STAGE"/> | |
<arg value="-i"/> | |
<arg value="APPLICATION_ID"/> | |
<arg value="${basedir}"/> | |
</exec> | |
</target> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment