-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathcicd-dev.groovy
29 lines (25 loc) · 1.15 KB
/
cicd-dev.groovy
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
node('linux')
{
stage ('Poll') {
// Poll from upstream:
checkout([
$class: 'GitSCM',: 'GitSCM',
branches: [[name: '*/4.4.1']],
doGenerateSubmoduleConfigurations: false,
extensions: [],
userRemoteConfigs: [[url: 'https://git.savannah.gnu.org/git/make.git']]])
// Poll for local changes
checkout([
$class: 'GitSCM',
branches: [[name: '*/main']],
doGenerateSubmoduleConfigurations: false,
extensions: [],
userRemoteConfigs: [[url: 'https://github.com/zopencommunity/makeport.git']]])
}
stage('Build') {
build job: 'Port-Pipeline', parameters: [
string(name: 'PORT_GITHUB_REPO', value: 'https://github.com/zopencommunity/makeport.git'),
string(name: 'PORT_DESCRIPTION', value: 'GNU Make is a tool which controls the generation of executables and other non-source files of a program from program source files.'),
string(name: 'BUILD_LINE', value: 'DEV')]
}
}