Repository URL to install this package:
|
Version:
0.5.2-rc.0 ▾
|
@doodle/tracking
/
Jenkinsfile
|
|---|
@Library("lib-jenkins-deployment@v3.0.1")
import com.doodle.tagflow.deployment.TagFlowDeployment
import com.doodle.tagflow.project.ProjectType
final TagFlowDeployment deployment
slackUtils.setChannelsToNotify(["#web-notifications"])
node("jenkins") {
ansiColor("xterm") {
stage("prepare") {
final String commitHash = checkout(scm).GIT_COMMIT
final String shortCommitHash = gitUtils.getShortCommitHash(commitHash)
deployment = tagFlow.executePrepareStep(shortCommitHash, ProjectType.NPM)
}
stage("test") {
tagFlow.executeTestStep(deployment)
}
stage("publish") {
tagFlow.executeDeploymentStep(deployment)
}
}
}