Skip to content

Commit 7a3f103

Browse files
authored
ci:deps: bump eclipse-dash version to 1.1.1-SNAPSHOT / 1.1.0
Signed-off-by: Marc Nuri <[email protected]>
1 parent 37167ac commit 7a3f103

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

.jenkins/pipelines/dependencies.Jenkinsfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ pipeline {
1616
sh 'echo "Eclipse Dash Tool"'
1717
// Eclipse Dash tool retrieves dependencies from submodules which might need artifacts from previous modules
1818
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'
2020
}
2121
}
2222
}

scripts/eclipse-dash-tool.sh

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,15 +22,16 @@ REPOSITORY="https://repo.eclipse.org/content/repositories/dash-licenses/org/ecli
2222
TARGET_DIR="$PROJECT_ROOT/target"
2323
DEPENDENCY_LIST="$TARGET_DIR/dependencies.txt"
2424
TOOL_JAR="$TARGET_DIR/eclipse-dash.jar"
25+
VERSION="1.1.1-SNAPSHOT"
2526

2627
function downloadTool() {
2728
if [[ ! -f "$TOOL_JAR" ]]
2829
then
2930
if [[ -z "$ECLIPSE_DASH_VERSION" ]]
3031
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"
3435
else
3536
echo "Using provided Eclipse Dash version ($ECLIPSE_DASH_VERSION)"
3637
downloadUrl="${REPOSITORY}/${ECLIPSE_DASH_VERSION}/org.eclipse.dash.licenses-${ECLIPSE_DASH_VERSION}.jar"

0 commit comments

Comments
 (0)