Skip to content
Open
Changes from all commits
Commits
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
10 changes: 8 additions & 2 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ pipeline {
}
environment {
//these will be used throughout the Pipeline
DOCKER_HUB_USER = 'beedemo'
DOCKER_CREDENTIAL_ID = 'docker-hub-beedemo'
DOCKER_HUB_USER = 'jamesohara123'
DOCKER_CREDENTIAL_ID = 'docker-joh'
//will shorten sh step for frist two stages, but require stage level environment variables to override
COMPOSE_FILE = 'docker-compose-test.yml'
}
Expand Down Expand Up @@ -104,5 +104,11 @@ pipeline {
always {
sh "docker-compose -f docker-compose-test-local.yml down"
}
success {
slackSend(color: "good", message: "${env.JOB_NAME} completed successfully, details at ${env.RUN_DISPLAY_URL}")
}
failure {
slackSend(color: "danger", message: "${env.JOB_NAME} bollocksed, details at ${env.RUN_DISPLAY_URL}")
}
}
}