Commit 52a2ec24 authored by Charles Deltel's avatar Charles Deltel
Browse files

[ci] for compatibility with Jenkins tasks

parent 4d506159
...@@ -17,6 +17,7 @@ GH_OWNER="GATB" ...@@ -17,6 +17,7 @@ GH_OWNER="GATB"
GH_REPO="gatb-core" GH_REPO="gatb-core"
GH_LOGIN="" GH_LOGIN=""
GH_TOKEN="" GH_TOKEN=""
IF_LOGIN="$USER_NAME" # $USER_NAME is known inside Jenkins tasks, empty otherwise
MAJOR_V="" MAJOR_V=""
MINOR_V="" MINOR_V=""
PATCH_V="" PATCH_V=""
...@@ -165,6 +166,6 @@ cd build ...@@ -165,6 +166,6 @@ cd build
cmake -DGH_LOGIN=$GH_LOGIN -DGH_TOKEN=$GH_TOKEN -DGH_OWNER=$GH_OWNER \ cmake -DGH_LOGIN=$GH_LOGIN -DGH_TOKEN=$GH_TOKEN -DGH_OWNER=$GH_OWNER \
-DGH_REPO=$GH_REPO -DMAJOR=$MAJOR_V -DMINOR=$MINOR_V -DPATCH=$PATCH_V \ -DGH_REPO=$GH_REPO -DMAJOR=$MAJOR_V -DMINOR=$MINOR_V -DPATCH=$PATCH_V \
-DSILENT_MODE=$SILENT .. -DSILENT_MODE=$SILENT -DCPACK_USER_NAME=$IF_LOGIN ..
make -j8 $COMMAND make -j8 $COMMAND
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment