#1502 jenkins: make the job a bit more verbose
Merged 3 years ago by praiskup. Opened 3 years ago by praiskup.
Unknown source jenkins-job-verbose  into  master

file modified
+15 -2
@@ -26,7 +26,16 @@

  print()

  "

  

- echo "Checking whether we want to run against $REPO/$BRANCH"

+ visible_info()

+ {

+     echo

+     echo

+     echo "===> $*"

+     echo

+     echo

+ }

+ 

+ visible_info "Checking whether we want to run against $REPO/$BRANCH"

  

  # only copr-team for now

  members=$(curl https://pagure.io/api/0/group/copr \
@@ -42,7 +51,11 @@

              ;;

      esac

  done

- $copr_sig_member || exit 0  # silently skip non-copr people

+ 

+ if ! $copr_sig_member; then

+     visible_info "$REPO doesn't belong to anyone from Copr Team members"

+     exit 0

+ fi

  

  git remote rm proposed || true

  git remote add proposed "$REPO"

no initial comment

rebased onto 20cebd8

3 years ago

Pull-Request has been merged by praiskup

3 years ago