We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b4b2ad6 commit a206ceaCopy full SHA for a206cea
1 file changed
Jenkinsfile
@@ -67,7 +67,7 @@ pipeline {
67
steps {
68
container('ci') {
69
sh '''
70
- MAVEN_VERSION=$(curl -sf "https://api.github.com/repos/apache/maven/releases/latest" | grep '"tag_name"' | sed 's/.*"maven-\([^"]*\)".*/\1/')
+ MAVEN_VERSION=$(curl -sf "https://api.github.com/repos/apache/maven/releases/latest" | grep '"tag_name"' | sed 's/.*"maven-\\([^"]*\\)".*/\\1/')
71
curl -o maven.tar.gz -L "https://dlcdn.apache.org/maven/maven-3/${MAVEN_VERSION}/binaries/apache-maven-${MAVEN_VERSION}-bin.tar.gz"
72
tar -xzf maven.tar.gz -C ${WORKSPACE}
73
rm -f maven.tar.gz
0 commit comments