Version 0.6.0 - Ajout des utilisateurs et des paramètres V1
All checks were successful
Neutral/pipeline/head This commit looks good

This commit is contained in:
2024-01-07 23:27:49 +01:00
parent ff42630c8d
commit 43d65d093b
20 changed files with 2632 additions and 1130 deletions

View File

@ -35,3 +35,14 @@ module.exports.updateFile = function (file) {
}
}
module.exports.getSettings = function () {
const file = this.getFile()
return {"jenkins_token": file.JENKINS_TOKEN, "omega_token": file.OMEGA_KEY}
}
module.exports.saveSettings = function (settings) {
const file = this.getFile()
file.JENKINS_TOKEN = settings.jenkins_token
file.OMEGA_KEY = settings.omega_token
this.updateFile(file)
}