diff options
| author | Joseph Hunkeler <jhunkeler@gmail.com> | 2024-02-13 00:01:20 -0500 | 
|---|---|---|
| committer | Joseph Hunkeler <jhunkeler@gmail.com> | 2024-02-13 00:01:20 -0500 | 
| commit | 37fbce594552a7212dafca3b567923d97922e591 (patch) | |
| tree | aab63a20c6f1fca38311ccfa8dfa5276c361c1d6 /src | |
| parent | b05c47b924a356e2f5cdd33c1fc125a8a6662121 (diff) | |
| download | stasis-37fbce594552a7212dafca3b567923d97922e591.tar.gz | |
Allow settings the default artifactory repository in main configuration file
Diffstat (limited to 'src')
| -rw-r--r-- | src/deliverable.c | 5 | 
1 files changed, 5 insertions, 0 deletions
| diff --git a/src/deliverable.c b/src/deliverable.c index 649be14..40acf4e 100644 --- a/src/deliverable.c +++ b/src/deliverable.c @@ -317,6 +317,8 @@ int delivery_init(struct Delivery *ctx, struct INIFILE *ini, struct INIFILE *cfg          conv_str_stackvar(globals, jfrog.version)          getter(cfg, "jfrog_cli_download", "filename", INIVAL_TYPE_STR)          conv_str_stackvar(globals, jfrog.remote_filename) +        getter(cfg, "deploy:artifactory", "repo", INIVAL_TYPE_STR) +        conv_str_stackvar(globals, jfrog.repo)      }      // Configure architecture and platform information @@ -1460,6 +1462,9 @@ int delivery_artifact_upload(struct Delivery *ctx) {      return status;  } +int delivery_mission_render_files(struct Delivery *ctx) { +    if (!ctx->storage.mission_dir) { +        fprintf(stderr, "Mission directory is not configured. Context not initialized?\n");          return -1;      } | 
