Skip to content

Commit

Permalink
Create update.Jenkinsfile
Browse files Browse the repository at this point in the history
  • Loading branch information
pop9009 committed Sep 29, 2020
1 parent 00588c8 commit 0ff4cf0
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions update.Jenkinsfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
#!groovy
@Library('jenkinslibrary@master') _

def nexus = new org.devops.nexus()

pipeline{
agent{
node {label "master"}
}
stages{
stage("UpdateArtifact"){
script{
nexus.ArtifactUpdate(updateType,artifactUrl)
}
}
}
}

0 comments on commit 0ff4cf0

Please sign in to comment.