File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -175,19 +175,19 @@ execute this snippet before running your `gradle` command
175
175
```shell
176
176
before_script:
177
177
- if [ -n "$CI_COMMIT_TAG" ]; then
178
- export GIT_VERSIONING_TAG =$CI_COMMIT_TAG;
178
+ export VERSIONING_GIT_TAG =$CI_COMMIT_TAG;
179
179
else
180
- export GIT_VERSIONING_BRANCH =$CI_COMMIT_REF_NAME;
180
+ export VERSIONING_GIT_BRANCH =$CI_COMMIT_REF_NAME;
181
181
fi
182
182
```
183
183
184
184
#### Jenkins Setup
185
185
execute this snippet before running your ` gradle ` command
186
186
``` shell
187
187
if [[ " $GIT_BRANCH " = origin/tags/* ]]; then e
188
- export GIT_VERSIONING_TAG =${GIT_BRANCH# origin/ tags/ } ;
188
+ export VERSIONING_GIT_TAG =${GIT_BRANCH# origin/ tags/ } ;
189
189
else
190
- export GIT_VERSIONING_BRANCH =${GIT_BRANCH# origin/ } ;
190
+ export VERSIONING_GIT_BRANCH =${GIT_BRANCH# origin/ } ;
191
191
fi
192
192
```
193
193
You can’t perform that action at this time.
0 commit comments