Skip to content

Commit

Permalink
migrate to jenkins pipeline (via #109)
Browse files Browse the repository at this point in the history
  • Loading branch information
eroshenkoam committed May 7, 2017
1 parent 650c841 commit 4bc3753
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions Jenkinsfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
pipeline {
agent {
label 'java'
}
tools {
maven 'default'
}

stages {
stage("Build") {
steps {
sh 'mvn -Dmaven.test.failure.ignore=true clean install'
}
}
}
post {
always {
deleteDir()
}

failure {
slackSend message: "${env.JOB_NAME} - #${env.BUILD_NUMBER} failed (<${env.BUILD_URL}|Open>)",
color: 'danger', teamDomain: 'qameta', channel: 'allure', tokenCredentialId: 'allure-channel'
}
}
}

0 comments on commit 4bc3753

Please sign in to comment.