Skip to content

Commit 560346c

Browse files
committed
libre
1 parent fa848f4 commit 560346c

1 file changed

Lines changed: 35 additions & 37 deletions

File tree

‎Jenkinsfile‎

Lines changed: 35 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -26,40 +26,38 @@ uname -a
2626
}
2727
}
2828
}
29-
/*
30-
stage('Checkout repositories'){
31-
steps {
32-
script {
33-
if (env.CHANGE_ID) {
34-
sh "echo \"${pullRequest.title}\" > pull-request-title"
35-
sh "echo \"${pullRequest.body}\" > pull-request-body"
36-
}
37-
}
38-
sh "curl -O https://raw.githubusercontent.com/cfengine/buildscripts/refs/heads/master/ci/create-revisions-file.sh"
39-
sh "chmod u+x ./create-revisions-file.sh"
40-
sh "./create-revisions-file.sh"
41-
sh "cat revisions"
42-
sh "curl -O https://gitlab.com/Northern.tech/OpenSource/GODS/-/raw/master/parallel_git_rev_fetch.sh"
43-
sh "chmod u+x ./parallel_git_rev_fetch.sh"
44-
45-
withCredentials([sshUserPrivateKey(credentialsId:"jenkins-github", keyFileVariable: "key")]) {
46-
sh 'export GIT_SSH_COMMAND="ssh -i $key"; ./parallel_git_rev_fetch.sh revisions'
47-
}
48-
}
49-
}
50-
stage('Build') {
51-
steps {
52-
sh '
53-
PROJECT=community
54-
export PROJECT
55-
BUILD_TYPE=debug
56-
export BUILD_TYPE
57-
EXPLICIT_ROLE=agent
58-
export EXPLICIT_ROLE
59-
bash buildscripts/build-scripts/autogen
60-
bash buildscripts/build-scripts/install-dependencies
61-
bash buildscripts/build-scripts/configure
62-
bash buildscripts/build-scripts/compile
63-
bash buildscripts/build-scripts/package
64-
'
65-
*/
29+
// stage('Checkout repositories'){
30+
// steps {
31+
// script {
32+
// if (env.CHANGE_ID) {
33+
// sh "echo \"${pullRequest.title}\" > pull-request-title"
34+
// sh "echo \"${pullRequest.body}\" > pull-request-body"
35+
// }
36+
// }
37+
// sh "curl -O https://raw.githubusercontent.com/cfengine/buildscripts/refs/heads/master/ci/create-revisions-file.sh"
38+
// sh "chmod u+x ./create-revisions-file.sh"
39+
// sh "./create-revisions-file.sh"
40+
// sh "cat revisions"
41+
// sh "curl -O https://gitlab.com/Northern.tech/OpenSource/GODS/-/raw/master/parallel_git_rev_fetch.sh"
42+
// sh "chmod u+x ./parallel_git_rev_fetch.sh"
43+
//
44+
// withCredentials([sshUserPrivateKey(credentialsId:"jenkins-github", keyFileVariable: "key")]) {
45+
// sh 'export GIT_SSH_COMMAND="ssh -i $key"; ./parallel_git_rev_fetch.sh revisions'
46+
// }
47+
// }
48+
// }
49+
// stage('Build') {
50+
// steps {
51+
// sh '
52+
//PROJECT=community
53+
//export PROJECT
54+
//BUILD_TYPE=debug
55+
//export BUILD_TYPE
56+
//EXPLICIT_ROLE=agent
57+
//export EXPLICIT_ROLE
58+
//bash buildscripts/build-scripts/autogen
59+
//bash buildscripts/build-scripts/install-dependencies
60+
//bash buildscripts/build-scripts/configure
61+
//bash buildscripts/build-scripts/compile
62+
//bash buildscripts/build-scripts/package
63+
//'

0 commit comments

Comments
 (0)