forked from karolpiateknet/mobsf_bitrise
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathbitrise.yml
39 lines (33 loc) · 827 Bytes
/
bitrise.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
#
# bitrise.yml
#
# CLI metadata
format_version: 1.1.0
default_step_lib_source: https://github.com/bitrise-io/bitrise-steplib.git
# Workflow trigger map
workflows:
mobSF-check-diff:
steps:
- script:
inputs:
- content: |
#!/bin/bash
sh prepare_mobsf.sh ProjectName $BITRISE_GIT_BRANCH $BITRISEIO_GIT_BRANCH_DEST
after_run:
- upload-mobSF
mobSF-check-project:
steps:
- script:
inputs:
- content: |
#!/bin/bash
sh prepare_mobsf.sh ProjectName
after_run:
- upload-mobSF
upload-mobSF:
steps:
- script:
inputs:
- content: |
#!/bin/bash
curl -F "file=mobsf_files.zip" mobsf.yourhost.com/api/v1/upload -H "Authorization:$MOBSF_API_TOKEN"