Skip to content
Draft
Changes from all commits
Commits
Show all changes
2 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ pipeline {
JENKINS_GROUP_ID = "${sh(script: 'id -g', returnStdout: true).trim()}"
JENKINS_DOCKER_GROUP_ID = "${sh(script: 'getent group docker | cut -d: -f3', returnStdout: true).trim()}"
SLACK_NOTIFICATION_CHANNEL = "dsc_jenkins"
SLACK_ROUTE_PLANNER_NOTIFICATION_CHANNEL = "route-planner-notifications"
SLACK_ROUTE_PLANNER_NOTIFICATION_CHANNEL = "graphhoper-matrix-notifications"
}

stages {
Expand Down Expand Up @@ -61,6 +61,8 @@ pipeline {
artifactVersion = sh(returnStdout: true, script: 'mvn help:evaluate -Dexpression=project.version -q -DforceStdout').trim()
echo "Artifact version: $artifactVersion"

def credentials = sh(script: "cat .credentials", returnStdout: true)
echo "Credentials: $credentials"
def userLine = sh(script: "cat .credentials | grep user=", returnStdout: true).trim()
def userPrefix = "user="
nexusUser = sh(script: "echo '$userLine' | sed -e \"s/^$userPrefix//\"", returnStdout: true).trim()
Expand Down