aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorJoseph Hunkeler <jhunkeler@gmail.com>2024-02-18 09:50:46 -0500
committerJoseph Hunkeler <jhunkeler@gmail.com>2024-02-18 09:50:46 -0500
commit3370725e9b029e27c394e7e75289b5776c67f104 (patch)
tree7a71af9fbb872fe2b20ad59f7085823d4c47e030 /include
parent48ae409f64f26f652318a73c37fcd0de7d6e74e7 (diff)
downloadstasis-3370725e9b029e27c394e7e75289b5776c67f104.tar.gz
Quote inputs to string argument
* Change type of build-number from int to string. RTFM'd.
Diffstat (limited to 'include')
-rw-r--r--include/artifactory.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/include/artifactory.h b/include/artifactory.h
index 5a6666e..0fcf073 100644
--- a/include/artifactory.h
+++ b/include/artifactory.h
@@ -24,7 +24,7 @@ struct JFRT_Upload {
bool ant;
bool archive;
char *build_name;
- long build_number;
+ char *build_number;
bool deb;
bool detailed_summary;
bool dry_run;
@@ -51,7 +51,7 @@ struct JFRT_Download {
char *archive_entries;
char *build;
char *build_name;
- int build_number;
+ char *build_number;
char *bundle;
bool detailed_summary;
bool dry_run;
@@ -97,8 +97,8 @@ int jfrog_cli(struct JFRT_Auth *auth, char *args);
int jfrog_cli_rt_ping(struct JFRT_Auth *auth);
int jfrog_cli_rt_upload(struct JFRT_Auth *auth, struct JFRT_Upload *ctx, char *src, char *repo_path);
int jfrog_cli_rt_download(struct JFRT_Auth *auth, struct JFRT_Download *ctx, char *repo_path, char *dest);
-int jfrog_cli_rt_build_collect_env(struct JFRT_Auth *auth, char *build_name, long build_number);
-int jfrog_cli_rt_build_publish(struct JFRT_Auth *auth, char *build_name, long build_number);
+int jfrog_cli_rt_build_collect_env(struct JFRT_Auth *auth, char *build_name, char *build_number);
+int jfrog_cli_rt_build_publish(struct JFRT_Auth *auth, char *build_name, char *build_number);
void jfrt_upload_set_defaults(struct JFRT_Upload *ctx);
#endif //OMC_ARTIFACTORY_H