mirror of
https://github.com/AtlasMediaGroup/Scissors-Website.git
synced 2024-12-26 03:47:40 +00:00
Oops, forgot I removed this
This commit is contained in:
parent
84677b8d81
commit
cad6999d90
@ -42,6 +42,7 @@ export function getBuilds(version: string): Promise<Build[]> {
|
|||||||
builds = value.data.builds as Build[]
|
builds = value.data.builds as Build[]
|
||||||
for (let build of builds) {
|
for (let build of builds) {
|
||||||
axios.get(`${JENKINS_URL}/${ARTIFACT_NAME}/job/${version}/${build.number}/api/json?pretty=true`).then(value1 => {
|
axios.get(`${JENKINS_URL}/${ARTIFACT_NAME}/job/${version}/${build.number}/api/json?pretty=true`).then(value1 => {
|
||||||
|
build.timestamp = value1.data.timestamp
|
||||||
let changeSet: any[] = value1.data.changeSets
|
let changeSet: any[] = value1.data.changeSets
|
||||||
if (changeSet.length > 0) {
|
if (changeSet.length > 0) {
|
||||||
let changes = changeSet[0].items as BuildChange[]
|
let changes = changeSet[0].items as BuildChange[]
|
||||||
|
Loading…
Reference in New Issue
Block a user