You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When building sormas without the maven profile "with-app" the script sormas-base/dev/collect-artifacts.sh is called during the build process. This script tries to copy sormas-app build artifacts that don't exist:
even when the maven profile "with-app" is not activated. This makes the build fail.
Reproduction Steps
initiate build of sormas-base/pom.xml with goal "install"
Build will fail with error:
Collecting SORMAS artifacts cp: cannot stat ‘../../sormas-app/app/build/outputs/apk/*’: No such file or directory Build step 'Execute shell' marked build as failure
Expected Behavior
Build is successfull without building the Android app.
Affected Area(s)
Android app
SORMAS Version
1.96.0-SNAPSHOT
Android version/Browser
Jenkins
User Role(s)
No user involved
Server URL
No response
Additional Information
As a workaround we tried to put some dummy content to sormas-app/app/build/outputs/apk/
The text was updated successfully, but these errors were encountered:
fhauptmann
added
the
finding
Something to be investigated if it is a bug, a change or another issue type
label
Apr 2, 2024
Problem Description
When building sormas without the maven profile "with-app" the script sormas-base/dev/collect-artifacts.sh is called during the build process. This script tries to copy sormas-app build artifacts that don't exist:
mkdir -p $COLLECT_ROOT_PATH/android cp -R ../../sormas-app/app/build/outputs/apk/* $COLLECT_ROOT_PATH/android
even when the maven profile "with-app" is not activated. This makes the build fail.
Reproduction Steps
Build will fail with error:
Collecting SORMAS artifacts cp: cannot stat ‘../../sormas-app/app/build/outputs/apk/*’: No such file or directory Build step 'Execute shell' marked build as failure
Expected Behavior
Build is successfull without building the Android app.
Affected Area(s)
Android app
SORMAS Version
1.96.0-SNAPSHOT
Android version/Browser
Jenkins
User Role(s)
No user involved
Server URL
No response
Additional Information
As a workaround we tried to put some dummy content to sormas-app/app/build/outputs/apk/
The text was updated successfully, but these errors were encountered: