from os import system

# build
build = system("mvn clean package -U")

# deploy
if build == 0:
    system("java -jar user-web/target/user-web-v1-SNAPSHOT-war-exec.jar")
cdbfb82d14a4465cd606426d5bc676cd5ee5bdd9
<mask token>

<mask token>
if build == 0:
    system('java -jar user-web/target/user-web-v1-SNAPSHOT-war-exec.jar')

<mask token>
build = system('mvn clean package -U')
if build == 0:
    system('java -jar user-web/target/user-web-v1-SNAPSHOT-war-exec.jar')

from os import system
build = system('mvn clean package -U')
if build == 0:
    system('java -jar user-web/target/user-web-v1-SNAPSHOT-war-exec.jar')

from os import system

# build
build = system("mvn clean package -U")

# deploy
if build == 0:
    system("java -jar user-web/target/user-web-v1-SNAPSHOT-war-exec.jar")