Merge pull request #16 from kemitix/remove-git-stage
jenkins: remove git stage
This commit is contained in:
commit
bf87d90673
1 changed files with 0 additions and 7 deletions
|
@ -1,15 +1,8 @@
|
||||||
final String repoName = "conditional"
|
|
||||||
final String repoUrl = "git@github.com:kemitix/${repoName}.git"
|
|
||||||
final String mvn = "mvn --batch-mode --update-snapshots"
|
final String mvn = "mvn --batch-mode --update-snapshots"
|
||||||
|
|
||||||
pipeline {
|
pipeline {
|
||||||
agent any
|
agent any
|
||||||
stages {
|
stages {
|
||||||
stage('Prepare') {
|
|
||||||
steps {
|
|
||||||
git url: repoUrl, branch: '**', credentialsId: 'github-kemitix'
|
|
||||||
}
|
|
||||||
}
|
|
||||||
stage('no SNAPSHOT in master') {
|
stage('no SNAPSHOT in master') {
|
||||||
// checks that the pom version is not a snapshot when the current branch is master
|
// checks that the pom version is not a snapshot when the current branch is master
|
||||||
// TODO: also check for SNAPSHOT when is a pull request with master as the target branch
|
// TODO: also check for SNAPSHOT when is a pull request with master as the target branch
|
||||||
|
|
Loading…
Reference in a new issue