Skip to content

Commit b872526

Browse files
committed
Jenkinsfile: fix typo, set property endpoint in build.json explicitly
1 parent 4083e1d commit b872526

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

Jenkinsfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ pipeline {
4545
VERBOSE = true
4646
ENDPOINT = ""
4747
DOCUMENTATION = "docs"
48-
DESTINTATION = "dist"
48+
DESTINATION = "dist"
4949
}
5050
steps {
5151
sh '''
@@ -69,7 +69,7 @@ pipeline {
6969
VERBOSE = true
7070
ENDPOINT = "docs"
7171
DOCUMENTATION = "docs-deploy"
72-
DESTINTATION = "dist-deploy"
72+
DESTINATION = "dist-deploy"
7373
}
7474
steps {
7575
sh '''
@@ -93,7 +93,7 @@ pipeline {
9393
VERBOSE = true
9494
ENDPOINT = "asterics-docs"
9595
DOCUMENTATION = "docs-deploy-io"
96-
DESTINTATION = "dist-deploy-io"
96+
DESTINATION = "dist-deploy-io"
9797
}
9898
steps {
9999
sh '''

src/scripts/logBuild.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ const commitId = execSync("git rev-parse HEAD", { encoding: "utf8" }).replace("\
1212
const commitUrl = "https://github.com/asterics/asterics-docs/commit/" + commitId;
1313
const date = Date();
1414

15-
const buildInfo = JSON.stringify({ date, endpoint, branch, commitId, commitUrl }, null, 4);
15+
const buildInfo = JSON.stringify({ date, endpoint: endpoint, branch, commitId, commitUrl }, null, 4);
1616
console.log("Creating build information:");
1717
console.log(buildInfo);
1818
writeFileSync(join(process.cwd(), config.get("destination"), "build.json"), buildInfo, "utf8");

0 commit comments

Comments
 (0)