Loading
Loading...
7
Testing...
${
}
1
5
2
https://github.com/eclipse-tracecompass/org.eclipse.tracecompass.git
origin
+refs/heads/*:refs/remotes/origin/*
*/master
master
JENKINS_URL
TOKEN_NAME
0 0 * * 0
Jenkins please retry a build
.*\[skip\W+ci\].*
H/5 * * * *
#!/bin/bash mvnCommand=/opt/tools/apache-maven/3.8.6/bin/mvn #mvnCommand=/opt/tools/apache-maven/latest/bin/mvn #cat ~/.m2/settings.xml #rm -f settings.xml #echo "<settings> \ # <proxies>\ # <proxy>\ # <id>proxy1</id>\ # <active>true</active>\ # <protocol>http</protocol>\ # <host>proxy.eclipse.org</host>\ # <port>9898</port>\ # </proxy>\ # <proxy>\ # <id>proxy2</id>\ # <active>true</active>\ # <protocol>https</protocol>\ # <host>proxy.eclipse.org</host>\ # <port>9898</port>\ # </proxy>\ # </proxies>\ #</settings>" > settings.xml ${mvnCommand} -version output=`${mvnCommand} versions:display-plugin-updates -U -Dmaven.repo.local=${WORKSPACE}/.maven/repo` #mvn -version #output=`mvn versions:display-plugin-updates -U -Dmaven.repo.local=${WORKSPACE}/.maven/repo -s settings.xml` echo "${output}" #filter only updates and show unique summary=`echo "${output}" | grep "\\->" | sort | uniq` echo -e "Summary:\n${summary}" #remove empty lines and count lines outdatedNb=`echo "${summary}" | sed '/^\s*$/d' | wc -l` echo Number of outdated plugins: "${outdatedNb}" exit ${outdatedNb}
bernd.hufmann@ericsson.com matthew.khouzam@ericsson.com patrick.tasse@gmail.com