2#ifndef STASIS_ARTIFACTORY_H
3#define STASIS_ARTIFACTORY_H
55 char *archive_entries;
60 bool detailed_summary;
62 char *exclude_artifacts;
89 bool validate_symlinks;
106 char *exclude_artifacts;
107 char *exclude_patterns;
109 char *archive_entries;
146 char *jfrog_artifactory_base_url,
147 char *jfrog_artifactory_product,
152 char *remote_filename);
176int jfrog_cli(
struct JFRT_Auth *auth,
const char *subsystem,
const char *task,
char *args);
int jfrog_cli(struct JFRT_Auth *auth, const char *subsystem, const char *task, char *args)
Definition artifactory.c:215
void jfrt_upload_init(struct JFRT_Upload *ctx)
Definition artifactory.c:142
int jfrog_cli_rt_build_collect_env(struct JFRT_Auth *auth, char *build_name, char *build_number)
Definition artifactory.c:280
int jfrog_cli_rt_ping(struct JFRT_Auth *auth)
Definition artifactory.c:292
int jfrt_auth_init(struct JFRT_Auth *auth_ctx)
Definition artifactory.c:162
int jfrog_cli_rt_upload(struct JFRT_Auth *auth, struct JFRT_Upload *ctx, char *src, char *repo_path)
Definition artifactory.c:362
int jfrog_cli_rt_download(struct JFRT_Auth *auth, struct JFRT_Download *ctx, char *repo_path, char *dest)
Definition artifactory.c:296
int jfrog_cli_rt_search(struct JFRT_Auth *auth, struct JFRT_Search *ctx, char *repo_path, char *pattern)
Definition artifactory.c:460
int artifactory_download_cli(char *dest, char *jfrog_artifactory_base_url, char *jfrog_artifactory_product, char *cli_major_ver, char *version, char *os, char *arch, char *remote_filename)
Definition artifactory.c:3
int jfrog_cli_rt_build_publish(struct JFRT_Auth *auth, char *build_name, char *build_number)
Definition artifactory.c:286
JFrog Artifactory Authentication struct.
Definition artifactory.h:11
char * ssh_passphrase
Passphrase for SSH private key.
Definition artifactory.h:18
char * client_cert_key_path
Path to where SSL key is stored.
Definition artifactory.h:15
char * ssh_key_path
Path to SSH private key.
Definition artifactory.h:17
char * user
Account to authenticate as.
Definition artifactory.h:19
char * access_token
Generated access token.
Definition artifactory.h:13
char * client_cert_path
Path to where SSL cert is stored.
Definition artifactory.h:16
char * server_id
Artifactory server identification (unused)
Definition artifactory.h:20
bool insecure_tls
Disable TLS.
Definition artifactory.h:12
char * password
Password.
Definition artifactory.h:14
char * url
Artifactory server address.
Definition artifactory.h:21
Definition artifactory.h:54
Definition artifactory.h:92
JFrog Artifactory Upload struct.
Definition artifactory.h:25
char * project
Destination project name.
Definition artifactory.h:27
bool dry_run
Enable dry run (no-op)
Definition artifactory.h:34
bool deb
Is Debian package?
Definition artifactory.h:32
char * module
Build-info module name (optional)
Definition artifactory.h:40
int retry_wait_time
Seconds between retries.
Definition artifactory.h:44
char * build_number
Build number.
Definition artifactory.h:31
bool symlinks
Preserve symbolic links.
Definition artifactory.h:47
bool recursive
Upload files recursively.
Definition artifactory.h:41
char * build_name
Build name.
Definition artifactory.h:30
char * target_props
Properties (separated by semicolons)
Definition artifactory.h:49
bool detailed_summary
Enable upload summary.
Definition artifactory.h:33
int retries
Number of retries before giving up.
Definition artifactory.h:43
char * spec
Path to JSON upload spec.
Definition artifactory.h:45
bool fail_no_op
Exit 2 when no file are affected.
Definition artifactory.h:37
bool include_dirs
Enable to upload empty directories.
Definition artifactory.h:39
bool archive
Generate a ZIP archive of the uploaded file(s)
Definition artifactory.h:29
bool ant
Enable Ant style regex.
Definition artifactory.h:28
int threads
Thread count.
Definition artifactory.h:50
char * exclusions
Exclude patterns (separated by semicolons)
Definition artifactory.h:35
bool flat
Upload with exact file system structure.
Definition artifactory.h:38
bool regexp
Use regular expressions instead of wildcards.
Definition artifactory.h:42
bool workaround_parent_only
Change directory to local parent directory before uploading files.
Definition artifactory.h:51
bool explode
If uploaded file is an archive, extract it at the destination.
Definition artifactory.h:36
bool sync_deletes
Destination is replaced by uploaded files.
Definition artifactory.h:48
bool quiet
Enable quiet mode.
Definition artifactory.h:26