File tree Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ pipeline {
16
16
sh ' echo "Eclipse Dash Tool"'
17
17
// Eclipse Dash tool retrieves dependencies from submodules which might need artifacts from previous modules
18
18
sh ' ./mvnw -V -B -e -DskipTests install'
19
- sh ' ECLIPSE_DASH_VERSION=1.0.2 ./scripts/eclipse-dash-tool.sh'
19
+ sh ' ECLIPSE_DASH_VERSION=1.1.0 ./scripts/eclipse-dash-tool.sh'
20
20
}
21
21
}
22
22
}
Original file line number Diff line number Diff line change @@ -22,15 +22,16 @@ REPOSITORY="https://repo.eclipse.org/content/repositories/dash-licenses/org/ecli
22
22
TARGET_DIR=" $PROJECT_ROOT /target"
23
23
DEPENDENCY_LIST=" $TARGET_DIR /dependencies.txt"
24
24
TOOL_JAR=" $TARGET_DIR /eclipse-dash.jar"
25
+ VERSION=" 1.1.1-SNAPSHOT"
25
26
26
27
function downloadTool() {
27
28
if [[ ! -f " $TOOL_JAR " ]]
28
29
then
29
30
if [[ -z " $ECLIPSE_DASH_VERSION " ]]
30
31
then
31
- echo " Getting latest Eclipse Dash 0.0.1-SNAPSHOT version"
32
- version =$( curl -s " ${REPOSITORY} /0.0.1-SNAPSHOT /maven-metadata.xml" | xpath -q -e " /metadata/versioning/snapshotVersions/snapshotVersion[extension='jar']/value/text()" )
33
- downloadUrl=" ${REPOSITORY} /0.0.1-SNAPSHOT /org.eclipse.dash.licenses-${version } .jar"
32
+ echo " Getting latest Eclipse Dash ${VERSION} version"
33
+ snapshotVersion =$( curl -s " ${REPOSITORY} /${VERSION} /maven-metadata.xml" | xpath -q -e " /metadata/versioning/snapshotVersions/snapshotVersion[extension='jar']/value/text()" )
34
+ downloadUrl=" ${REPOSITORY} /${VERSION} /org.eclipse.dash.licenses-${snapshotVersion } .jar"
34
35
else
35
36
echo " Using provided Eclipse Dash version ($ECLIPSE_DASH_VERSION )"
36
37
downloadUrl=" ${REPOSITORY} /${ECLIPSE_DASH_VERSION} /org.eclipse.dash.licenses-${ECLIPSE_DASH_VERSION} .jar"
You can’t perform that action at this time.
0 commit comments