jenkins-pipelines/pipelines/parts/build-remote-cli.Jenkinsfile
Davlet Panech 1c1371cc5a Add step for building stx-remote-cli tarball
This step was missed when we created these scripts for Debian.

Story: 2010226
Task: 48670

Change-Id: I73f90b5a018fc32b39ab6d265acfbbb7fc275415
Signed-off-by: Davlet Panech <davlet.panech@windriver.com>
2023-08-24 16:51:09 -04:00

56 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'
)
booleanParam (
name: 'DRY_RUN'
)
booleanParam (
name: 'SHELL_XTRACE'
)
}
stages {
stage ("build-export-dir") {
steps {
sh ("${Constants.SCRIPTS_DIR}/build-remote-cli.sh")
sh ("${Constants.SCRIPTS_DIR}/archive-remote-cli.sh")
sh ("${Constants.SCRIPTS_DIR}/publish-remote-cli.sh")
}
}
}
post {
cleanup {
cleanupPartJob()
}
}
}