jenkins-pipelines/pipelines/parts/publish-helm-charts.Jenkinsfile
Davlet Panech be58140638 Add license and copyright
Story: 2010226
Task: 46011

Change-Id: I721f1509637b910c05e4151eeb7ad7e1cb8db119
Signed-off-by: Davlet Panech <davlet.panech@windriver.com>
2022-08-15 14:16:07 -04:00

54 lines
994 B
Plaintext

// vim: syn=groovy
//
// Copyright (c) 2022 Wind River Systems, Inc.
//
// SPDX-License-Identifier: Apache-2.0
//
library "common@${params.JENKINS_SCRIPTS_BRANCH}"
setBuildDescr()
pipeline {
agent any
options {
timestamps()
}
parameters {
string (
name: 'MASTER_JOB_NAME'
)
string (
name: 'MASTER_BUILD_NUMBER'
)
string (
name: 'JENKINS_SCRIPTS_BRANCH'
)
string (
name: 'BUILD_HOME'
)
string (
name: 'TIMESTAMP'
)
string (
name: 'PUBLISH_TIMESTAMP'
)
booleanParam (
name: 'DRY_RUN'
)
}
stages {
stage ("publish-helm-charts") {
steps {
sh ("${Constants.SCRIPTS_DIR}/publish-helm-charts.sh")
}
}
}
post {
cleanup {
cleanupPartJob (logLabel: params.BUILD_STREAM)
}
}
}