Skip to content

Commit 99c235e

Browse files
Reload props on restart stage
1 parent b1b42e0 commit 99c235e

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

Jenkinsfile

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,15 @@ def prResponse="";
77
def prNumber;
88
def props;
99
def githubAPIUrl="https://api.github.com/repos/marklogic/marklogic-data-hub"
10+
11+
def loadProperties() {
12+
node {
13+
checkout scm
14+
properties = new Properties()
15+
props.load(propertiesFile.newDataInputStream())
16+
echo "Immediate one ${properties.repo}"
17+
}
18+
}
1019
pipeline{
1120
agent none;
1221
options {

0 commit comments

Comments
 (0)