Skip to content

Instantly share code, notes, and snippets.

@HokieGeek
Created September 30, 2019 15:00
Show Gist options
  • Save HokieGeek/3bf7d91cf8d2fa967f02e5ec815ec518 to your computer and use it in GitHub Desktop.
Save HokieGeek/3bf7d91cf8d2fa967f02e5ec815ec518 to your computer and use it in GitHub Desktop.
Ant task to run Nexus Lifecycle
<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