6a038b4871
Signed-off-by: Davlet Panech <davlet.panech@windriver.com> Change-Id: Ic9c5756d3a4d0aaf103133f831c33a5d44d5efe7
61 lines
1.1 KiB
Plaintext
61 lines
1.1 KiB
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'
|
|
)
|
|
booleanParam (
|
|
name: 'SHELL_XTRACE'
|
|
)
|
|
booleanParam (
|
|
name: 'BUILD_RT'
|
|
)
|
|
}
|
|
|
|
stages {
|
|
stage ("publish-iso") {
|
|
steps {
|
|
sh ("bash ${Constants.SCRIPTS_DIR}/publish-iso.sh")
|
|
}
|
|
}
|
|
}
|
|
post {
|
|
cleanup {
|
|
cleanupPartJob()
|
|
}
|
|
}
|
|
}
|