Fix Jenkinsfile: Update existing-versions argument and enhance B2 sync command
Signed-off-by: Stephen Simpson <ssimpson89@users.noreply.github.com>
This commit is contained in:
2
Jenkinsfile
vendored
2
Jenkinsfile
vendored
@@ -127,7 +127,7 @@ docker run --rm \
|
|||||||
-e B2_APPLICATION_KEY \
|
-e B2_APPLICATION_KEY \
|
||||||
-e B2_APPLICATION_KEY_ID \
|
-e B2_APPLICATION_KEY_ID \
|
||||||
backblazeit/b2:latest \
|
backblazeit/b2:latest \
|
||||||
b2v4 sync /workspace/html/ "b2://${B2_BUCKET_NAME}/"
|
b2v4 sync --compare-versions size /workspace/html/ "b2://${B2_BUCKET_NAME}/"
|
||||||
'''
|
'''
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user