I need a bash script which download latest version of the war (either snapshot or release ) file nexus repository in tomcat
Please find me script. Need experts help
server="http://localhost:8081/nexus/content/repositories"
repo="snapshots"
name="org/continuous/Integration"
artifact="Continuous-Integration"
path=$server/$repo/$name/$artifact
mvnMetadata=$(curl -s "$path/maven-metadata.xml")
Please find the nexus repository Image: