Ideally we would want to trigger Jenkins build based on the path where
change occurred. Unfortunately this is not supported by Jenkins. As a
workaround we are conditionally executing steps if the change occured in
the apps/connector/ path. Prior to this we need to fetch the changelog
diff between current branch and target branch to understand if there was
a change present in the target dir and if we need to run all stages.
The population of changelog is needed just the first time the PR is
opened and in the subsequent steps we don't need this.
Referenced issue: https://github.com/status-im/status-web/issues/590
Signed-off-by: markoburcul <marko@status.im>
* jenkinsfile: fix paths for all steps
Use newest jenkins lib tag which adds the entryPoint as an argument to the nix shell function.
Referenced issue: https://github.com/status-im/status-web/issues/590
Signed-off-by: markoburcul <marko@status.im>